Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
First Line of Record corrupted after TableUpdate
Message
De
07/06/2007 02:01:33
Aye Mya Thida Kyaw
Ingenuity Microsystems Sdn Bhd.
Kuala Lumpur, Malaisie
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
First Line of Record corrupted after TableUpdate
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01231158
Message ID:
01231158
Vues:
58
Dear all,

I'm facing one strange problem as follow.
I'm using remote view to connect to SQL Database.

e.g; use rv_debtortran alias fdetail nodata share in 0 connstring sqlconnstr

After performed key-in transaction (Append into remote view), I use table update to send the data as follow.

Tableupdate(1,.f.,"fdetail")
SQLCOMMIT(sqlconnstr)

The problem goes here. I BROWSE the view before Tableupdate. The records are correct. But when I BROWSE the View after Tableupdate, The first line of the record was replaced by invalid data. It's only happened at the first row of the recordset. I still need to use that Remote View for posting to the other related tables. But the view is no more in valid state, that's why the other related procedures cannot be done. This thing's really driving me crazy. I really cannot find any error point which cause the problem. Is that be the Foxpro TableUpdate problem??? Or m I doing the correct way??? Hope to get some suggestions on this.

Thanks a lot in advance,
Mya.
Répondre
Fil
Voir

Click here to load this message in the networking platform