sending values to report

Stefanw

Registered User.
Local time
Today, 17:02
Joined
Jan 15, 2007
Messages
20
Hi,

I am trying to send a value to my report from a form. In the report I have a unbound textbox called "contact". On my form I have a combobox called "cbocontact". When i am trying to open my report by pressing the button, the value doesn't appear into my report. What's wrong???

DoCmd.OpenReport "finances", acViewPreview
With Reports![finances]
.FilterOn = True
.contact.Value = Me.cbocontact.Value
End With

Thanks
 
In "cbocontact" field propertis CONTROL SOURCE put;
[Forms]![FormName]![fieldName]
 
thanks

thanks!! It worked...

Stefan
 

Users who are viewing this thread

Back
Top Bottom