Hi,
Just had to share this...
Been reading Alison Balter's Mastering Access 2000 Development - fantastic book and highly recommended.
She shares a trick on how to give users access to fields within tables without giving them access to other confidential fields within tables.
User is not granted rights to a table.
A query is created by someone with access rights to the table.
The query uses the non confidential fields. At the very end of the query, in SQL, write:
WITH OWNERACCESS OPTION;
This tells Access that whoever runs the query does so with the Query owners access rights!
Fantastic!
If you want more detail, buy the book!
Frozbie
(Mark)
I got my name back!
Just had to share this...
Been reading Alison Balter's Mastering Access 2000 Development - fantastic book and highly recommended.
She shares a trick on how to give users access to fields within tables without giving them access to other confidential fields within tables.
User is not granted rights to a table.
A query is created by someone with access rights to the table.
The query uses the non confidential fields. At the very end of the query, in SQL, write:
WITH OWNERACCESS OPTION;
This tells Access that whoever runs the query does so with the Query owners access rights!
Fantastic!
If you want more detail, buy the book!
Frozbie
(Mark)
I got my name back!