Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I refer to a control on an unbound report??

Status
Not open for further replies.

jeffmoore64

Programmer
Mar 23, 2005
207
US
How do I refer to a control on an unbound report??

I have a text box called txt_proj. I have a some code behind the report that I want to use to populate my fields. I keep getting the error "you cant assign a value to this object"

txt_proj = !fld_proj

TIA JEff
 
You probably have something set as the Control Source for that textbox and the report is saying, you can't have a Control Source and set the value using VBA at the same time.

Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top