Form linked via cmd button not working.

M

m stroup

frmBilletEdit data comes from tblBillet with PK = [slot] (form control =
[cboSlot])
frmEmployeeLink data comes from tblEmployee with FK = [slot] (frm control =
[txtSlot])

cmdViewEmployee on frmBilletEdit has the following

DoCmd.OpenForm "frmEmployeeLink", acNormal, , "[tblEmployees]![Slot] = " &
Me.cboSlot

On cmdViewEmployee Click, I get a dialog box asking me for
Forms!frmbilletView!cboSlot.

I have a frmBilletView but it is not associated with this button or either
of the forms I am working with.

Any suggestions?
 

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