B
BBC via AccessMonster.com
I have combobox (on a subform used as a record selector) filled by a query
that under certain circumstances cannot have any action associated with it,
ie the query must not even execute.
I have disabled and locked the control but the query still happens late in
the form load process (but not directly by my VBA code). The reason I need
to stop it is that the query references a control in a Form that isn't loaded
under these circumstances. ie I have 2 forms that load this same subform
which use 2 different record selection techniques so when the alternate is
being used this one must not happen.
The "error" appears as a you must "fill in the query parameter" requesting
the other form's information
How can I stop this (maybe programatecially setting the comboboxes rowsource
to the query or null or will that give an error)
About as clear as mud ?
that under certain circumstances cannot have any action associated with it,
ie the query must not even execute.
I have disabled and locked the control but the query still happens late in
the form load process (but not directly by my VBA code). The reason I need
to stop it is that the query references a control in a Form that isn't loaded
under these circumstances. ie I have 2 forms that load this same subform
which use 2 different record selection techniques so when the alternate is
being used this one must not happen.
The "error" appears as a you must "fill in the query parameter" requesting
the other form's information
How can I stop this (maybe programatecially setting the comboboxes rowsource
to the query or null or will that give an error)
About as clear as mud ?