Creating text box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can i create text boxes in a report automatically?
It depends from how many statistics user wants to view!
Sometimes user wants 5 text box and other more, 7 or 8...
I can change properties and display text box where i want or with sources
that i want but how can i create it first? Is it possible to become with
macros?
 
I think I would place all the fields I needed on the report, and using
the OnFormat event, Hide/Unhide those fields according to the user/data
requirements.
hth
Al Camp
 
I disagree. Creating new controls is slightly more complex
than setting properties on existing controls. After all,
the same properties have to be set either way.

Besides, creating controls is a design time operation, not
something you should ever do in a running application.

Al's advice is far and away the best way to do this kind of
thing.
 
Back
Top