Locopete99
Registered User.
- Local time
- Today, 12:41
- Joined
- Jul 11, 2016
- Messages
- 163
Hi Guys,
I'm having a bit of trouble with a Docmd.openform thats not working.
The code I have is
I just get an input box asking the value of Japan Ref
This is placed on the details property of the report.
It should open the Enquiry B log form at the record that matches the Japan Ref.
Japan Ref is my primary Key as no two references will be the same.
I have a similar report that uses
This works fine.
I've tried the following but doesn't work either
I'm having a bit of trouble with a Docmd.openform thats not working.
The code I have is
Code:
DoCmd.OpenForm "Frm_Enquiry B Log", acNormal, "", "JAPAN_REF=" & Me.JAPAN_REF
I just get an input box asking the value of Japan Ref
This is placed on the details property of the report.
It should open the Enquiry B log form at the record that matches the Japan Ref.
Japan Ref is my primary Key as no two references will be the same.
I have a similar report that uses
Code:
DoCmd.OpenForm "Frm_Enquiry B Log", acNormal, "", "ID=" & Me.ID
This works fine.
I've tried the following but doesn't work either
Code:
DoCmd.OpenForm "Frm_Enquiry B Log", acNormal, "", "ID=" & Me.JAPAN_REF