Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing a Form/Label attribute

Status
Not open for further replies.

softlad

Programmer
Mar 20, 2001
9
0
0
GB
Hi

I have written an application in Access 97 to do some database processing. The initial form has a Button that
the user clicks in order to do some processing. Rather
that use the built in status bar in Access, I would rather
display a new Form with and change the LAbel Caption
on the fly so to speak. I have managed to Display the
for using the DoCmd OpenForm commands but don't know
how to change its attribute once it is displayed!

Thanks in Advance

Paul
 
Change the name - Me.Caption = "new form name"

You can change any of the form properties using the 'Me' method in VBA.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top