Microsoft
Software
Hardware
Network
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
publishing websites in TMG 2010
Microsoft access 2010 pegs the CPU
HP StorageWorks Modular Smart Array 1000 Question
How do I delete some lines in a text file?
ESXi compatible hardware
Foxpro and using Excel 2010 as an object
Sum if from access data base
GP folder redirection. cant turn off
Dynamic textbox template column in gridview
Lotus Notes 8.5