Question : Populate a Listbox with a query on MS Access

I have this query

SELECT FundName, LastContactDate, LastFileDate
FROM modhist
WHERE DateDiff("d", NZ(LastContactDate, #1/1/2010#), Date()) > 90;

I would like to show it like this inside a ListBox
modhist.FundName, You have not contacted this firm since "modhist.LastContactDate"

how would I do this.
Thanks

Answer : Populate a Listbox with a query on MS Access

The easiest way would be to add the string to your SELECT statement, and then set that as the control's source.

So, something like...

SELECT FundName & ", You have not contacted this firm since  & LastContactDate & "'"
FROM ...
Random Solutions  
 
programming4us programming4us