Steve,
In my example yes, the variable would be displayed in the message but the
content of the message is up to you.
For example;
Set v vmsg text='Stop and review the data now'
Set v vVendorName text=vendorname in vendors whe vthis_parentcustid = 105
Set v vcaption text=('For Vendor:'&.vVendorName)
If vthis_parentcustid = 105 and vthis_hub <= 999999 the
PAUSE 2 USING .vmsg +
CAPTION .vcaption +
ICON info +
BUTTON 'Press any key' +
OPTION BACK_COLOR NAVY +
|MESSAGE_COLOR NAVY +
|MESSAGE_FONT_NAME Tahoma +
|MESSAGE_FONT_COLOR navy +
|MESSAGE_FONT_SIZE 11 +
|MESSAGE_FONT_BOLD OFF +
|BUTTON_COLOR lime +
|BUTTON_FONT_COLOR black +
|THEMENAME RAZZMATAZZ
endi
This would display a message box
===============================
For Vendor:Sample Vendor Inc.
Stop and review the data now
Press any key
===============================
Look at Rbase help for specific help on settings that would customize the
message to your satisfaction.(such as themes (razzmatazz in my example), no
themes, font, fontsize, text color, text background, etc.
Does this help you understand or do you need more specific help ?
Let me know.
Bill Eyring
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Steve Breen
Sent: Wednesday, December 16, 2009 10:41 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Displaying Message On Form on Initial Entry of Data
Bill,
I have been driving myself nuts. Can't seem to grasp this.
I am trying to display a vendor on the form such as 'Stop and review the
data now'
Based on the following:
vthis_parentcustid = 105 and vthis_hub <= 999999
Originally I was trying to set this based on a variable and data in a table
but was told it would be faster if used two variables.
So actually it is two variables not three
In your example isn't the message going to contain the content of the
variables?
Thanks for the help
________________________________
From: [email protected] on behalf of Bill Eyring
Sent: Wed 12/16/2009 10:11 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Displaying Message On Form on Initial Entry of Data
Steve,
Try this;
Set v vmsg=(.var1&.var2&.var3)
Pause 2 using .vmsg (etc., with your settings)
If you want to display a message on only 1 of the 3 variables you would have
to decide which variable has preference such as:
If var1 is not null and var2 is null and var3 is null the
set v vmsg=.var1
pause 2 using .vmsg, etc.
endi
..and so on.
Hope that helps.
Bill Eyring
________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Steve Breen
Sent: Wednesday, December 16, 2009 10:04 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Displaying Message On Form on Initial Entry of Data
I am trying to display a vMessage = '?' based on three variables.
What is the best way to do this ?
vMessage1 = 'test' where ?
Thanks for the help