Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursor can Not be updated because it contains unsaved re
Message
 
À
24/08/2005 02:15:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Novell 6.x
Database:
Visual FoxPro
Divers
Thread ID:
01043169
Message ID:
01043178
Vues:
9
>Hello all
>I am get the error mentioned in the title, but NOT if I issue a browse on the table before the offending statements that generate the error. The browse solves the problem. What is puzzling is that I am not using a cursor, it is a table. Setting buffering to 5 and issuing a tableUpdate()does not help. Any ideas
>
>Buffering/update code does not help:
>
>SET MULTILOCKS ON  && Must turn on for table buffering.
>= CURSORSETPROP('Buffering', 5, 'poItems' )  && Enable table buffering
>TABLEUPDATE()
>
Vince,
Tableupdate has a few parameters you can use,
In the code you posted I am not sure what is the curent alias, so try this:
SET MULTILOCKS ON  && Must turn on for table buffering.
=CURSORSETPROP('Buffering', 5, 'poItems' )  && Enable table buffering
TABLEUPDATE(1,.t.,'poItems')
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform