automatically assign value to query

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

What's wrong with this query?! 5
Query Uneditable connected to SQL Backend 1
Query for combo box 2
Parameter Query 8
Macro to VBA 20
Query Help 2
URGENT HELP REQ for union query (pt2) 4
Count and assign 2

Top