M
magmike
I have a code in the OnCurrent of a form that inserts the ID of the
company for that record into a table. The purpose of that table
(LastVisitedRecord) is a history of sorts. On that form, I have a
combo box that uses the following sql as row source -
SELECT DISTINCTROW ProspectTable.Company
FROM ProspectTable INNER JOIN LastVisitedRecord ON ProspectTable.ID =
LastVisitedRecord.lvCompanyID
ORDER BY LastVisitedRecord.lvID DESC;
The problem is, if i visit company Acme, Inc. a second time, it still
shows the first instance (at the bottom of the list) and I want it to
show the last instance as the distinct row. How can I do this?
magmike
company for that record into a table. The purpose of that table
(LastVisitedRecord) is a history of sorts. On that form, I have a
combo box that uses the following sql as row source -
SELECT DISTINCTROW ProspectTable.Company
FROM ProspectTable INNER JOIN LastVisitedRecord ON ProspectTable.ID =
LastVisitedRecord.lvCompanyID
ORDER BY LastVisitedRecord.lvID DESC;
The problem is, if i visit company Acme, Inc. a second time, it still
shows the first instance (at the bottom of the list) and I want it to
show the last instance as the distinct row. How can I do this?
magmike