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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Assigning Function Value to Report Field

Status
Not open for further replies.

vr

Programmer
Oct 14, 1999
54
US
I am trying to assign a value returned from a function to an unbound field on a report via VBA.

This code:

Me.Text78 = Report10d(SumDateFiled)

Returns:

"Can't assign value to this object."

Obviously, I have not done this before.

Any help would be greatly appreciated.
 
Rather than assign it in vba, make the controlsource of the unbound field this:

= Report10d(SumDateFiled)

HTH Joe Miller
joe.miller@flotech.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top