J
Jody
Hi,
I have a form in my database that folks have been utilizing for the past
couple of years. All users see the same recordset and can insert and update
using an instance of the same form in each of their front ends. I would like
to keep the process of inserting, viewing and updating in the single form
since they are fully trained and comfortable with doing so.
The company now has a privacy concern and would like user 1 to see a
different set of records than user 2. Therefore, I am trying to uniquely
filter the records that each user can access through the form. The goal is
to allow one user to view, update, and insert into, a different query
recordset than another user. However, both users will still be indirectly
working from a common underlying table recordset. In other words via a
complex query based on the common table, the form recordset will be unique.
Using the design grid, I built a query behind the form that has a join to
another query. The second query has dlookup criteria (to the user's ID which
I store in a Front End table for that user). By joining the 2 queries, the
recordset is filtered correctly.
The problem is that the same join that filters records also prohibits
inserting and updating. I can only view the recordset. But the form has to
have the capability of insert and update to be useful.
Can anyone suggest the best approach for inserting, updating and viewing
into a filtered recordset?
Thanks,
Jody
I have a form in my database that folks have been utilizing for the past
couple of years. All users see the same recordset and can insert and update
using an instance of the same form in each of their front ends. I would like
to keep the process of inserting, viewing and updating in the single form
since they are fully trained and comfortable with doing so.
The company now has a privacy concern and would like user 1 to see a
different set of records than user 2. Therefore, I am trying to uniquely
filter the records that each user can access through the form. The goal is
to allow one user to view, update, and insert into, a different query
recordset than another user. However, both users will still be indirectly
working from a common underlying table recordset. In other words via a
complex query based on the common table, the form recordset will be unique.
Using the design grid, I built a query behind the form that has a join to
another query. The second query has dlookup criteria (to the user's ID which
I store in a Front End table for that user). By joining the 2 queries, the
recordset is filtered correctly.
The problem is that the same join that filters records also prohibits
inserting and updating. I can only view the recordset. But the form has to
have the capability of insert and update to be useful.
Can anyone suggest the best approach for inserting, updating and viewing
into a filtered recordset?
Thanks,
Jody