Home » Developer & Programmer » Forms » Caution's Message With Variable Values (9i, 9.0.1.1, Dev-6i, XP)
Caution's Message With Variable Values [message #661521] Wed, 22 March 2017 08:56 Go to next message
billgates
Messages: 17
Registered: March 2017
Junior Member
Hey Fellas,

In a 6i form I have a post-change trigger on a field which has an alert "CAUTION_1". I have two variables "V_GRNDATE" "V_ITEMCODE" , whose values, I want to include in that alert message. In a normal message its easy and syntax would be like

message('Last GRN date was '||V_GRNDATE||' with item code '||V_ITEMCODE);

How to add this personalized message with variables in an alert and what would be the syntax?
Re: Caution's Message With Variable Values [message #661525 is a reply to message #661521] Wed, 22 March 2017 09:34 Go to previous messageGo to next message
cookiemonster
Messages: 13777
Registered: September 2008
Location: Rainy Manchester
Senior Member
You really need to learn how useful and comprehensive form builder help is.
Open up the property palette for the alert.
Click on the property that you need to set.
Press F1
Read the help topic - it'll tell you if the property can be modified at all and what code you need to use to do it, with examples.
Re: Caution's Message With Variable Values [message #661526 is a reply to message #661525] Wed, 22 March 2017 09:40 Go to previous messageGo to next message
billgates
Messages: 17
Registered: March 2017
Junior Member
I had no clue we have something builtin like that. thanks
Re: Caution's Message With Variable Values [message #661537 is a reply to message #661525] Wed, 22 March 2017 15:53 Go to previous messageGo to next message
joy_division
Messages: 4949
Registered: February 2005
Location: East Coast USA
Senior Member
cookiemonster wrote on Wed, 22 March 2017 10:34

Press F1
Read the help topic - it'll tell you if the property can be modified at all and what code you need to use to do it, with examples.
If I recall, at least in Windows 7, the help facility is different than windows 95, which was when forms 6i I think came out. Hitting F1 would give an error in Forms 6i on windows 7.
Re: Caution's Message With Variable Values [message #661539 is a reply to message #661537] Thu, 23 March 2017 04:29 Go to previous messageGo to next message
cookiemonster
Messages: 13777
Registered: September 2008
Location: Rainy Manchester
Senior Member
Shows how long it's been since I did actual forms development.
I assume that the contents of help is still the same and it's just the access keys that have changed?
Re: Caution's Message With Variable Values [message #661548 is a reply to message #661539] Thu, 23 March 2017 08:25 Go to previous messageGo to next message
joy_division
Messages: 4949
Registered: February 2005
Location: East Coast USA
Senior Member
Let's see what Mr. Gates says. I could be wrong and maybe it was the setup I had, but I remember something about an error message saying that the help system was not compatible with the current OS.
Re: Caution's Message With Variable Values [message #661552 is a reply to message #661548] Thu, 23 March 2017 12:42 Go to previous message
billgates
Messages: 17
Registered: March 2017
Junior Member
i'm on xp and it works fine on xp
Previous Topic: FORMS 10G APP: SOME FORMS HANG AT OPENNING
Next Topic: webutil client_ole2 Microsoft Word - Paragraph Alignment
Goto Forum:
  


Current Time: Sat Jan 18 18:10:06 CST 2020