Karen and Bill can you combine variable's ?
 
Such as follows:
 
 
 
If vMessageDisplayed = 'yes' and vMessageDisplayed1 <= 100 THEN
             SET VAR vMessage = 'Stop and review the data now'
       ELSE
             SET VAR vMessage TEXT = NULL
       ENDIF
       RECALC VAR

 
 
 

________________________________

From: [email protected] on behalf of [email protected]
Sent: Wed 12/16/2009 10:51 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Displaying Message On Form on Initial Entry of Data


I think you're going to have to explain this better to us.  I can't figure
out what you want to do.  Yes in Bill's example the message is going
to contain the content of the variables.  Isn't that what you wanted?  If
you're just displaying a message with no variable content, maybe you 
want to do something like this in the On After Start eep:
       -- first do your testing to decide whether a message should be displayed
       If vMessageDisplayed = 'yes' THEN
             SET VAR vMessage = 'Stop and review the data now'
       ELSE
             SET VAR vMessage TEXT = NULL
       ENDIF
       RECALC VAR

Locate vMessage as a Variable Label somewhere on your form

Karen




        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


Reply via email to