Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wizards, Wizards everywhere - Many to 1 grid update pro
Message
From
07/07/1999 14:37:46
 
 
To
06/07/1999 16:36:03
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00237938
Message ID:
00238437
Views:
11
>>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.

Thanks Ed,

I figured out that the solution was that I could only enter the grid through the Wizard Buttonset Edit function. That displayed the grid properly.
Thanks for your help.

Barry
If at first you don't succeed......SET STEP ON!
Previous
Reply
Map
View

Click here to load this message in the networking platform