automatically assign value to query

  • Thread starter Thread starter cheekyblue
  • Start date Start date
C

cheekyblue

Hello,

Ive got a database where staff login just using their name, and the login
button has a macro assigned as follows
Condition : Not IsNull([cboCurrentEmployee])
Action : SetTempVar
Arguments : CurrentUserID, [cboCurrentEmployee]

Certain contacts in my database are assigned to a member of staff and call
sheets are set up using a query that requests that member of staffs name. Is
there a way of automatically setting the criteria of the query to only show
clients that are assigned to the member of staff that has logged in?

Thanks, please let me know if i need to explain this further....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Query Uneditable connected to SQL Backend 1
Exclude items in a query 2
SQL SELECT WHERE Problem 1
Fill in the date gaps 4
Parameter Query 8
Ranking Query Results 4
queries based on queries 6
Select Record Query 1

Back
Top