Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forms routings...

Status
Not open for further replies.

AFKAFB

Programmer
Aug 22, 2005
26
US
Hi
I've a users form for say two depts. Finance and Marketing. Initially it was planned that one dept would process the data and the other could only view the input. Responsibilities have now changed so both users may have to access the same forms for data input.
My problem is that whilst i can use the docmd commanmd line to get the finance or marketing user to go down separate routes to the shared form on the way back it creates problems as i'm using simple docmd functions. I guess i could create identical forms therefore this will send the user only back to finance or marketing and not a marketing user back to finance but having duplicate forms seems daft and error prone.
if this is not clear enough please let me know.
 
Not quite sure what you are getting at, buy OpenArgs may allow you to track who came from where. If I have missed your point, it may help if you post a little code.
 
You may also consider the 4th argument of the DoCmd.OpenForm method to filter the form's RecordSource to the correct dept.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top