Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tableupdate() issue
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01575348
Message ID:
01575351
Views:
48
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform