Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TABLEUPDATE() and record deleted
Message
From
03/09/1999 01:14:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
TABLEUPDATE() and record deleted
Miscellaneous
Thread ID:
00261013
Message ID:
00261013
Views:
61
Hi,
Could anybody explain to me what is -1 meant by laerror when tableupdate(.T., calias, laerror)? It return -1 even tableupdate is sucessful. I tried to locate the error using AERROR(), it tell me 1884 error code (uniqueness of key). But the table is updated successful...
Again, When I insert record into table using TABLEUPDATE(), it give return error if there are uniqueness of key (but deleted without pack) in table caused by my insert statement. How should I solve it? I tried to replace the deleted record with my new record, but I failed to get the recno, how to solve it without having to search the table again?
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Reply
Map
View

Click here to load this message in the networking platform