home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases
- Path: sparky!uunet!microsoft!wingnut!waynel
- From: waynel@microsoft.com (Wayne Lampel)
- Subject: Re: Foxpro: Reporting/Querying on most recent date in DBF
- Message-ID: <1993Jan21.182645.9161@microsoft.com>
- Date: 21 Jan 93 18:26:45 GMT
- Organization: Microsoft Corp.
- References: <C131HG.4C4@acsu.buffalo.edu>
- Distribution: usa
- Lines: 18
-
- In article <C131HG.4C4@acsu.buffalo.edu> v125qmam@ubvmsb.cc.buffalo.edu wrote:
- > Hi all!
- > How can I get Foxpro to point to the record containing the most
- > recent date within a group? For example:
- >
- > The File looks like this:
- >
- > Name C 20
- > Date D 8
- >
- > I want to query the most recent Date associated with a given name.
- > The MAX Function requires a list of possibilites...
- >
- > Thanks!
- > - Ami
-
- Perhaps: CALCULATE MAX(date) FOR name = "whatever" TO maxdate
-
-