Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting only the latest dates of dupe recs
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01141044
Message ID:
01141196
Views:
22
>Thanks a lot, BB
>
>This one:
>
>SELECT Operator, Route, MAX(Start_Date) AS Start_Date;
>                   FROM MyTable;
>                   GROUP BY Operator, Route;
>INTO CURSOR Tbl1
>
>seems to work adequately for now.
>
>Problems with my non-ETM SQL tyhough still - totally under-retrieving.
>
What was that last sentance?

And it also sounds like instead of using code you would be better off setting up a DBC to hold these items as views.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform