It looks as if, after the first 2 fields, the next 15 are all pretty
much of the same type. I don't know where you're getting those data --
I hope they aren't stored as a collection of same-type fields in a
Table. (If so, you'll go to a lot of extra work maintaining that Table
-- easier would be putting them into a separate Table in which each
record contains the name of one of the jobs, the job data that you
already have, and a link to the employee, such as via [Clock Number].)
You might want to define a Crosstab Query to display the information
you're talking about. Employees would be listed in the row headings,
and jobs would be listed in the column headings. In that kind of Query,
you can specify which columns get displayed, and thus can hide the ones
you don't want to see.
You might want to create a Table for jobs. If so, I suggest including a
name for the job and a unique identifier (perhaps Autonumber data type),
plus possibly other information that is characterized by a job, rather
than by a person. Skill code needed to do that job is one type of datum
that comes to mind.
-- Vincent Johns <
[email protected]>
Please feel free to quote anything I say here.
netadmin wrote:
How can you 'Not' have the column headings show in a query that contains no
returned data?
It's a simple query that contains the [Employee Name], [Clock Number], and
about 15 other columns of named job's. (Maybe I need to create a table for
jobs?)
If employee has done Job 'X' then just show that column and not the other 14
blank ones.
Thanks!