Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can View Designer do this ?
Message
From
19/04/2001 15:20:21
 
 
To
19/04/2001 13:40:48
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00497404
Message ID:
00497526
Views:
8
Thanks for the reply. I'm on the right track, but lack the syntax ability. I have the following query:

SELECT Equipinv.mfg, Equipinv.model, Equipinv.sernum, Stumaint.clsdate,;
Stumaint.trhrs, Stumaint.drhrs, Stumaint.udrum, Stumaint.proller,;
Stumaint.froller, Stumaint.slpring, Stumaint.brushes, Stumaint.ctlhd,;
Stumaint.audhd;
FROM eng!equipinv INNER JOIN eng!stumaint ;
ON Equipinv.cmaster_index = Stumaint.cmaster_index;
WHERE stumaint.udrum = .T.
( I have omitted the ORDER BY )

I need to display only the MAX(DTOS(stumaint.clsdate)) for each equipinv.sernum.
The query above gets me very close, but displays multiple records for each
equipinv.sernum

Any help is greatly appreciated
Bruce Covey
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform