DB Open does not change user (1 Viewer)

jedder18

Just Livin the Dream!
Local time
Yesterday, 19:42
Joined
Mar 28, 2012
Messages
135
Using Access 2007 DB windows 7

Main form on open of db collects the username from the environ.
text Field(networkid) is populated on form from the function

1. On Open of DB it opens with a frmuserid which contains a text box holding the network ID which is derived from function fosusername()
2. The value of Forms!frmuserid!networkid (frmuserid! is the form that opens when the DB is 1st opened) is populated with the fosusername() in the networkid text box

I seem to only be having the issue of the db opeing with my network ID no matter who opens the db. Somehow I need to shut off that 1st ID when close db or update the form field on open.

Spending way too much time on this :banghead:
 

jedder18

Just Livin the Dream!
Local time
Yesterday, 19:42
Joined
Mar 28, 2012
Messages
135
Not yet...but will be if I ever get this to work.
 

GinaWhipp

AWF VIP
Local time
Yesterday, 22:42
Joined
Jun 21, 2011
Messages
5,900
Well, that is your problem... that field is holding the ID of the one who opened it first. You need to split it *for it to work*.
 

jedder18

Just Livin the Dream!
Local time
Yesterday, 19:42
Joined
Mar 28, 2012
Messages
135
Isn't there some way to move to the next record?
When the field is populated on the form it is populating a table.
 

GinaWhipp

AWF VIP
Local time
Yesterday, 22:42
Joined
Jun 21, 2011
Messages
5,900
Think about it... how? When the Form opens it's then a *snapshot* of that point in time unless you requery or refresh which even that I'm not sure will work. If this is the last thing then split and test with a limited amount of Users.
 

Users who are viewing this thread

Top Bottom