Opening a form via combobox in a subfrm

soundsfishy

Registered User.
Local time
Today, 17:27
Joined
Sep 25, 2002
Messages
174
I have a Products form that has a subformwhich list manufactures etc. In the subform theres a combobox where users can change the manufacture The list is has its control source as ManufacturerID. I want to be able to select a manufacturer the subform to bring up the matching id in the manufacturer form so that details can be changed.

I tried but it didnt work.
DoCmd.Openform "frmManfacturer", , , "[ManufacturerID]=" & Me.ManufactorID.Column(0)
 
Last edited:
This should work...

Code:
Dim x As String

DoCmd.Openform "frmManfacturer", acNormal

Me.ManufacturerID = x
x = Forms!frmManfacturer!ManufacturerID
________
Honda fr-v specifications
 
Last edited:

Users who are viewing this thread

Back
Top Bottom