I haven't tried this, but this might work.
1. Before you bring the form up, SET AUTOSKIP ON. I'm not
sure it works with a checkbox field but I'm assuming that this
would cause the person to leave the field and go to the next field
after clicking or un-clicking the field. If there is no actual field
that comes after this one, locate a dummy variable field and make
sure it comes after the checkbox field in the field order.
2. I would set up a form variable to trap the value of your check
box field, like vCheckbox = CheckBoxColumn.
3. Also, predefine a variable for your date column outside the
form: SET VAR vDate DATE = NULL, or SELECT datecolumn
INTO vDate WHERE ......
4. Set up another form variable: datecolumn = .vDate
5. In the form on hat "next" field, put an eep on entry into that field.
That eep would say something like:
IF vCheckbox = 'T' THEN
SET VAR vDate = .#Date
ELSE
SET VAR vDate = NULL
ENDIF
RECALC VAR
I'm thinking thta the RECALC VAR will cause the "datecolumn = .vDate"
expression to reevaluate and display on the screen.
Karen
> Dear all,
>
> I am trying to put EEP over a field in a form with 6.5 version.
> It seems that there are only 3 occasions you can set EEP :leaving Row,
> Saving and leaving Section.
>
> Is it true? If so is there any trick I can use to simulate it.
> This is what I want happen:
>
> 1.User clicks on a check mark field
> 2. As soon as the user clicks on the field, the system date is assigned to a
> date field(column)
> and display on the form and when the user close the form and wish to save
> the values would be saved in the table.
> 3. If the user change his/her mind and re-click it, the date filed should go
> back to Null and clear the display....
>
> I want this to happen without user leaving the form or the row being worked
> on.
> May be I don't need to use an EEP to do this?
>
> Possible?
>
>
> Thank you.
>
> Aiko Ichimura
> [EMAIL PROTECTED]
>