B
Bob Quintal
Simple as 1, 2, 3.....Version: Access 2000
My company issues an updated telephone list monthly with
hundreds of employees.
So far I copy the original telephone list into a "clean" excel
sheet. Then I create a linked table in my database so that my
table is always updated. Table Name "TelephoneList"
Goal: Create and print a report for the employees that I want.
I don't need a 5 page telephone sheet. I want to be able to
just check a box besides the names that I want. And of course
every time the table is updated I don't want to recheck the
same employees
But I'm having trouble finding an easy solution to only print
the records that I want.
I could easily add a yes/no field in the table, but I can't
because it's linked.
Am I missing a simple solution???
Thanks
Dan
First import the table to the database. Go into design view and
delete all the columns except the one that uniquely identifies
each employee. Add the checkbox column (a Yes/No type field)
1) Create a delete query that removes only the rows that exist
in the imported table.but not in the spreadsheet
2) Create an Insert query that adds the rows that exist in the
spreadsheet but not in the local table.
3) create a query that looks at the data in the spreadsheet plus
the yes/no field in the local table to use as your report's
source.
Now when yhe new spreadsheet comes out, just run the three
queries in order.