Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
1812 - SQL: Statement Too Long
Message
From
01/09/1999 11:42:04
 
 
To
01/09/1999 11:26:19
Dan Coffey
Computer Presentation Systems
Rancho Cordova, California, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00260210
Message ID:
00260221
Views:
19
>I am working in VFP5 and have found that I can load a grid much quicker with a view. My problem is that the table is poorly designed and has too many fields. In VFP6 there is a command SYS(3055) which is supposed to allow for more complex SQL statements. I have found nothing referring to the issue in VFP5.
>
>What have the pros done?

There's no SYS() workaround within VFP5 AFAIK - SYS(3055) was added to allow you to grow the WHERE/FOR clause complexity; it won't help with the selection of fields necessarily.

>Is it possible to create views from views? Silly, I know...
>

Yep, but be very careful in doing this, since changes to a table will affect any views that reference it, and views of views that reference the table, etc. You can also get yourself into problems with nested view parameters this way if you aren't careful. i would strongly advise giving up on the native View Designer and using Erik Moore's eView, which is considerably more capable than the native view designer, especially with complex views.



>Does anyone have any other ideas?
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform