Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HELP!!! Tableupdate not working!
Message
From
11/01/2000 11:20:26
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00316111
Message ID:
00316243
Views:
17
>Hi all,
>
>I have a problem with remote views (table buffering):
>i'm trying to do a TABLEUPDATE(.t., .t.) on a remote view that has all fields updatable (even primary). SQL Server gives me an error saying that i can't insert data because my primary field is null. And, if i make a BROWSE before the TABLEUPDATE, that field has data.
>
>Any ideas?
>
>Ricardo

I have had this problem but it has been a while. So, to the best of my memory, check to see if your primary key is being duplicated and also look at your data types. It seems that I had a data typing issue (in my case it was not allowing nulls and I was trying to move a fox date to a sybase date, which are definately different). Look at the docs for tableupdate and use do an update from the command window using cerrorarray to determine which field is actually causing the error. It's been a while since I have run into this and I hope this helps.
Previous
Reply
Map
View

Click here to load this message in the networking platform