>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,1578Greetings,
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)