Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record pointer moves after pop-up
Message
De
10/11/1997 09:27:24
Shihchau Tai
Apic Systems Pte Ltd
Singapore, Singapour
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00059056
Message ID:
00059259
Vues:
34
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform