Darryl Collins
Darryl.Collins at iag.com.au
Wed Mar 23 22:05:08 CDT 2011
_______________________________________________________________________________________
Note: This e-mail is subject to the disclaimer contained at the bottom of this message.
_______________________________________________________________________________________
Hi Folks,
I was pretty confident that this would work just fine.
Me.tabIntro.Pages.Item(1).Name = "Acceptance Criteria (" & gstrPreEstVar(5) & ")"
but no. When running the code I debug out at this line and I get a very useful error saying I can only do this if the form is in design mode. WTF?
Now, I am missing the bleeding obvious here or is it not possible to set the Tab Page name using code? More likely it is possible, but I am going about it completely the wrong way.
Access 2003 BTW...
Regards
Darryl.
_____________________________________
Darryl Collins | Business Analyst Database Developer
Retail Business Insurance
Insurance Australia Group (IAG)
Level 2, 181 Williams St, Melbourne, 3000 - Australia
Ph: + 61 3 9916 3926
Mobile: + 61 418 381 548
_______________________________________________________________________________________
The information transmitted in this message and its attachments (if any) is intended
only for the person or entity to which it is addressed.
The message may contain confidential and/or privileged material. Any review,
retransmission, dissemination or other use of, or taking of any action in reliance
upon this information, by persons or entities other than the intended recipient is
prohibited.
If you have received this in error, please contact the sender and delete this e-mail
and associated material from any computer.
The intended recipient of this e-mail may only use, reproduce, disclose or distribute
the information contained in this e-mail and any attached files, with the permission
of the sender.
This message has been scanned for viruses.
_______________________________________________________________________________________