Hi,
I have a form that contains 2 combo boxes - cboCostCenter and cboMachineCenter. cboMachineCenter is dependent upon the value selected in cboCostCenter. There is a Close button on the form.
In the On Current event of the form, I have the following:
cboMachineCenter.Requery
On its own, the form works perfectly. But,I added it as a button option (open form) on my Switchboard, and now when I close the form, it asks for a parameter for cboMachineCenter. It still behaves fine when I open it manually.
Does anyone know what could be causing this???
I have a form that contains 2 combo boxes - cboCostCenter and cboMachineCenter. cboMachineCenter is dependent upon the value selected in cboCostCenter. There is a Close button on the form.
In the On Current event of the form, I have the following:
cboMachineCenter.Requery
On its own, the form works perfectly. But,I added it as a button option (open form) on my Switchboard, and now when I close the form, it asks for a parameter for cboMachineCenter. It still behaves fine when I open it manually.
Does anyone know what could be causing this???