J
jfp
Access 2002:
I have a database containing:
a) stuff that is application specific
b) stuff that is generic in nature and needs to be put into a "code
library" so that it can be used from this as well as other (future)
apps.
After first getting it all working in one database, this is what i did:
1) make a new database (call it "library")
2) import into "library" various modules from the original database
3) delete same from original database
4) in the original database, establish a reference to the library (as a
.mdb file)
This is what seems to be happening ( i have not tested this very
thoroughly yet)
1) If the only things removed from the original and put into the
library are code modules containing public subs/functions, things are
ok.
2) If definitions of UDTs ("public Type ...") are moved, compile errors
occur (undefined ...)
3) If forms are moved, code compiles but they cannot be found
(DoCmd.OpenForm) during execution
-=-=-=
Any ideas ??
I have a database containing:
a) stuff that is application specific
b) stuff that is generic in nature and needs to be put into a "code
library" so that it can be used from this as well as other (future)
apps.
After first getting it all working in one database, this is what i did:
1) make a new database (call it "library")
2) import into "library" various modules from the original database
3) delete same from original database
4) in the original database, establish a reference to the library (as a
.mdb file)
This is what seems to be happening ( i have not tested this very
thoroughly yet)
1) If the only things removed from the original and put into the
library are code modules containing public subs/functions, things are
ok.
2) If definitions of UDTs ("public Type ...") are moved, compile errors
occur (undefined ...)
3) If forms are moved, code compiles but they cannot be found
(DoCmd.OpenForm) during execution
-=-=-=
Any ideas ??