I have a database I created for class registration for a small group. It is used to put registration information in there as well as pull queried reports to show attendance as well as if they registered or were walk-ins.
Here are the tables I created:
Language
Instructor
Session
Subsession (subdatasheet of Session)
Classes (holds all the data)
Here is what my table fields are in Classes:
ID
Language (linked to Language table)
Instructor (linked to Instructor table)
Folder Permissions
Session (linked to Session table)
Subsession(linked to subsession table)
Date
Day
Time
Attended (Yes/No)
Registered (Yes/No)
Walk-In (Yes/No)
I created the Walk-In field because it is needed for the reports I need to create.
I have created a query and can get it to pull by date range
Between [Forms]![test]![RegBegDt] And [Forms]![test]![RegEndDt]
but I can't get it to bring up the absolute value for each of the 3 YES/NO fields so that they are not negative values by typing in
SUM(Abs(FIELD))
This criteria does not work.
As well, I created a form where a user can input the date range and it opens the query, but how do I get the command button to just run the query and then automatically open the report? Is it something I can create as a macro?
The report needs to pull the data by session, subsession, and then date. I need the totals for Attended, Registered, and Walk-In for each session, and then a complete total for all sessions combined.
Does this make sense to anyone??? I am really new at this and trying to figure this out! I am definitely a novice! Please help?!?!
Here are the tables I created:
Language
Instructor
Session
Subsession (subdatasheet of Session)
Classes (holds all the data)
Here is what my table fields are in Classes:
ID
Language (linked to Language table)
Instructor (linked to Instructor table)
Folder Permissions
Session (linked to Session table)
Subsession(linked to subsession table)
Date
Day
Time
Attended (Yes/No)
Registered (Yes/No)
Walk-In (Yes/No)
I created the Walk-In field because it is needed for the reports I need to create.
I have created a query and can get it to pull by date range
Between [Forms]![test]![RegBegDt] And [Forms]![test]![RegEndDt]
but I can't get it to bring up the absolute value for each of the 3 YES/NO fields so that they are not negative values by typing in
SUM(Abs(FIELD))
This criteria does not work.
As well, I created a form where a user can input the date range and it opens the query, but how do I get the command button to just run the query and then automatically open the report? Is it something I can create as a macro?
The report needs to pull the data by session, subsession, and then date. I need the totals for Attended, Registered, and Walk-In for each session, and then a complete total for all sessions combined.
Does this make sense to anyone??? I am really new at this and trying to figure this out! I am definitely a novice! Please help?!?!