Hi
I have a problem in foxpro 2.6. I have 2 Fields in a screen. The first field
is alphanumeric and the second is a date field. In field1-Valid() I check
that field1 is empty and if so field2 will be disabled. When the program runs
and field1 is empty it works to use the tabulator to leave field1. What
happens is that field 2 is disabled and the control is forwarded to the next
object in the screen.
My problem is if I use the mousepointer to click in field2. Then, field2 is
disabled but the program aborts without any messages. I have tried different
solutions for example to add code in the When() clause for field2 that
determines that field1 is empty and gives control to another object in the
screen. But it won't work.
If anyone knows how to get around please send a response.
Best regards /G