When I tried your original example and it didn’t work, I jumped to the 4GL Reference guide.
I am currently trying the follow with no success:
Message "Warning: Side-Arm Force Less Than Min. Reqd Force " VIEW-AS ALERT-BOX ERROR BUTTONS OK.
I do not have any conditional statement.
This is the only line of code in the OnLeave on one of my inputs.
Once I load the configurator (in test mode), I change the value in the input and tab out of it.
I do see that it “thinks†for a second but no Message Box pops up. :(
From:
vantage@yahoogroups.com [mailto:
vantage@yahoogroups.com] On Behalf Of Bill Jackson
Sent: Wednesday, April 28, 2010 1:32 PM
To:
vantage@yahoogroups.com
Subject: RE: [Vantage] E9 Product Configurator: Raising an alert or message box
Is it within a 'conditional' statement, like an 'if', etc ?
Thta's how I use it, : if 'so-and-so' is true then do:
Message ....
end if.
I am on Vantage 6.10.541, so there may be a different 'message' function to be used on newer versions, thoung I doubt it.
I know, in 4GL code, you have to use this syntax:
MESSAGE "warning!..." VIEW-AS ALERT-BOX.
--- On Wed, 4/28/10, Joe Rojas <jrojas@... <mailto:jrojas%40matsinc.com> > wrote:
From: Joe Rojas <jrojas@... <mailto:jrojas%40matsinc.com> >
Subject: RE: [Vantage] E9 Product Configurator: Raising an alert or message box
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Date: Wednesday, April 28, 2010, 11:39 AM
Thanks Bill.
I tried that and it didn’t work.
The syntax check was good but when the OnLeave fires, nothing happens.
From: vantage@yahoogroups .com [mailto:vantage@yahoogroups .com] On Behalf Of Bill Jackson
Sent: Wednesday, April 28, 2010 10:02 AM
To: vantage@yahoogroups .com
Subject: Re: [Vantage] E9 Product Configurator: Raising an alert or message box
in an 'on-leave' script:
Message "Warning: Side-Arm Force Less Than Min. Reqd Force ". (or similar)
--- On Wed, 4/28/10, Joe Rojas <jrojas@matsinc. com <mailto:jrojas% 40matsinc. com> > wrote:
From: Joe Rojas <jrojas@matsinc. com <mailto:jrojas% 40matsinc. com> >
Subject: [Vantage] E9 Product Configurator: Raising an alert or message box
To: vantage@yahoogroups .com <mailto:vantage% 40yahoogroups. com>
Date: Wednesday, April 28, 2010, 9:46 AM
Is there a way to create a custom alert windows or message box in the
configurator?
We have two calculations for SQFT and we want to ensure that one is not
greater than the other.
If it is, we want to alert the user so that she/he can fix it.
Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-1264 | fax: 781-341-5694
jrojas@matsinc. com | www.matsinc. com Ask us about our clean, green and beautiful matting and flooring
This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-1264 | fax: 781-341-5694
jrojas@matsinc. com | www.matsinc. com Ask us about our clean, green and beautiful matting and flooring
This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]