Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I have =CURSORSETPROP Buffering 2 enabled
Message
From
28/10/1998 10:19:14
 
 
To
28/10/1998 10:15:26
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00151263
Message ID:
00151558
Views:
23
Eeek! Sorry, I gave you syntax for CURSORGETPROP but an example for CURSORSETPROP.

An example of CURSORGETPROP might look like:
IF CURSORGETPROP( 'buffering', oi.alias ) = 3
	*!* then I'm using optimistic row buffering on this cursor. 
ENDIF
Sorry for the confusion :-(

>Hi, Tim:
>
>From the manual:
>CURSORGETPROP(cProperty [, nWorkArea | cTableAlias])
>
>So, for example, I have this code I use to set up my preferred buffering in my base form.
>
>
>IF USED( oi.alias )  && Check to make sure the file is open
>	=CursorSetProp('Buffering', 3, oi.alias )
>ELSE
>	IF USED( oi.cursorsource )
>		=CursorSetProp('Buffering', 3, oi.cursorsource )
>	ENDIF
>ENDIF
>
Previous
Reply
Map
View

Click here to load this message in the networking platform