Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Not Enough Memory on SQL statement, sometimes
Message
From
22/12/1999 09:43:04
Walter Meester
HoogkarspelNetherlands
 
 
To
22/12/1999 09:33:27
David Abraham
David Abraham & Associates, Inc.
New York City, New York, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00305074
Message ID:
00307271
Views:
46
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
Next
Reply
Map
View

Click here to load this message in the networking platform