driver7408
Registered User.
- Local time
- Yesterday, 18:47
- Joined
- Feb 7, 2010
- Messages
- 72
BORING PART:
First off, I wanna say thanks to the help I have had in the past. I heard that my first database is still in full use without a hitch, and has just passed its 2 year anniversary. This forum is a godsend, and without you guys' help it would not have been so successful.
I am still lacking at VBA. I plan to work with it more in my spare time, but currently, most of the macros do what I need. My databases rely more on clever, user friendly form creation than anything.
ISSUE:
I am currently building a database for personnel that will require 65 records (personnel) max. I am using Social Security Numbers as the PK. I made a popup form that lets them select their name from a combo box in order to login to the database. In this form, after selecting their name from the CB, they logging input their SSN(password), the recordset acknowledges their permissions based on pre-designated controls. Some are admin and will have admin access after logging in, so they will be taken to the appropriate form. This is all done within the login form.
My issue is that I need a way after they log in, for the new form to go to their (the same) record, while the log in form closes. This code has to fire when the new form opens. I want to open that new form, and that new form be the object that looks at the old form, and opens the recordset based on the SSN(PK) that they entered on the log in form. I want to open a new form that will go to the same record from the last form, but I want the code to fire on the form that opens, rather than the first form. I have scoured the internet and only found one item, and the VBA for that wasn't even close.
Does this make any sense? lol...
First off, I wanna say thanks to the help I have had in the past. I heard that my first database is still in full use without a hitch, and has just passed its 2 year anniversary. This forum is a godsend, and without you guys' help it would not have been so successful.
I am still lacking at VBA. I plan to work with it more in my spare time, but currently, most of the macros do what I need. My databases rely more on clever, user friendly form creation than anything.
ISSUE:
I am currently building a database for personnel that will require 65 records (personnel) max. I am using Social Security Numbers as the PK. I made a popup form that lets them select their name from a combo box in order to login to the database. In this form, after selecting their name from the CB, they logging input their SSN(password), the recordset acknowledges their permissions based on pre-designated controls. Some are admin and will have admin access after logging in, so they will be taken to the appropriate form. This is all done within the login form.
My issue is that I need a way after they log in, for the new form to go to their (the same) record, while the log in form closes. This code has to fire when the new form opens. I want to open that new form, and that new form be the object that looks at the old form, and opens the recordset based on the SSN(PK) that they entered on the log in form. I want to open a new form that will go to the same record from the last form, but I want the code to fire on the form that opens, rather than the first form. I have scoured the internet and only found one item, and the VBA for that wasn't even close.
Does this make any sense? lol...