I'm pretty new to Access and VB and also know fairly little (more like nothing) about SQL.
I've got three queries that shows similar fields, the main ones being:
FIRST QUERY
Name
ID
Active member (criteria: yes)
Division in which a person belongs
Preliminary First Aid (PFA) due in 30 days
PFA due in 60 days
PFA due in 90 days
(the last 3 which are calculated fields which is based on when they actually sat the course)
SECOND QUERY
Name
ID
Active member (criteria: yes)
Division in which a person belongs
Senior First Aid (SFA) due in 30 days
SFA due in 60 days
SFA due in 90 days
(the last 3 which are calculated fields which is based on when they actually sat the course)
THIRD QUERY
Name
ID
Active member (criteria: yes)
Division in which a person belongs
Advanced First Aid (AFA) due in 30 days
AFA due in 60 days
AFA due in 90 days
(the last 3 which are calculated fields which is based on when they actually sat the course)
I've got a form that lets me select which report i want (PFA, SFA or AFA) and i want one report layout with unbound text boxes that is sorted by Division.
The problem is, how do i program the unbound text boxes in the report to refer to the relevant fields as i dont know how to link the control source either through SQL or through VB.
Thanks