Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tableupdate() issue
Message
 
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 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01575348
Message ID:
01575351
Vues:
46
>Hi
>
>I have a .save method in my form, saving many tables as below.
>When I try to save the table "ap" VFP locks, waits, and shutdown and I have no error message.
>
>******************************************************
> SELECT AP
>IF NOT TABLEUPDATE(1, .t., [Ap])
> AERROR(laError)
> MessageBox([Can not update AP : ] + laError[1,2])
>ENDIF
>******************************************************
>
>Can I be a corrupted table ?
>
>When I open it with use ap it seems ok.
>
>Have anyone ever came across with such a problem ?
>
>Moises

What is the primary key for the table? How many rows this table has and how many are updated? Also, have you tried deleting FoxUser?
And also, did you try using different alias for that table, say, apWork?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform