emilybartholomew
Technical User
Is there any way to use a saved query as the control source for an item on a Report? I am trying to pull in the most recent note associated with a project, and would like to just define the control source as this:
SELECT note_text FROM Note_Log WHERE note_date = [max_date] AND project_id = [form_project]
where I already have the most current note date on the form.
I tried selecting the saved query from the Control Source properties list, but it doesn't work.
Another problem- I have Access 2000 and I haven't figured out how to connect my Visual Basic to the DB. I think I just need to figure out the Provider. Any ideas on how to do this would be really helpful too.
SELECT note_text FROM Note_Log WHERE note_date = [max_date] AND project_id = [form_project]
where I already have the most current note date on the form.
I tried selecting the saved query from the Control Source properties list, but it doesn't work.
Another problem- I have Access 2000 and I haven't figured out how to connect my Visual Basic to the DB. I think I just need to figure out the Provider. Any ideas on how to do this would be really helpful too.