Using a combo box as report criteria (1 Viewer)

IainG

Registered User.
Local time
Today, 11:42
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:
 

Uncle Gizmo

Nifty Access Guy
Staff member
Local time
Today, 11:42
Joined
Jul 9, 2003
Messages
16,362
What does MsgBox " >>> " & [Forms]![Estimate Details]![Estimate]

Show?
 

boblarson

Smeghead
Local time
Today, 03:42
Joined
Jan 12, 2001
Messages
32,059
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.
 

IainG

Registered User.
Local time
Today, 11:42
Joined
May 6, 2009
Messages
25
Fantastic,
I used the msgbox to find out that I had indeed bound the ID field!

Many thanks for your help guys.

:eek:
 

Users who are viewing this thread

Top Bottom