Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Expression is too complex
Message
From
17/05/2001 09:18:49
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
SQL Expression is too complex
Miscellaneous
Thread ID:
00508252
Message ID:
00508252
Views:
54
Hi All,

I am trying to create a screen where the user can select criteria for a report. The problem I am running into is that when I use the 'IN ()' in the WHERE clause there is a limit of 25 items per 'IN'. I might need up to 100+ in some cases. I need to have from 1 to 13 possible 'IN's in the statement. Since we are using the VFP ODBC to access a standard 'DBC' type database. The notion of Stored Proc is out of the question from what I've been told. If the criteria is kept to a minimum everything works fine. But this may not always be the case.

Anybody have an idea of a way to get around this limitation? Will I have to do several queries? If so, at what level do I do the breakdown?

TIA
Mike

P.S. VFP6 SP3
Next
Reply
Map
View

Click here to load this message in the networking platform