[AccessD] Rename a form via code ?

Chris Swann dc8 at btinternet.com
Mon Feb 9 16:30:25 CST 2004


Many thanks for the quick reply.

I always seem to struggle with the simplest things !!

BTW your first reply had me going for a minute or two ;-)

Chris

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of
bruce_bruen at mlc.com.au
Sent: 09 February 2004 22:20
To: Access Developers discussion and problem solving
Subject: Re: [AccessD] Rename a form via code ?

OOPS!

Public Sub FormNameChange(Oldname As String, Newname As String)

   DoCmd.Rename Newname, acForm, Oldname

End Sub

snipped for brevity..................


More information about the AccessD mailing list