VFP5.0a: flock() not waiting between data sessions ?? 
Author Message
 VFP5.0a: flock() not waiting between data sessions ??


I have two instances of a form trying to flock() a table. Set reprocess
is set to automatic in both instances. The first instance locks the
table, the flock() called by the second instance returns .f. immediately
without waiting for my ESC. This means it ignores the set reprocess
setting. All works fine with two program instances each having opened
the form once. But it doesn't with only one program instance having
opened the form twice.

I want to flock() the table for auto generating an unique field value.
Using table buffering and treating a key collision is not the way I want
to do it. The user should be able to modify the suggested value.

Did I forget to set a setting new in VFP5? Or is it a bug (latest
service release is installed)? Any workarounds?

Best regards, Thilo.

Fax   : +49 (0)371 531 53 57    |  Irc   : MuchelDad (EFNet)

Sun, 04 Mar 2001 03:00:00 GMT
 [ 1 post ] 

 Relevant Pages 

1. VFP5.0a/VFP5.0b

2. VFP5.0a and SQL SPs

3. Problem using Oracle8 and VFP5.0a

4. VFP5.0a SP2 + SQL Server 6.5 Quitting without warning

5. VFP5.0a: Is SP3 important?

6. VFP5.0a - Weird behaviour of ListBox

7. Problem passing values to functions in VFP5.0a

8. VFP5.0a: DO FORM form2 LINKED - failure

9. VFP5.0a & OLE/ActiveX problem

10. VFP5.0a: Setup Wizard Question

11. PRB: VFP5.0a, WinNT4.0 SP3, Win95,....crashes...

12. How do I the get VFP5.0a update?

Powered by phpBB® Forum Software