Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP is not capable to run even simple select statements
Message
From
28/01/2002 10:15:43
Walter Meester
HoogkarspelNetherlands
 
 
To
27/01/2002 15:35:44
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00611298
Message ID:
00611541
Views:
26
Andrus,

In VFP 6 SP 3 this inmediately generates an C000005 error. In VFP 7
SQL expression is too complex.

If you remove the .t. in the where clause, it runs fine. Also if you replace the left join with a inner join it seems to work.

The only conclusion I could draw, this behaviour is a BUG. Since this BUG is so easy to simulate, I strongly suggest to report this to the FoxTeam.

Walter,


>
>
>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 ) )
>
Previous
Reply
Map
View

Click here to load this message in the networking platform