
2101 error when trying to set Left property on text box
It's too late to move the control in the Print event, Joel. You need to do
it in the Format event.
The error message could certainly be clearer! :-(
--
Brendan Reynolds
Access MVP
----------------------------------------
If it's not plain text, without attachments,
I'm not reading it.
----------------------------------------
Quote:
> When I try to set the Left property on a text box in a report under the
> onprint event I get
> Run-time error '2101':
> The setting you entered isn't valid for this property.
> the code is:
> Me!SiteNoMap.Left = 1440
> SiteNoMap is a text box on the report.
> 1440 twips = 1 inch
> any ideas?
> --
> Joel
> remove the NSPM. to email me directly