How to make a form uploading the same data form original form to o

G

Guest

Hi,
I have to forms, all employees’ list form and display employee data form.
What I need is how can make the display employee data form to upload the same
data which is being chosen from the “all employees list form†for the
specific employee to “Display employee data formâ€
Your cooperation is highly appreciated
Thx.
 
L

Larry Linson

ghost said:
Hi,
I have to forms, all employees' list form and display employee data form.
What I need is how can make the display employee data form to upload the
same
data which is being chosen from the "all employees list form" for the
specific employee to "Display employee data form"
Your cooperation is highly appreciated

If you have a Field which uniquely identifies the Employee Record (for
purposes of illustration, call it EmployeeID, and make certain it is
included in the RecordSource of the "All Employees List Form"). In the
Double-Click event of each Control displayed in the continuous-forms view of
the "All Employees List Form" and in the background area visible around
those Controls, put VBA code similar to the following.

DoCmd.OpenForm "frmEmployeeDataDetail", , , "[EmployeeID] = " &
Me.EmployeeID

where you replace "frmEmployeeDataDetail" with the name of your "Display
employee data form".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top