General information
Category:
Coding, syntax & commands
>>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)
>
>Shih,
>
>You'd be much, much happier if you were using parameterized views and requerying them as needed. Seems to me that relations in forms are an heritage of the past and I avoid them by all means.
>
>José
I think I will do that in all my future applications. Thanks.
Previous
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