Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Buffering cursors
Message
De
10/12/2013 11:23:52
 
 
À
10/12/2013 11:15:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01589683
Message ID:
01589686
Vues:
61
>Why would one do this?
>
>Scenario:
>
>Data is pulled from SQL server into cursor for an individual
>Cursor is then buffered
>Cursor is updated from input form (there is no update/commit on the cursor, just replaces)
>SQL server is updated from cursor.
>Data is repulled from SQL server into cursor for the same individual
>
>We have instances where (at least) one field is not making it 'back' from SQL server and is causing issues further downstream in the process and, of course, it's only happening on occasion.


Dorris,

A possible scenario

Entering a value into a textbox bound to a field of the cursor
The textbox does not lose the focus ( ie, the controlsource is not updated yet) eg by clicking on a toobarbutton
Update Sqlserver with cursor


Update : and how do you update sql server with the data in the cursor ?
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform