Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select statement - exists in
Message
 
 
To
14/04/2010 09:07:42
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01460130
Message ID:
01460149
Views:
36
>Gregory
>
>Thanks for your help, my code now looks like:
>
>sele a.RegionID, b.RegionName from lvRequirementBooking1RequirementList1 a ;
> join lvRequirementBooking1RequirementRegionMaster1 b on (a.RegionID = b.RegionID) ;
> where .T. group by a.RegionID order by b.RegionName into cursor lvRequirementBooking1RequirementFilterRegion1
>
>This gives me a list of all Regions that appear in my lvRequirementBooking1RequirementList1 table. If I wanted to add a record called "All Regions" to the cursor lvRequirementBooking1RequirementFilterRegion1, how would I go about that?
>
>Regards

If you're not using WHERE in your query, you can drop it completely.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform