Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table Buffer and SQL
Message
 
À
21/08/1996 19:05:51
Marcelo Daniel
Martin Cubero S.A. de C.V.
Cuautla Mor., Mexique
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00006372
Message ID:
00006382
Vues:
56
>I can't get a set of rows with select-sql, when they're just added to a table that hasn't been updated, and which buffer mode is set to optimistic table buffer.
>
>Is this by design, or there is a solution. I need both, in order to check some business rules on the record set before update the table, or should I suppose that select-sql always open tables even if they're already opened, and that's why the just added records aren't found ?


Marcelo

Remember buffered tabled still have their new recs in a buffer. They have not been added to the physical table yet. Especially if that table is on a server & you are on a workstation. Remember you can recognize buffered recs because they have a negative rec number (ie: recno() = -1).

HTH
Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform