Jonny45wakey
Member
- Local time
- Today, 22:03
- Joined
- May 4, 2020
- Messages
- 48
Hi
I have a form "frmDayshift" which has field [shiftdate], this form has a cmd button when clicked i want it to open a second form "frmdayshiftprintcheck" to same record date as form 1 [shiftdate], form 2 date field = [checkdate]
ive tried vba such as:-
DoCmd.OpenForm "frmDayShiftprintcheck", , , "[CheckDate]=#" & Me.ShiftDate & "#"
But is doesnt seem to open to the right record.
Any ideas welcomed
Many thanks
Jonny
I have a form "frmDayshift" which has field [shiftdate], this form has a cmd button when clicked i want it to open a second form "frmdayshiftprintcheck" to same record date as form 1 [shiftdate], form 2 date field = [checkdate]
ive tried vba such as:-
DoCmd.OpenForm "frmDayShiftprintcheck", , , "[CheckDate]=#" & Me.ShiftDate & "#"
But is doesnt seem to open to the right record.
Any ideas welcomed
Many thanks
Jonny