Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select SQL - Selecting one of Multiple Entries
Message
From
09/10/1998 04:26:31
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
09/10/1998 03:42:15
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00144791
Message ID:
00145371
Views:
33
>Hi Nick,
>
>Unfortunately it didn't actually work in the end - your proposal certainly retrieved records in MNO and date descending order, but where there is 2 or more records with the same MNO but different dates, all of these were retrieved when in fact I need only the latest date record to be retrieved, ie, if there is:
>
>MNO Date
>
>100 98.02.03
>100 98.03.10 * This is the record needing retrieval
>100 98.01.15
>102 98.05.03
>103 98.04.01
>100 97.10.04
>etc
>
>I need therefore the records to be somehow grouped in MNO and Date order so that the one with the most recent date is picked up. Any further ideas? ....I am very gratefful for your help!
>
>Regards,
>
>
>Bob
Bob,
Haven't you tested the code I sent or is this another one ?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform