D
Dave
I want to assign a value to a field in a reoprt id a certain condition is
met.
Within my report's VBA module, I add the following lines:
If d Then
sFilter = "[ResearchID]=" & Forms!F_Research!txtResearchID
Me!txtNoteLong.Value = ""
Else
Me reprsents the report and txtNoteLong is a textbox on the report that I
want to assign a value to.
But using this code I get an error that says I "cannot assign a value to
this object" and "#Name?" displays on the report.
I do not understand. How can I assign a value to a field control on a
report?
met.
Within my report's VBA module, I add the following lines:
If d Then
sFilter = "[ResearchID]=" & Forms!F_Research!txtResearchID
Me!txtNoteLong.Value = ""
Else
Me reprsents the report and txtNoteLong is a textbox on the report that I
want to assign a value to.
But using this code I get an error that says I "cannot assign a value to
this object" and "#Name?" displays on the report.
I do not understand. How can I assign a value to a field control on a
report?