|
|
|
date: Sun, 28 Sep 2008 12:41:00 -0700,
group: microsoft.public.access.reports
back
Re: Can't Create a Control a TextBox - err 29054
Marshall,
I wanted to modify a report in design view, close and save it, then get a
reference of that report through a variable (MyReport). This caused the
problem. I found that if I used the string Set Myreport = Report_Test, after
the previous sentence, but in the same procedure, then the message appeared.
What I did was to declare the Set string in an external Sub (Sub
InstanceReport). Now It works Ok.
But something else show up maybe you can help me on.:
I use Me.GroupLevel(0).ControlSource = "FilteredField" in the Open Event of
the report I'm instanciating. and now this is the message:
Err 2191 - You can't set the control Source property in Print Preview or
after Printing has started. But that's the hint given in help to do it.
What do you think is the problem here, my friend.
--
Edgar Rey
"Marshall Barton" wrote:
> Edgar wrote:
>
> >I opened a Report in Design View and use the CreateReportControl function to
> >creat a Control, but this Message appears - Access can't add, rename or
> >delete the control(s) you requested. What's the problem. Please help
>
>
> CreateControl is a design time only operation intended to be
> used when you are writing your own wizards.
>
> Maybe you should explain what you are trying to accomplish
> so we have a chance to suggest a way to do it.
>
> --
> Marsh
> MVP [MS Access]
>
date: Mon, 29 Sep 2008 08:12:00 -0700
author: Edgar
|
|