Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling Modal Child Dialog
Message
 
 
To
16/05/2002 16:14:45
General information
Forum:
Visual FoxPro
Category:
CodeMine
Miscellaneous
Thread ID:
00657702
Message ID:
00657909
Views:
51
Gary, thanks for the quick response.

>>The reason that all is grayed-out is becase at this stage, as your seek() isn't successfull, you are at end of file. If you now want to add a record for the non-existing zip, then you must call the datamanager's New() method and pass the name of the zip table.<<

Yes, that fixed that - so I getting closer to having it work correctly.

>>Make sure you are using cntOKCancelCustom from cButton to save/cancel your child form.<<

Yes I am. But when I press either the OK or Cancel on the Child Form, I get this error:

ERROR #2012 in Formziplook.txtstate.selfocus
"Cannot call SetFocus from within a When, Valid, RangeHigh or RangeLow event."

Any idea of how to stop this error? If I click "ignore" I get the same error again but for "txtzip" instead of "txtstate"


>By setting lReleaseOnClose = .T., the form will close itself. You don't have to manually close the form. That is the whole point of this setting.>>

By chance if i need to set lReleaseOnClose = .F. down the road (for this or another need), how would I manually release the form?

Again, thanks for your help.

Mel Cummings
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform