Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating Oracle tables
Message
From
08/10/2003 08:54:13
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00832821
Message ID:
00836161
Views:
28
What I found is that the key fields must be have the exact size of the table structure definition.

Ex: if the field ID is a Char of length 20 and is delegated as a key field in the view then I can only update records that have a id of length 20. If the id record is of length 19 or less then the update craps out. It seems like an SET EXACT problem. Any Suggestions.

>What kind of return value do you get from the TABLEUPDATE() command? If it is less than zero, you need to check AERROR() to see what kind of error messages you are getting back.
>
>>I can make changes to small tables but I lose all the changes for large tables. Any suggestions?
>>
>>Claude
>>
>>>Yes
>>>>are you doing a TableUpdate??
>>>>x = TableUpdate(.t., .t., viewname, aerrorarray)
>>>>
>>>>If you're not doing this yet I'd take a look at the help on the tableupdate command. There are also some things to consider about row or table buffering....
>>>>
>>>>>I created an remote view to an Oracle table. I have selected key fields that uniquely identify each record,selected the update fields that I need and I have "Send SQL Updates" checked off. But when I make changes to the tables they are not reflected in the oracle table. Then if I try to browse the table again I get an update conflict. Any suggestions?
Claude Gosselin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform