Steve,

Give this a shot.

Your form could have a DB or Variable edit for vthis_parent with a component
id of vthis_parent.   Place a Static Text object on your form with a
component id of vMessage.

Then put an Exit eep on your DB or Variable edit field.

The exit eep would be something like:

set variable vthis_parentT text
getproperty textvalue vthis_parent 'vthis_parentT'
set variable vthis_hub = <approriate column reference> where <appropriate
column> = (int(.vthis_parentT))
--the (int(.vthis_parentT)) is necessary because the get property command
returns a text value and you are probably comparing your value to an integer
column

if vthis_hub <= 999999 then
  set variable vMessageText = 'Stop and review the customer'
  property vMessage caption .vMessageText
  else
  property vMessage caption ' '
endif

--the if statement will change the Static Text object to display the message
you want when your conditions are met or leave it empty if no message is
necessary
return




On Wed, Dec 16, 2009 at 9:03 AM, Steve Breen <[email protected]> wrote:

>  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