Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error - Not enough memory for file map - when running qu
Message
From
13/03/2003 19:28:28
Jorge Haro
Independent Consultant
Juarez, Mexico
 
 
To
13/03/2003 11:08:49
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00765396
Message ID:
00765640
Views:
18
Hello Sunshine, I didn't look to deeply into it, but that is one nasty query <g>. I do have a suggestion though, why not have either a table or cursor containing the values that require special treatment ("60","61","62" ...) then do an inner join to that table for the first part of the query, it would replace all those IIFs with straight values, the rest of the records can be appended by another union. This table would have all those special values, as in:
Lcode	objcode	lic_tot
60	002301	280.00
61	002302	490.00
62	002303	700.00
63	002304	8.40
47	002147	12.00
48	002148	22.00
50	002149	66.00
I know this only covers the first part of the existing union, but you get the idea. It doesn't necessarily fix your problem but it will make the query easier to digest, and hopefully help you find a solution.

Also, have you tried the query with a small set of data? just to make sure it even works as intended.
Previous
Reply
Map
View

Click here to load this message in the networking platform