Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select statement - exists in
Message
 
 
À
14/04/2010 09:07:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01460130
Message ID:
01460149
Vues:
34
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform