Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Not Enough Memory on SQL statement, sometimes
Message
From
05/01/2000 17:33:51
David Abraham
David Abraham & Associates, Inc.
New York City, New York, United States
 
 
To
22/12/1999 09:43:04
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00305074
Message ID:
00313562
Views:
47
Walter,

Thanks for the tip.

As it turns out, and I do not recall if I already sent this in, but my problem was placing a condexpr as a WHERE CondExpr not as part of a JOIN ... ON CondExpr1 AND CondExpr2. Why it made all the difference is beyond me but it did.

Thanks,

David

>David,
>
>>WHERE IIF(lcEmplAbbr='ALL',.T.,empl_abbr=lcEmplAbbr)
>
>You could change this in:
>WHERE lcEmplAbbr='ALL' OR empl_abbr=lcEmplAbbr
>
>I figure that lcEmplAbbr is a memory variable. Maybe you can construct your SQL at forehand in a string and leave this WHERE CLAUSE out when lcEmplAbbr='ALL', just speeding up performance.
>
>Succes,
>
>Walter,
Previous
Reply
Map
View

Click here to load this message in the networking platform