I want to be able to determine if cursorsetprop has been used to set
buffering to something besides 1 for a free table.
How do I do that? Help says you can find out by using cursorsetprop
but doesn't tell how.

Re: VFP How do I determine table buffering setting. by Stefan

Stefan
Mon Aug 14 08:10:18 CDT 2006


"Jim Czeb" <james.czebiniak@pearlcarroll.com> schrieb im Newsbeitrag
news:1155559660.690533.103200@75g2000cwc.googlegroups.com...
>I want to be able to determine if cursorsetprop has been used to set
> buffering to something besides 1 for a free table.
> How do I do that? Help says you can find out by using cursorsetprop
> but doesn't tell how.

Hope I got your question right:
Create Cursor freeTable (Test Int)
? CURSORGETPROP("Buffering", 'freeTable')
SET MULTILOCKS ON
CURSORSETPROP("Buffering", 5, 'freeTable')
? CURSORGETPROP("Buffering", 'freeTable')



hth
-Stefan



--
|\_/| ------ ProLib - programmers liberty -----------------
(.. ) Our MVPs and MCPs make the Fox run....
- / See us at www.prolib.de or www.AFPages.de
-----------------------------------------------------------


Re: VFP How do I determine table buffering setting. by Man-wai

Man-wai
Mon Aug 14 08:20:48 CDT 2006

Jim Czeb wrote:
> I want to be able to determine if cursorsetprop has been used to set
> buffering to something besides 1 for a free table.
> How do I do that? Help says you can find out by using cursorsetprop
> but doesn't tell how.

You may be interested in another function: GetFldState()

--
.~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org
/ v \ Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Ubuntu 6.06) Linux 2.6.17.8
^ ^ 21:20:01 up 7 days 2:16 0 users load average: 1.02 1.04 1.00
news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk

Re: VFP How do I determine table buffering setting. by Bernhard

Bernhard
Mon Aug 14 08:27:19 CDT 2006

Hi Jim,

> I want to be able to determine if cursorsetprop has been used to set
> buffering to something besides 1 for a free table.
> How do I do that? Help says you can find out by using cursorsetprop
> but doesn't tell how.

To GET the info, don't use cursor_S_etprop but cursor_G_etprop (without the
underlines). There is only one different letter in the name of the two functions.

Regards
Bernhard Sander

Re: VFP How do I determine table buffering setting. by Jim

Jim
Mon Aug 14 10:08:50 CDT 2006


Thanks guys. cursorgetprop was what I was looking for?
Jim