purplebroom
IS-IT--Management
I have developed a small access application to record the results of data backup jobs. I would like to automate the process used to generate a report for a given timescale, ie between specific dates. I had previously done this by using a query as the record source for the report and entering "BETWEEN [Please Enter Start Date] AND [Please Enter End Date]" in the criteria field of the query. This worked effectively but looks ugly because it just brings up the message in the form of a VB Prompt and I would like to modify how it looks.<br><br>So far I have managed to design a form with a text box titled start, the forms record source is linked to the table where all the data is kept. On the form is a button linked to a macro which opens the report. The reports record source is the query which I have now modified the criteria to read "BETWEEN forms![formname]![start] AND =NOW()".<br><br>When I run this it opens the right report but with no data in it, I suspect it`s not picking up the data from the form, but I am well and truly stumped.<br><br>Any suggestions gratefully recieved<br><br>rgds<br>purplebroom