Straight forward button.

  • Thread starter Thread starter Herman_KLF
  • Start date Start date
H

Herman_KLF

Hi

I am sure this will be reletively easy to solve. I created a button on a
form (list of employees) which i would like to open a detailed form of the
particular employee. That form is also already created.

I used the button creation wizard to do this, specifying "Open the form and
specify specific data to display." Then i link the EmpCode field on the one
form to the EmpCode field on the other. But for some reason it does not open
the correct employee's details when pressed.

Thanks
Herman
 
Herman_KLF said:
Hi

I am sure this will be reletively easy to solve. I created a button on a
form (list of employees) which i would like to open a detailed form of the
particular employee. That form is also already created.

I used the button creation wizard to do this, specifying "Open the form
and
specify specific data to display." Then i link the EmpCode field on the
one
form to the EmpCode field on the other. But for some reason it does not
open
the correct employee's details when pressed.

Thanks
Herman

Post your code please.

Keith.
www.keithwilby.co.uk
 
Hi Keith

Nope sorry i didn't insert any code, i only used the Button wizard. But if i
take a look at the properties of the button, under the OnClick Event in the
macro properties it says:

Needs, Form, , "[Empl Code]=" & [Empl Code], , Normal

Regards
 
Back
Top