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



 

Reply via email to