I have two different databases. Both have initial login forms set up that is executed from the startup form. The first database can open the second when a button is clicked on the menu.
I would like to be able to pass in the UserID from the first database to the second when that button is clicked, bypassing the login form in the second and using the UserID there in the second.
I have looked at Interprocess Communications a little bit but have not seen any examples of how this might be done with one Access database calling up another.
I do not want to create a database object of the second database in the first in order to write a value to a table, nor write to a temporary file unless there is some way to confirm that there was not a second user also opening it at the same time. Possibly, along this line of thought, I could somehow get the process ID of the second database when opened by the first and from the first, which is still running, write that process ID and the UserID to a table or temporary txt file; then have the second database identify it's own process ID and match it to that specific record to get the UserID.
Any ideas? Thanks in advance for your input!