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
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