Username to Drive Form Data

stubby100

New Member
Joined
Dec 1, 2005
Messages
5
Helllo All:

I am a relativly new user to Access and as such have been visiting thebullitin boards for weeks now finding answers to some pretty simple questions as well as finding code and designs that suit the needs of my project. So thank you for all of the previous postings and for any help you can give on my current problem.

Currently I am developing a database for the collection and analysis of budget forecast data. I have adapted a username and password utility that was previously refrenced on this site. What I am am having trouble with is utilizing the userid to display within a listbox those projects that the user is responsible for.

I currently have a variety of tables set up including

tblUserDetails
tblUserLevel (this is used to limit access to various menus and functions)
tblProjectInfo

I know if I can load a page with the value of the current UserID i can then limit the list box to Projects whos owners UserID matches that current UserID

What I cannot figure out is how to get the form to fill that UserID field upon loading with the Current Users ID.

Please Note that I am not using the user managment system that is built in to excel there for CurrentUSer() command is not relvant (well at least that is my understanding)

Thank you in advance for any assistance.

Cheers,
Matthew
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,224,884
Messages
6,181,555
Members
453,053
Latest member
Kiranm13

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