J
Jen
I'm having trouble with what should be a simple thing.
I have a primary key that's made up of three fields
(BookNumberPre, BookNumber, and BookNumberMod). In my
form, I want to use a button to open a popup form showing
some info for the currently open record. I've put the
following on the button:
DoCmd.OpenForm "BorrowingRecords", , , BookNumberPre = Me!
BookNumberPre And BookNumber = Me!BookNumber And
BookNumberMod = Me!BookNumberMod
But no matter what record is currently selected, it opens
the popup for the first record. Any idea what I'm doing
wrong?
I have a primary key that's made up of three fields
(BookNumberPre, BookNumber, and BookNumberMod). In my
form, I want to use a button to open a popup form showing
some info for the currently open record. I've put the
following on the button:
DoCmd.OpenForm "BorrowingRecords", , , BookNumberPre = Me!
BookNumberPre And BookNumber = Me!BookNumber And
BookNumberMod = Me!BookNumberMod
But no matter what record is currently selected, it opens
the popup for the first record. Any idea what I'm doing
wrong?