Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Test/Quiz
Message
 
 
To
06/11/2004 06:41:56
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00851812
Message ID:
00958944
Views:
18
>5. How many of the 700 or so numbered VFP errors can you successfully recover from programmatically, and allow execution to continue?>
>
>Not sure, but I suspect all of them.

>
>I am sorry, but you are mistaken. The answer is less than a dozen. You can recover from things like "Printer not ready" and "Multilocks must be on..." but how are you going to recover from a syntax error, "operator/operand mismatch", or "not a table"
>
>6. Why does a form's BufferMode? property accept only values 0, 1, 2 when CURSORSETPROP() accepts values 1, 2, 3, 4, 5 for BUFFERING?
>
>Haven't got a clue.

>
>Form's BufferMode is actually a locking strategyand have nothing to do with buffering at all! In fact the form will determine the buffering strategy for its tables all by itself, based upon their usage. The locking strategies are:
>
>0 None (default)
>1 Pessimistic
>2 Optimistic
>
>
>CursorSetprop sets the specific combination of the Buffering and Locking strategy for a given table as follows:
>
>1 Pessimistic None The only option for FP2.x, default for VFP, tables
>2 Pessimistic Row Lock placed by KeyPress Event. Record pointer movement forces save
>3 Optimistic Row Lock placed by TableUpdate(). Record pointer movement forces save
>4 Pessimistic Table Lock placed by KeyPress Event. Save must be initiated explicitly
>5 Optimistic Table Lock placed by TableUpdate(). Save must be initiated explicitly

Thanks, Marcia. It was very nice to see you guys today. I really enjoyed all the sessions, though now I think, that Andy's session should be the first one. At least I was tired at the end and had some troubles comprehending...

Tamar, thanks to you as well.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform