Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error 1812 - SQL statement too long
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00011796
Message ID:
00011800
Views:
36
>I have a table (not free table) with 33 fields, lenght of record is 411 and aprox. 40,000 records.
>I made a local view for a certain filter (Table.data = ?varData .AND. Deleted() = .F.), SQL WHERE=Key and Updatable Fields, Send Update = .T., all fields marked as updatable, no. of records filtered is about 100.
>My computer: 486DX/120MHz, 16Mb RAM, 850Mb HDD, Windows 95.
>Problem is: when I replace value for a field (inside an application) and I move from the record (to send the updates to parent table) I receive the error 1812 and I can do nothing from here (not even close the view).
>I mention that I use the database shared (in multiuser environment).
>What can I do about it? There are some setings to solve this problem, or the view is too big.

Laurentiu

Not sure if this is it but I 'believe' VFP has a 255 char limit on statments. IE: the list of fields cannot continue on & on... (s) I myself use small SQL's since they are quicker then one massive one (believe it or not). So I have not run into this for awhile & I might be a little foggy on this.

HTH,
Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform