This sound like much the same thing as I asked a few days back (Thursday
last week):

  I have spent the whole afternoon attempting to get what I want from an EEP
in a DB
  CHeckBox but it appears that any EEP is fired before the check is changed
by the click.

  Is this the expected behaviour and, if so, is there some other way to take
into account
  the effect of the click?

Knowing what it's _meant_ to do might help work out how to do what is
wanted.

Regards,
Alastair.


----- Original Message ----- 
From: "David M. Blocker" <[EMAIL PROTECTED]>
To: "RBG7-L Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, November 10, 2004 7:53 PM
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