I have a form which was just converted from FPW/2.6 to VFP 6. The modal form works fine, I've moved all code into the appropriate methods. However, one field freezes (or appears to freeze) if there is a condition that causes the valid to fail. the controlsource is a date memory variable. On this form, if the date is within the valid parameters upon exit, then the focus moves to the next control as expected. the form only dies when the following code is tripped.
Here's the valid code:
if date() - this.value > 365
return .f.
endif
This works fine if I populate the variable, then run the form from the command line, so I assume there is some wierd setting this old app might be tripping.
any ideas would be greatly appreciated!
Steve Howie, owner
DaSH Technology
Denver, CO