Hi All,
I have a subform which has a find record combo with selection criteria to restrict the combo to a VendorID on a parent form.
However, I also wish to use the subform independently, but on doing so, because the combo box is no longer being supplied a VendorID value, then a “Enter Parameter Value” box appears. I can simply cancel this and continue to use the subform with no problems, but is there a neat way of getting around this issue?
I could duplicate the subform and remove the criteria from the combo box on one, or create two stand alone queries, one with and one without selection criteria but it seems a bit of overkill.
Is there a way of suppressing this “Enter Parameter Value” message box or passing a default value to the query should a VendorID code not be available?
Bit rusty on Access and apols if my DB terminology and logic is unconventional?!
Any ideas gratefully received.
Thanks
I have a subform which has a find record combo with selection criteria to restrict the combo to a VendorID on a parent form.
However, I also wish to use the subform independently, but on doing so, because the combo box is no longer being supplied a VendorID value, then a “Enter Parameter Value” box appears. I can simply cancel this and continue to use the subform with no problems, but is there a neat way of getting around this issue?
I could duplicate the subform and remove the criteria from the combo box on one, or create two stand alone queries, one with and one without selection criteria but it seems a bit of overkill.
Is there a way of suppressing this “Enter Parameter Value” message box or passing a default value to the query should a VendorID code not be available?
Bit rusty on Access and apols if my DB terminology and logic is unconventional?!
Any ideas gratefully received.
Thanks