Gary,
I see what you are saying about FieldValid() - and this crossed my mind when I got the SetFocus errors. Actually, it was CodeMine tech support that suggested I put the code there in the FieldValid().
>>That's a VFP error. It is unable to set focus from a valid event. I was going to say before but I did not really want to add more confusion - what you are attempting to do ie., call a modal form should not really be done from a FieldValid method. The fieldvalid method is for just what it says - checking whether the contents of a field are valid and returning True or False - not calling another form. The FieldValid method is called by a Codemine subclassed native VFP valid event. So despite the fact that you have put your code in the datamanger fieldvalid method, higher up in the call stack is a native VFP valid.
You need to re-think where you call your modal form from.<<
So, it is OK to verify to see if a zip exist in the FieldValid() method, but the problem is calling another Form there - correct?
Any other suggestion as to where I might do this to have the functionality I am looking for?
You have been a great help, and I am thankful for that.
Mel Cummings
Previous
Next
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