how to i run a macro that alters a record in a report.

thydzik

Registered User.
Local time
Today, 10:27
Joined
Jun 17, 2006
Messages
27
how to run a macro that alters a record value in a report.

I think this is a pretty straight forward question.

I have a report with a textbox with control source 'FirstName'. and an example macro in a module like this

Code:
Public Function test(v As Variant) As Variant
test = v + "test"
End Function

how do I modify the control source so that it returns test(FirstName) for all values.

thanks
 
Last edited:
Okay. i wil answer this one myself. don't know why it wasn't working yesterday :?

the control source will need to be

Code:
=test([FirstName])
 

Users who are viewing this thread

Back
Top Bottom