Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modal form resets record pointer?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Modal form resets record pointer?
Miscellaneous
Thread ID:
00257450
Message ID:
00257450
Views:
63
I'm trying to use a form to display fields from a record so the user can verify that the correct record is selected after a LOCATE. All the fields are set to read-Only, and are bound to the table in the form Data Environment.A yes/no option group returns 1 or 0 to the calling routine to indicate whether or not the correct record is selected. The LOCATE instruction works properly (confirmed by substituting a BROWSE in place of the call to the form) but somehow the form changes the record pointer back to the first record and only displays the data in the first record.

I originally tried a THISFORM.REFRESH() in the Init event, then in the GotFocus Event, with the same result each time, so apparently the record pointer is resetting during intantiation of the form.

Any ideas why?

Thanks,
Neil Preston
Next
Reply
Map
View

Click here to load this message in the networking platform