From what ive tried...not too well..seems very limited, but then again I
haven't ran through them all.
Rob Bucek
Manufacturing Engineer
PH: (715) 284-5376 ext 3111
FAX: (715)284-4084
<http://www.dsmfg.com/>
(Click the logo to view our site) <http://www.dsmfg.com/>
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Brian W. Spolarich
Sent: Thursday, July 16, 2009 8:36 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] HELP! BAQ Calculated field sytax error
Can someone educate me as to how the syntax of the BAQ calculated field
statements relates to the ABL/4GL syntax defined in the Reference Guide
and handbook on the Progress web site?
-bws
--
Brian W. Spolarich ~ Manager, Information Services ~ Advanced Photonix /
Picometrix
bspolarich@...
<mailto:bspolarich%40advancedphotonix.com> ~ 734-864-5618 ~
www.advancedphotonix.com
-----Original Message-----
From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf Of Gary Parfrey
Sent: Thursday, July 16, 2009 9:31 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] HELP! BAQ Calculated field sytax error
You do not need the end statements. Remove them and just use the nested
if then else statements
Gary
From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf
Of Dan Godfrey
Sent: 15 July 2009 18:17
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] HELP! BAQ Calculated field sytax error
I thought about that and it does not make a difference here. I have
even tried parenthesis around the conditions, like the following to no
avail.
If (PartRev.TLRMaterialCost > 0.0) Then
(PartMtl.QtyPer * PartRev.TLRMaterialCost)
Else
If (PartPlant.CostMethod = 'S') Then
(PartMtl.QtyPer * PartCost.StdMaterialCost)
Else
(PartMtl.QtyPer * PartCost.AvgMaterialCost)
End.
End.
________________________________
From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com> ] On
Behalf
Of Mark Wonsil
Sent: Wednesday, July 15, 2009 10:10 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] HELP! BAQ Calculated field sytax error
Dan wrote:
If not, copy and paste the formula into Notepad. Start with a simple
statement and then add items until you get an error.
Mark W.
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
------------------------------------
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder
and Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
<http://groups.yahoo.com/group/vantage/files/>
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
[Non-text portions of this message have been removed]
haven't ran through them all.
Rob Bucek
Manufacturing Engineer
PH: (715) 284-5376 ext 3111
FAX: (715)284-4084
<http://www.dsmfg.com/>
(Click the logo to view our site) <http://www.dsmfg.com/>
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Brian W. Spolarich
Sent: Thursday, July 16, 2009 8:36 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] HELP! BAQ Calculated field sytax error
Can someone educate me as to how the syntax of the BAQ calculated field
statements relates to the ABL/4GL syntax defined in the Reference Guide
and handbook on the Progress web site?
-bws
--
Brian W. Spolarich ~ Manager, Information Services ~ Advanced Photonix /
Picometrix
bspolarich@...
<mailto:bspolarich%40advancedphotonix.com> ~ 734-864-5618 ~
www.advancedphotonix.com
-----Original Message-----
From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf Of Gary Parfrey
Sent: Thursday, July 16, 2009 9:31 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] HELP! BAQ Calculated field sytax error
You do not need the end statements. Remove them and just use the nested
if then else statements
Gary
From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf
Of Dan Godfrey
Sent: 15 July 2009 18:17
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] HELP! BAQ Calculated field sytax error
I thought about that and it does not make a difference here. I have
even tried parenthesis around the conditions, like the following to no
avail.
If (PartRev.TLRMaterialCost > 0.0) Then
(PartMtl.QtyPer * PartRev.TLRMaterialCost)
Else
If (PartPlant.CostMethod = 'S') Then
(PartMtl.QtyPer * PartCost.StdMaterialCost)
Else
(PartMtl.QtyPer * PartCost.AvgMaterialCost)
End.
End.
________________________________
From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com> ] On
Behalf
Of Mark Wonsil
Sent: Wednesday, July 15, 2009 10:10 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] HELP! BAQ Calculated field sytax error
Dan wrote:
> this is my code in a calculated field of a BAQ. I get aTry adding a period to your second to last End.
> syntax error. I can not see the error.
>
> If PartRev.TLRMaterialCost > 0.0 Then
> (PartMtl.QtyPer * PartRev.TLRMaterialCost)
> Else
> If PartPlant.CostMethod = 'S' Then
> (PartMtl.QtyPer * PartCost.StdMaterialCost)
> Else
> (PartMtl.QtyPer * PartCost.AvgMaterialCost)
> End
> End.
If not, copy and paste the formula into Notepad. Start with a simple
statement and then add items until you get an error.
Mark W.
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
------------------------------------
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder
and Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
<http://groups.yahoo.com/group/vantage/files/>
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
[Non-text portions of this message have been removed]