Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private data
Message
From
07/04/2006 21:56:44
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
07/04/2006 14:05:36
Mk Sharma
Shrishti Solutions
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01111304
Message ID:
01111641
Views:
12
>i am using as below
>
>=usefile("inward") && in load event (usefile is a procedure to open a table)
>
>
>cursorsetprop("buffering",5,"inward") && in form load event
>
>tableupdate(.t.,"inward") && in save command button
>
>tablerevert(.t.,"inward") && in cancel command button
>
>
>should i write some thing in query unload to stop buffering.

No, it is sufficient to save (or undo) unsaved data (or better: don't let the user close if there is unsaved data). By closing the form, the tables are closed.

>like :
>cursorsetproper("buffering",5,"inward")

That would enable buffering, not disable it.

>is this stop buffering only for current form.

Assuming you use private datasessions: That would stop buffering for the specified alias, in the current form only.

>proc usefile
>****
>para filename
>use (filename) in select(filename)
>
>
>please help me
>
>should i use prive datasession or default what is best.

Private are best. That will reduce interference between one form and another.

>is there some artile(s) for data buffering (with example form)

I wrote an introductory article. http://www.utmag.com/wconnect/wc.dll?9,7,10,1578

Greetings,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform