BAM errors

Thanks for the help, it was the END that was getting me. Picky little
progs...

Thanks again,
Chris



- In vantage@yahoogroups.com, pjw@s... wrote:
> Try
>
> IF Subtring(ShipHead.ShipToNum,1,3) = '15A' THEN DO:
>
>
> Patrick Winter
>
> -----Original Message-----
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On
Behalf Of
> cmulford_66
> Sent: Thursday, October 06, 2005 10:33 AM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: BAM errors
>
> Yep, it's in the filed list. No pop-up.
>
> Chris Mulford
>
>
>
> --- In vantage@yahoogroups.com, pjw@s... wrote:
> > Just to make sure, you have ShipHead.ShipToNum in the field list
> for the
> > table.
> >
> >
> > Patrick Winter
> >
> > -----Original Message-----
> > From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On
> Behalf Of
> > cmulford_66
> > Sent: Wednesday, October 05, 2005 11:56 AM
> > To: vantage@yahoogroups.com
> > Subject: [Vantage] Re: BAM errors
> >
> > That would explain the error I get then. Any idea why a simple
> little "on
> > toggle = true" would work but a where = number wouldn't? I get
the
> email
> > notification but the Alert box will not show.
> >
> > {ud/GlbAlert.i &TableName = "ShipHead"}
> >
> > IF ShipHead.ShipToNum = '15A' THEN DO:
> > MESSAGE "WARNING! Customer only accepts exact order quantity"
VIEW-
> AS
> > ALERT-BOX TITLE "Alert Message".
> > END.
> >
> > Chris Mulford
> > AF Leis Co
> >
>
>
>
>
>
> ------------------------ Yahoo! Groups Sponsor --------------------
~--> Get
> Bzzzy! (real tools to help you find a job). Welcome to the Sweet
Life.
> http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/PhFolB/TM
> --------------------------------------------------------------------
~->
>
> 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/.
> (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/links
> Yahoo! Groups Links
Has anyone run across a BAM error ""Mismatched number of parameters
passed to procedure C:\wrkdir\program.ped.(3234)"? I get this error
when trying to run any .p (even the ud\Test programs) from editprog
that uses the GlbAlert.i.

Thanks
Chris Mulford
IT Manager
AF Leis Co
937-387-0525
Chris,
I have never had success running BAMs from the progress editor. The BAM
receives parameters when run from Vantage including table and record
information. These will not be provided with the progress editor.
I would suggest testing within an actual BAM.
Good luck,
Aaron Hoyt
Vantage Plastics

-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]On Behalf
Of cmulford_66
Sent: Wednesday, October 05, 2005 8:58 AM
To: vantage@yahoogroups.com
Subject: [Vantage] BAM errors


Has anyone run across a BAM error ""Mismatched number of parameters
passed to procedure C:\wrkdir\program.ped.(3234)"? I get this error
when trying to run any .p (even the ud\Test programs) from editprog
that uses the GlbAlert.i.

Thanks
Chris Mulford
IT Manager
AF Leis Co
937-387-0525





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/.
(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/links
Yahoo! Groups Links
That would explain the error I get then. Any idea why a simple
little "on toggle = true" would work but a where = number wouldn't? I
get the email notification but the Alert box will not show.

{ud/GlbAlert.i &TableName = "ShipHead"}

IF ShipHead.ShipToNum = '15A' THEN DO:
MESSAGE "WARNING! Customer only accepts exact order quantity" VIEW-AS
ALERT-BOX TITLE "Alert Message".
END.

Chris Mulford
AF Leis Co
Just to make sure, you have ShipHead.ShipToNum in the field list for the
table.


Patrick Winter

-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
cmulford_66
Sent: Wednesday, October 05, 2005 11:56 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: BAM errors

That would explain the error I get then. Any idea why a simple little "on
toggle = true" would work but a where = number wouldn't? I get the email
notification but the Alert box will not show.

{ud/GlbAlert.i &TableName = "ShipHead"}

IF ShipHead.ShipToNum = '15A' THEN DO:
MESSAGE "WARNING! Customer only accepts exact order quantity" VIEW-AS
ALERT-BOX TITLE "Alert Message".
END.

Chris Mulford
AF Leis Co




------------------------ Yahoo! Groups Sponsor --------------------~--> Most
low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/PhFolB/TM
--------------------------------------------------------------------~->

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/.
(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/links
Yahoo! Groups Links
Yep, it's in the filed list. No pop-up.

Chris Mulford



--- In vantage@yahoogroups.com, pjw@s... wrote:
> Just to make sure, you have ShipHead.ShipToNum in the field list
for the
> table.
>
>
> Patrick Winter
>
> -----Original Message-----
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On
Behalf Of
> cmulford_66
> Sent: Wednesday, October 05, 2005 11:56 AM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: BAM errors
>
> That would explain the error I get then. Any idea why a simple
little "on
> toggle = true" would work but a where = number wouldn't? I get the
email
> notification but the Alert box will not show.
>
> {ud/GlbAlert.i &TableName = "ShipHead"}
>
> IF ShipHead.ShipToNum = '15A' THEN DO:
> MESSAGE "WARNING! Customer only accepts exact order quantity" VIEW-
AS
> ALERT-BOX TITLE "Alert Message".
> END.
>
> Chris Mulford
> AF Leis Co
>
Try

IF Subtring(ShipHead.ShipToNum,1,3) = '15A' THEN DO:


Patrick Winter

-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
cmulford_66
Sent: Thursday, October 06, 2005 10:33 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: BAM errors

Yep, it's in the filed list. No pop-up.

Chris Mulford



--- In vantage@yahoogroups.com, pjw@s... wrote:
> Just to make sure, you have ShipHead.ShipToNum in the field list
for the
> table.
>
>
> Patrick Winter
>
> -----Original Message-----
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On
Behalf Of
> cmulford_66
> Sent: Wednesday, October 05, 2005 11:56 AM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: BAM errors
>
> That would explain the error I get then. Any idea why a simple
little "on
> toggle = true" would work but a where = number wouldn't? I get the
email
> notification but the Alert box will not show.
>
> {ud/GlbAlert.i &TableName = "ShipHead"}
>
> IF ShipHead.ShipToNum = '15A' THEN DO:
> MESSAGE "WARNING! Customer only accepts exact order quantity" VIEW-
AS
> ALERT-BOX TITLE "Alert Message".
> END.
>
> Chris Mulford
> AF Leis Co
>





------------------------ Yahoo! Groups Sponsor --------------------~--> Get
Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/PhFolB/TM
--------------------------------------------------------------------~->

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/.
(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/links
Yahoo! Groups Links