E
eggyong
i've created a form sbfStyleOperation with two combo boxes cboMachine and
cboOperationID. cboMachine contains machine types and cboOperationID contains
the "filtered" operations that uses the chosen machine at cboMachine. I got
this working fine by using Requery macro in the AfterUpdate event at
cboMachine and SELECT,FROM,WHERE at the row source of cboOperationID.
SELECT tblSOL.OperationID, tblSOL.OperationDescription FROM tblSOL WHERE
tblSOL.Machine=Forms!sbfStyleOperation!cboMachine;
Now, the problem is when i attached sbfStyleOperation as a subform to a main
form, after i select a machine in cboMachine, a messagebox pops asking me to
enter a parameter value for "Forms!sbfStyleOperation!cboMachine"
Hope somebody points me in the right direction. Thank you in advance
cboOperationID. cboMachine contains machine types and cboOperationID contains
the "filtered" operations that uses the chosen machine at cboMachine. I got
this working fine by using Requery macro in the AfterUpdate event at
cboMachine and SELECT,FROM,WHERE at the row source of cboOperationID.
SELECT tblSOL.OperationID, tblSOL.OperationDescription FROM tblSOL WHERE
tblSOL.Machine=Forms!sbfStyleOperation!cboMachine;
Now, the problem is when i attached sbfStyleOperation as a subform to a main
form, after i select a machine in cboMachine, a messagebox pops asking me to
enter a parameter value for "Forms!sbfStyleOperation!cboMachine"
Hope somebody points me in the right direction. Thank you in advance