Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data not refreshed on data bounded form controls
Message
From
16/11/2006 03:44:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Data not refreshed on data bounded form controls
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01170171
Message ID:
01170171
Views:
53
Hi all,

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.

any help is appreciated

Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform