Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP is not capable to run even simple select statements
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00611298
Message ID:
00612487
Views:
24
I dont run to those limits. My command is less than 8K bytes and strings are only few bytes long.

>If you have complex expressions where you have the .f. and .t. in this example, then you are running into the line length limit most likely. Is this select used inline ina program like the example, or are you assigning it to a variable? There are two limits, 8192 characters for a single command line, and 255 characters for a string literal.
>
> Randy
>
>>
>>
>>CREATE CURSOR alloweditems ( liik c(10))
>>CREATE CURSOR artliik ( liik c(1))
>>CREATE CURSOR toode ( f1 c(1))
>>SYS(3055,2040)
>>select * ;
>>   from toode ;
>>      left OUTER JOIN artliik ;
>>        ON .f. ;
>>   where .t. OR ;
>>  (.f. AND artliik.liik in (select * from alloweditems ) )
>>
Andrus
Previous
Reply
Map
View

Click here to load this message in the networking platform