P
polman
After over 16 Hours buzzing with a problem I give up. I need some
expert here (I think). Here it goes...
I need to run a query from a subform (it took me very long time to find
that this is the buzz...). The condition of this query is sited on a
combobox in that subform. So the SQL for this condition look like this:
Forms!ExamForm!ExamTypeCombo.Value (I need the current text value of
"ExamTypeCombo" combobox). Well, it seems that access does not
understand this, probably because, this combo box sited in a subform so
it prompts to enter a value on a dialogbox: Enter Value
Forms!ExamForm!ExamTypeCombo.Value.
Which is the teak here to tell access what I want (That is the value of
a combobox in a subform)? Either as a condition in SQL form and/or in
VBA code. (I apologize... I 'm a new in access)
PS. Of course the same code works fine when the subform (containing the
combobox) is opend on its own window.
expert here (I think). Here it goes...
I need to run a query from a subform (it took me very long time to find
that this is the buzz...). The condition of this query is sited on a
combobox in that subform. So the SQL for this condition look like this:
Forms!ExamForm!ExamTypeCombo.Value (I need the current text value of
"ExamTypeCombo" combobox). Well, it seems that access does not
understand this, probably because, this combo box sited in a subform so
it prompts to enter a value on a dialogbox: Enter Value
Forms!ExamForm!ExamTypeCombo.Value.
Which is the teak here to tell access what I want (That is the value of
a combobox in a subform)? Either as a condition in SQL form and/or in
VBA code. (I apologize... I 'm a new in access)
PS. Of course the same code works fine when the subform (containing the
combobox) is opend on its own window.