Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TableUpdate and SQL string is too long
Message
From
10/11/2004 12:13:21
 
 
To
10/11/2004 08:53:54
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00959751
Message ID:
00960077
Views:
11
I have tried it, but it doesn't work either. There is only one memo field.
Do you know the limit of the internal update command?

Thanks,
Javier.

>If you have memo fields, change CompareMemo to .f. This reduces the length of the internal update command which has a limit.
>
>>Hi all,
>>
>>I have a view in a form that updates a table with 100 fields. The SQL statement is short, as all the fields belong to one table but 2 of them.
>>
>>When I issue tableUpdate(.t., .f., 'myView'), I get the error "SQL string is too long", and return .F.
>>If I force all rows to be updated with tableUpdate(.t., .t., 'myView'), then I don't get the error.
>>
>>I don't even know how to debug it to know what's happening inside, and why the error goes away when I force the update.
>>
>>Any ideas?
>>
>>TIA,
>>Javier.
Previous
Reply
Map
View

Click here to load this message in the networking platform