Importing a command button

tigerstripes

Registered User.
Local time
Today, 02:34
Joined
Feb 28, 2005
Messages
13
Is it possible to copy a command button from one database to another with the same code attached? I have 16 versions of the same database, one for each service, and I have made several amendments to one of them. I obviously need to make the updates to all databases and wondered if there's an easy way to import the buttons? I know how to import the queries I have added but not buttons to run the queries on my forms.

TIA
 
if the code on the button can be made generic ie exactly the same, irrespective of the form, then you can set the click event

=mygenericfunction()

-----------
this function could then be in a common "library" database - in which case, you only need to change it in the library. useful for commonly used functions, that dont need any special code, depending on the form itself
 
All 16 databases are identical, just different data in them so the code will be identical too.

I am sure last year we made changes to one database then transferred it across to the others I just cant remember how we did it and the girl who wrote the database has left.
 

Users who are viewing this thread

Back
Top Bottom