N
Nir N
I have the followinig simple quwery:
SELECT M2001.LASTNAME, M2001.FIRSTNAME, SESSION1.Date
FROM M2001 INNER JOIN SESSION1 ON M2001.RECNUM = SESSION1.LINKNUM;
M2001 has 1 - to many relationsship with Session1.
My problem is that the "Session1" table is an external (linked) table from a
foreign database, and it's "DATE" field is, for some obscure reason, a text
field and NOT date field (although is displays a date in the regular access
format,
e.g. "20090809").
How can I get only the last (most recent) record , based on the DATE field,
of each person?
Thanks!
SELECT M2001.LASTNAME, M2001.FIRSTNAME, SESSION1.Date
FROM M2001 INNER JOIN SESSION1 ON M2001.RECNUM = SESSION1.LINKNUM;
M2001 has 1 - to many relationsship with Session1.
My problem is that the "Session1" table is an external (linked) table from a
foreign database, and it's "DATE" field is, for some obscure reason, a text
field and NOT date field (although is displays a date in the regular access
format,
e.g. "20090809").
How can I get only the last (most recent) record , based on the DATE field,
of each person?
Thanks!