Using a combo box as report criteria

IainG

Registered User.
Local time
Today, 13:59
Joined
May 6, 2009
Messages
25
Can someone tell me how to use a combo box from a form as the criteria for a report? My report is using a select query and this is the code from the criteria box in the query
Like [Forms]![Estimate Details]![Estimate]
My report come up blank!:mad:
 
What does MsgBox " >>> " & [Forms]![Estimate Details]![Estimate]

Show?
 
Like [Forms]![Estimate Details]![Estimate] & "*"

but check to see that your combo is returning the value you want. It may be doing something different (like using a key ID where you think it should be text). If so, you can change the bound column from 1 to 2 and see if that helps.
 
Fantastic,
I used the msgbox to find out that I had indeed bound the ID field!

Many thanks for your help guys.

:o
 

Users who are viewing this thread

Back
Top Bottom