afternoon all,
I have a form that runs off a main query. This query brings thru info to do with several departments in my company. I have added buttons that allow the user to narrow down the records shown to a specific department (by using me.recordsource ="QryXdept" on the 'on click' event). this works absolutely fine (thanks to a post from paddyirishman i found on a search
).
what i am now trying to do is to do the same for reports generated from the form. how would i get the report to look at the current recordsource and use that query to base the report on?? i would also like to have a VB warning box, however that is within my capabilities (i think!).
thanks in advance for your time.
I have a form that runs off a main query. This query brings thru info to do with several departments in my company. I have added buttons that allow the user to narrow down the records shown to a specific department (by using me.recordsource ="QryXdept" on the 'on click' event). this works absolutely fine (thanks to a post from paddyirishman i found on a search

what i am now trying to do is to do the same for reports generated from the form. how would i get the report to look at the current recordsource and use that query to base the report on?? i would also like to have a VB warning box, however that is within my capabilities (i think!).
thanks in advance for your time.