Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data not refreshed on data bounded form controls
Message
 
 
À
16/11/2006 03:44:10
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 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01170171
Message ID:
01170516
Vues:
10
Check return value of tableupdate(). Maybe it fails.
>
>I have a little problem here. What I did was delete ALL data on the
>cursor and append new data to the cursor and issue tableupdate. The
>table is in buffering mode. Supposedly the objects that where bounded
>where to display new set of data since it was deleted. However it was
>not refreshed even issuing ThisForm.Refresh(). What could the problem
>be?
>I've experimented with the coding and still i failed.
>
>
>Coding (written on a separate prg):
>
>
>delete all in (lcAlias)
>llAppend = .t.
>oXMLAdapter.Tables[1].ToCursor(llAppend,lcAlias)
>llForce = .t.
>llAll = .t.
>tableupdate(llAll,llForce,lcAlias) <-- even if not forced
>...
>
>After issuing ThisForm.Refresh, the form data bounded objects where not refresh.
>
>I'm actually appending data table from oXMLAdapter object.
>
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform