Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Thank you for your reply Sir. The update method did succeed. I tried issuing "browse" command and it did display the correct data. I could also see it by debugging it and browsing its data through the Data Sessions pane with the correct "no data".
My objective is to clear the data however this coding should be generic, the table from the XMLAdapter object does not contain any data. Though I appended a table with no data to the current cursor.
select (lcAlias)
browse && Displayed the cursor with data
delete all
browse && It did mark the data to be deleted
llAppend = .t.
oXMLAdapter.Tables[1].ToCursor(llAppend,lcAlias)
browse && Displayed new data that were appended
tableupdate(.t.,.t.,lcAlias)
browse && Updated the cursor displaying only the new data/or no data if the table appended has no data.
The weird thing also, because of issuing "browse", the data objects were cleared.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement