General information
Category:
Coding, syntax & commands
Title:
Record pointer moves after pop-up
I have a master-detail one to many form. One of my detail grid gives a pop-up window for the users to select item. Once the pop-up is released, the grid record pointer moves to the top.
I understand that I need to save the record pointer in this case because VFP will reselect the master table, am I right? However my saving doesn't seem to work. I do my saving by What's wrong? Where should I do the restoring?
nWorkArea = SELECT()
nRecno = RECNO()
xxx = CREATEOBJECT('Select_Record')
xxx.SHOW(1)
...
...
SELECT (nWorkArea)
GO (nRecno)
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