Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Private data
Message
De
07/04/2006 21:56:44
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
07/04/2006 14:05:36
Mk Sharma
Shrishti Solutions
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01111304
Message ID:
01111641
Vues:
13
>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform