2101 error when trying to set Left property on text box 
Author Message
 2101 error when trying to set Left property on text box

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



Wed, 11 Aug 2004 04:08:04 GMT  
 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



Wed, 11 Aug 2004 04:25:42 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Setting properties on selected text in a text box

2. Invalid Property when trying to populate msmask16 text box to today

3. Error trying to link up combo and text box

4. Error trying to link up Combo and Text boxes

5. Error trying to link up Combo and Text boxes

6. Error trying to link up Combo and Text boxes

7. Setting Properties of Text Box

8. Needed text box for text written from write to left

9. Property Left and Width in a status bar could not be set

10. How to set left property of a tool bar

11. How to set left property of a toolbar

12. How to set left property of a toolbar

 

 
Powered by phpBB® Forum Software