D
DMUM via AccessMonster.com
Hello, I am trying to open a report based upon a division name choice made by
the user on a form that contains a combo box and a command button. The form
is opened form another form by usin Docmd.openform formname, acnormal
the combobox form opens fine. The combobox on the form populates fine and is
created by using a query for the source that is grouped to remove any
duplicates of the same name.
When the user clicks on the button it should open a report which has a query
as the source. The query uses the name in the combo form/combobox to build
the criteria for the query.
Clicking on the button produces this error - Microsoft Jet database engine
does not recognize
[Forms]![frm_DivisionList]![cboDivBreakdown] as a valid name or expression.
I have never run into this before. Can anyone see where I may be going wrong?
I have used this criteria string many times with no problems.
I am using Access 2002 with SP3, does anyone know if this version has any
issues with this string?
Thanks
the user on a form that contains a combo box and a command button. The form
is opened form another form by usin Docmd.openform formname, acnormal
the combobox form opens fine. The combobox on the form populates fine and is
created by using a query for the source that is grouped to remove any
duplicates of the same name.
When the user clicks on the button it should open a report which has a query
as the source. The query uses the name in the combo form/combobox to build
the criteria for the query.
Clicking on the button produces this error - Microsoft Jet database engine
does not recognize
[Forms]![frm_DivisionList]![cboDivBreakdown] as a valid name or expression.
I have never run into this before. Can anyone see where I may be going wrong?
I have used this criteria string many times with no problems.
I am using Access 2002 with SP3, does anyone know if this version has any
issues with this string?
Thanks