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!

Programming Help :(

Status
Not open for further replies.

generaluser

Technical User
May 24, 2002
79
US
Here is my program:

Function Rating(Text186)
If Text186 = 0 Then
Reports!rpt_scorecard![Quality_rating] = "No Score"
ElseIf Text186 >= 3 Then
Reports!rpt_scorecard![Quality_rating] = "H"
ElseIf Text186 > 0 Then
Reports!rpt_scorecard![Quality_rating] = "L"
End If
End Function

Text186 - an unbound textbox in my report
[Quality_rating] - is a field in my report

When I go to compile it, it tells me that I can't assign a
value to this object. If anyone knows what's wrong please let me know.

 
Make sure the control source is blank for the text box Quality_Rating
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top