User not latest from table

David B

Board Regular
Joined
Jun 3, 2006
Messages
75
HI folks.

I have a opening form where the user can select from a series of buttons for what they need to do.

Under each button is a new form where they enter username and PW.
If all is in order they move to the next form/screen.

That all works a treat thanks to some help in this forum.

My problem is when the next screen opens the first field on the new form is the name of that signed in person. Unfortunately it always shows the last person. If you close that form and reopen it again the new users is shown.

I think the problem is I am opening the new form faster than the user name is saved in its table. I have tried on current txtUser = 'The filed from its table'. I tried on load and I tried before update. In each case it always shows the last user and not the current logged in/signed in user. As I say close the screen/form and reopen it and it shows the updated user. Any ideas how to get the current txtUser to show without closing the form and reopening it?

Hope this makes some sense to someone.

look forward to some ideas.
david
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Forum statistics

Threads
1,215,008
Messages
6,122,672
Members
449,091
Latest member
peppernaut

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top