David,

You hit the nail on the head. Getting the value!

I looked at Razzak's example but he's using a VariableRadioGroup.
That seems pretty straightforward. But if you are using a DB <control>
it seems difficult (Nothing is impossible.) to grab the value you just
picked.

I am trying to use a DB LookupCombo Box that look up values from another
table.
The idea was to show another DBEdit only if the value selected in the DB
LookupCombo Box
was a certain value.

Jan

----- Original Message -----
From: "David M. Blocker" <[EMAIL PROTECTED]>
To: "RBG7-L Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, November 10, 2004 11:53 AM
Subject: [RBG7-L] - Re: Another Property question


> Jan
>
> I'm sure there is a way to do it using the 'On click EEP' for the
> dbcheckbox. In my preliminary tests I haven't been able to find any way to
> capture the value of the DBcheck box column -
>
> I tried setting a var to the RBTI_Form_ColValue but that returned the
DBEDIT
> with focus.   I tried setting a form variable to the columns value, but
that
> didn't re-evaluate when I clicked.
>
> If someone can help you find a way to capture the value of the checkbox
> column, it would then work like this:
>
> Let's say that you have a DBEDIT control for the field "SomeData".
>
> And that the DB Checkbox is for the column "SomeCheck".  If SomeCheck is
A,
> show SomeData, if not don't
>
> 1.  Create an EEP that runs on entry to the row (in forms, select Tables/
> Add/Remove tables / Table Settings / ON ROW ENTRY - enter and create a
file
> name that does this:
>
> PROPERTY SomeData VISIBLE 'False'
>
> 2. Create an EEP that runs "on click" from the DBEDIT control.
>
> IF eSomeCheck = 'A' THEN
>   PROPERTY SomeData VISIBLE 'True'
> ELSE
>   PROPERTY SomeData VISIBLE 'False'
> ENDIF
>
> The issue is how to get the columns' value into eSomeCheck!
>
> See if that helps
>
> David Blocker
>
> [EMAIL PROTECTED]
> 781-784-1919
> Fax: 781-784-1860
> Cell: 339-206-0261
> ----- Original Message -----
> From: "Jan Johansen" <[EMAIL PROTECTED]>
> To: "RBG7-L Mailing List" <[EMAIL PROTECTED]>
> Sent: Wednesday, November 10, 2004 11:38 AM
> Subject: [RBG7-L] - Another Property question
>
>
> > Is there a way to use a property based on information in a DB-Edit or
> > DBCheckbox?
> >
> > Specifically, my desire is to show another DBEdit based on cliking a DB
> > Checkbox.
> > However I cant figure out how to do this.
> >
> > Do I set a variable or is there an &where or something like that so I
can
> > evaluate in an eep?
> >
> > I know how to do the property command just cant figure out what is
> available
> > to me to do an if statement.
> >
> > Jan
> >
> >
>
>

Reply via email to