Assign Value on the Textbox

accessman2

Registered User.
Local time
Yesterday, 18:49
Joined
Sep 15, 2005
Messages
335
When the report is opened,

I want the textbox to be populated a word. But, it doesn't allow to do that. In VBA, can I assign a value on the textbox?

Thanks.
 
What exactly are you trying to achieve?

I might create an open report button, and pass on a string to that text box on click event.
 
When you say
When the report is opened
, do you mean when it is in an open state, or do you mean when it is initially opened up?

Once a report is open and formatted there is no way to make this change. The only way would be in the OnFormat event, which is executed initially. If what you meant was initially, then you can place any code you want into the OnFormat event of the specific section you have the textbox in.
 

Users who are viewing this thread

Back
Top Bottom