Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wizards, Wizards everywhere - Many to 1 grid update pro
Message
De
06/07/1999 16:36:03
 
 
À
06/07/1999 16:28:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00237938
Message ID:
00237941
Vues:
10
>In keeping with the RAD methodology, I decided to finally use the grid wizard and built a many to one grid in a form. Every thing seems to work fine ( as a matter of fact I was kinda impressed).
>Then I added a combobox control to one of the columns. Everything still working fine - until I select an item from the combobox. I get the message "Record is Not Locked".
>I understand the Buttonset.VCX requires buffering and everything was okay. I placed a flock() after selecting the grid file, and tried a Rlock("filename"), and everything else I could think of. WHen I try to trace this through the Debugger, it gets to the point where I have to select an item from the column combobox and then immediately gives me the message. THe file being used is definitely Locked (as per the debugger). What's going on? I've spent many hours trying to resolve this issue. Can sure use some help.
>
>Thanks in advance.
>
>Barry

It's extremely difiicult to say by sure, but there some points: firstly, if you use buffering (and even if you don't use it) then you don't need in either FLOCK() or RLOCK(). You may probably check that you do have SET MULTILOCKS ON (normally it sets automatically when you set buffering in DE). Also, it's dangerous way to use grid's builder. It's quick but results are often unstable.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform