Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I write a query in Fox for DOS?
Message
From
30/07/1999 12:51:36
 
 
To
30/07/1999 12:37:09
Brent Knight
Progressive Impressions International
Bloomington, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00248250
Message ID:
00248256
Views:
20
>Ok I am using Fox for DOS. I am using DOS because I am being forced to. Now what I want to know is: How do I write a query in SQL without using that stupid query wizard thing. It is more confusing that just writing the query in SQL. I have already written my SQL as a .prg and I don't think it recongnizes it as SQL code. So any help that anyone may have would be most appreciated.
>

While FPDOS supported SQL Slect statements, it did not support as much of the syntax as VFP did, and different versions of FPDOS supported different subsets (the later the version, the more of the total syntax was supported.)

The INNER/OUTER JOIN constructs specifically were not supported in FPDOS; you would have to write the join conditions into the WHERE clause, and for OUTER JOINs, you'll either need to merge the results of multipel Select statements, or use the UNION clause to concatenate multiple Selects within a single statement.
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
Next
Reply
Map
View

Click here to load this message in the networking platform