General information
Category:
Forms & Form designer
>>The VFP doc says that one cannot SETFOCUS in a VALID, RANGE-HIGH/LOW, etc. And yet, I have a form where I accidentally did this and Lo! it works most of the time, but fires an error "cannot setfocus in valid, ..." some of the time. I actually stepped through the code in VALID and watched it pass right over the SETFOCUS.
>
>Arne;
>
A case in point - I had one hidden in there by mistake... the code kept executing... on the surface... the user kept working.... on the surface...
everything BUFFERED... completely... over 100 entries... the user shutdown for lunch.. came back... voila!!! no data from the previous hour was saved... it was not a 'hard' error - it was not reported to the errorhandler because it was not reading the code line... took me some time to track down that one...
SET FOCUS and VALID do not mix - EVER...
Just my 0.02....
Ric
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only