[AccessD] Manually populate a listbox

Arthur Fuller artful at rogers.com
Sun Aug 15 12:21:55 CDT 2004


I'm having a senior moment. Given a form containing three controls:

txtDateFrom - starting date
txtDateTo - ending date
lstDates - to contain one row for all dates between from and to
inclusive

I want to manufacture all dates between the start and end date and
populate the listbox with same. I forget how to do it. I'm used to
grabbing data using SQL etc. and I suppose I could just build a table
containing loads of dates and query that, but I'm wondering how to
manufacture the listbox rows instead.

Will someone kindly nudge me in the right direction?

TIA,
Arthur






More information about the AccessD mailing list