Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table or View?
Message
De
30/06/2000 14:18:41
 
 
À
30/06/2000 13:37:11
Jimmy Ditta
Twin City Electronics
Monroe, Louisiane, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00386724
Message ID:
00387230
Vues:
17
Duh...I left out a semi-colon.

SELECT Customers.company, Inventory_in.chgperkt, Inventory_in.clarity,;
Inventory_in.colors, Inventory_in.cut, Inventory_in.entered,;
Inventory_in.invoiced, Inventory_in.removed, Inventory_in.inactive,;
Inventory_in.karatwt, Inventory_in.measure, Inventory_in.p_descript,;
Inventory_in.stocknum, Inventory_in.total_chg, Transactn.track_num,;
Transactn.transdesc;
FROM inventory!inventory_in ;
INNER JOIN inventory!transactn;
ON Inventory_in.trans_id = Transactn.trans_id;
INNER JOIN inventory!customers ;
ON Customers.cust_id = Transactn.cust_id ;
GROUP BY Customers.company;
ORDER BY Inventory_in.stocknum

>Is there some way to edit the SQL generated in the view designer?

No. You can programatically create views using your own syntax and force them into the DBC but I don't recommend it. If someone tries to edit the view using the view designer it may result in an error.
Dan LeClair
www.cyberwombat.com
SET RANT ON - The Wombat Blog

Life isn’t a morality contest and purity makes a poor shield. - J. Peter Mulhern
Disclaimer: The comments made here are only my OPINIONS on various aspects of VFP, SQL Server, VS.NET, systems development, or life in general, and my OPINIONS should not be construed to be the authoritative word on any subject. No warranties or degrees of veracity are expressed or implied. Void where prohibited. Side effects may included dizziness, spontaneous combustion, or unexplainable cravings for dark beer. Wash with like colors only, serve immediately for best flavor.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform