General information
Category:
Forms & Form designer
Title:
Modal form resets record pointer?
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
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