Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Flush Unlock Record
Message
De
15/06/2012 10:32:45
 
 
À
15/06/2012 08:47:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01546079
Message ID:
01546086
Vues:
60
>Flush, Unlock, Record. Why I used these words?
>
>I have a record locked (RLOCK). There's no buffering scheme.
>I change a Logical field using a checkbox with the Controlsource set to the field, but I do not leave the record.
>I press a button that starts a new EXE that uses the same record.
>It must use the changed value, but it didn't.
>
>So I tried FLUSH before calling the new EXE. Didn't help.
>So I tried FLUSH FORCE before calling the new EXE. Didn't help.
>So I tried UNLOCK before calling the new EXE. This did help.
>
>This does not make sense to me. Hackfox tells me that FLUSH empties all internal buffers of data (which have nothing to do with record or table buffering) to be written to disk. How does this match with what I read in the original Help which says: You can use FLUSH to explicitly save to disk all changes that you make to all open tables and indexes.?

you can read RLOCK() record within the same datasession only.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform