I have found similar issues, but I'm either daft or so green that I can't relate the solutions to my problem. Sorry.
I have a form with a subform. The form is designed to search for an employee and then display a few facts about the employee in the subform (e.g. first and last name, hire date, photo, etc). This part works.
Once the user finds the correct employee, they will then press a button to create a new incident record (in a table different from the employee table). This button will launch a new form that needs to have the data from form #1 (first and last name, hire date, etc) prefilled in form #2, and then the user will enter new data into other text boxes in form #2.
Example:
[FORM 1 : SUBFORM]
Last Name [textbox]
First Name [textbox]
Hire Date [textbox]
Photo [image of employee]
[FORM 2 : SUBFORM]
Last Name [populated from form 1]
First Name [populated from form 1]
and then there will be other text boxes that are filled out by the user and saved as a new incident record, which includes a list box filled from a table separate of the employee table.
One other thing is, form #1 should close automatically once form #2 is launched.
One thing that is shocking to me about Access is that every solution seems to require VBA code. Now I understand VBA but I'm shocked that in order to do what I feel are basic things VBA has to be written every time. Is there a non VBA way to do this?
Thank you!
I have a form with a subform. The form is designed to search for an employee and then display a few facts about the employee in the subform (e.g. first and last name, hire date, photo, etc). This part works.
Once the user finds the correct employee, they will then press a button to create a new incident record (in a table different from the employee table). This button will launch a new form that needs to have the data from form #1 (first and last name, hire date, etc) prefilled in form #2, and then the user will enter new data into other text boxes in form #2.
Example:
[FORM 1 : SUBFORM]
Last Name [textbox]
First Name [textbox]
Hire Date [textbox]
Photo [image of employee]
[FORM 2 : SUBFORM]
Last Name [populated from form 1]
First Name [populated from form 1]
and then there will be other text boxes that are filled out by the user and saved as a new incident record, which includes a list box filled from a table separate of the employee table.
One other thing is, form #1 should close automatically once form #2 is launched.
One thing that is shocking to me about Access is that every solution seems to require VBA code. Now I understand VBA but I'm shocked that in order to do what I feel are basic things VBA has to be written every time. Is there a non VBA way to do this?
Thank you!
Last edited: