Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Basic Cursor Object usage.
Message
De
22/02/1998 01:12:38
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Basic Cursor Object usage.
Divers
Thread ID:
00080309
Message ID:
00080309
Vues:
64
The following code can create a Cursor(Temp Table) of Actual One.

use MyTable again in 0 Shared
=Afields(MyTableStru)

Create Cursor cMyTable ;
From Array MyTableStru

select cMyTable
Append from MyTable
* To this line, A Cursor carry all data from Real one.

Append Blank
Replace MyKey With "YYZ"

Close All && Should Flush in Real one... but fail ?_?' Nothing add!

I want to know how to:

  1. Ensure Flush in Real Table?

  2. Avoid Update when Close, Something Like TableRevert()?

  3. Ensure retrieve if the Real Table is updated by other?
    Escpecially in 2 or more user add record at the same time!



Or better use Table Buffering (Row, File Lock) instead of Cursor
control??
What are the pons and cons of using Table buffering and Cursor?

Thanks! ^_^"
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform