Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update failure
Message
From
02/07/2000 15:09:51
 
 
To
02/07/2000 14:19:35
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00387555
Message ID:
00387579
Views:
11
Does this sufficiently check the status of TableUpdate()?
lSuccess=TableUpdate(1, .T., 'intrancust')
IF lSuccess = .T.
=MESSAGEBOX("Operation successful!",0,"Operation Status")
I'm not receiving any errors, but it just won't update.


>>I just haven't got around to changing it yet (This started out as a different procedure). So do you see anything tell tale in the code that's wrong, or does my problem lie somewhere else?
>>
>
>I just told you what's wrong with the code. You're not checking the return value of TABLEUPDATE(). If you check the return value of TABLEUPDATE(), and then check the contents of AERROR(), it will tell you why your view is not updating. Have you checked the documentation for TABLEUPDATE()?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform