I wanted to let the user choose which jobs he wanted on his reports and save the selection for the future so i created a new table .
tblJobView
- JobID as FK
- View as yes/no field
It works fine (the report shows the jobs selected only), the only downside is it shows null state checkboxes (as expected because record doesn't exist) so it confuses the user. However for some reason in the query view shows blanks when record doesn't exist.
So is there a way to show Blank checkboxes instead of Null checkboxes??
I was thinking of creating a new field for the job table but, since i have many reports, i would have to create one field for each one. Instead i would create a Report Table and add ReportID as FK on tblJobView but i will still have the same null checkboxes.
Attached the form and query where you can see one shows the nulls and the query doesn't.
Edit:
Im using this for the query
SELECT qryActiveJobs.JobID, qryActiveJobs.JobName, tblJobView.View
FROM qryActiveJobs LEFT JOIN tblJobView ON qryActiveJobs.JobID = tblJobView.JobID;
Because i dont have a record on tblJobView for each in qryActiveJobs. tblJobView records will be created when needed (or when the user selects it at least once in the form).
the form picture attached is using the query next to it.
tblJobView
- JobID as FK
- View as yes/no field
It works fine (the report shows the jobs selected only), the only downside is it shows null state checkboxes (as expected because record doesn't exist) so it confuses the user. However for some reason in the query view shows blanks when record doesn't exist.
So is there a way to show Blank checkboxes instead of Null checkboxes??
I was thinking of creating a new field for the job table but, since i have many reports, i would have to create one field for each one. Instead i would create a Report Table and add ReportID as FK on tblJobView but i will still have the same null checkboxes.
Attached the form and query where you can see one shows the nulls and the query doesn't.
Edit:
Im using this for the query
SELECT qryActiveJobs.JobID, qryActiveJobs.JobName, tblJobView.View
FROM qryActiveJobs LEFT JOIN tblJobView ON qryActiveJobs.JobID = tblJobView.JobID;
Because i dont have a record on tblJobView for each in qryActiveJobs. tblJobView records will be created when needed (or when the user selects it at least once in the form).
the form picture attached is using the query next to it.
Attachments
Last edited: