A
Alasdair Fraser
I'm working in Access 2002/3. I want to avoid writing out a sequnece of
dates... I want a piece of VBA code which sequences all the dates, between
two given dates.
For example, putting in a Admission Date 23-mar-2003, and a Discharge Date
23-apr-2007, produces over 1400 numbers which I don't want to type.
The reason I need this sequence is to discover how many clients/patients
were in the hospice at the start and end of each month.
Currently this is a historical database, which is why I have a defined
start/end date. Ideally the resulting data would be copied to a subdatasheet
on each Prescription table.
Even better, is there any way to express a time period, which can be
queried, instead of a single date? I'm no expert and I can't write code.
Thanks in anticipation...
If this is too boring to answer, please refer me to somewhere which does.
For free.
dates... I want a piece of VBA code which sequences all the dates, between
two given dates.
For example, putting in a Admission Date 23-mar-2003, and a Discharge Date
23-apr-2007, produces over 1400 numbers which I don't want to type.
The reason I need this sequence is to discover how many clients/patients
were in the hospice at the start and end of each month.
Currently this is a historical database, which is why I have a defined
start/end date. Ideally the resulting data would be copied to a subdatasheet
on each Prescription table.
Even better, is there any way to express a time period, which can be
queried, instead of a single date? I'm no expert and I can't write code.
Thanks in anticipation...
If this is too boring to answer, please refer me to somewhere which does.
For free.