Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
One to Many problems
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00048501
Message ID:
00048923
Vues:
48
>Solved my own problem. I had been playing around with config.fpw settings and forgot to SET MULTILOCKS ON. There ya go Colin....Thanks Colin....No problem Colin. :-)
>
>>I have a one to many relationship on a form of courses and students enrolled. The form contains the fields for the course and a grid to display the students. When I test the form in VFP and skip through the courses it works fine. However, in the EXE when the form loads it shows the first course and all the students, but when I skip through the courses I get the course and only the first student showing in the grid. When I check the course table after this there is a 'ghost record' copy of the first record that I can't access in a browse. If I delete the original course then the ghost record disappears as well.
>>
>>For buffering, the course table is Pessimistic Row and the student table is Optimistic Table.
>>
>>Any ideas?

If you are using the default data session, putting SET MULTILOCKS ON in the config file could be OK. If you are using Private datasessions though, you will want to remove it from there and implement it somewhere in the form as this is one of those commands that needs to be set for each data session.

Steve
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform