Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record pointer moves after pop-up
Message
From
10/11/1997 09:27:24
Shihchau Tai
Apic Systems Pte Ltd
Singapore, Singapore
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00059056
Message ID:
00059259
Views:
29
>>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
Map
View

Click here to load this message in the networking platform