![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Firstly, I'm not sure if Library database is the correct term. I'm talking about Dbs to which you set a reference in the VBA references section. Secondly apologies for sort-of reposting this question, but I drew blanks last time. Now assuming I have several referenced (library?) databases in my main database, how do I get the names of all the forms in all the Dbs? CodeProject.AllForms.Count gives me the correct number of forms if I am in that referenced database. What I think I need is a method of looping through all the different CodeProject names in the main database, but there isn't a sort of CodeProjects parent object. Or somehow moving the focus to each reference in the library and seeing how many forms there are. |
#3
| |||
| |||
|
|
Firstly, I'm not sure if Library database is the correct term. I'm talking about Dbs to which you set a reference in the VBA references section. Secondly apologies for sort-of reposting this question, but I drew blanks last time. Now assuming I have several referenced (library?) databases in my main database, how do I get the names of all the forms in all the Dbs? CodeProject.AllForms.Count gives me the correct number of forms if I am in that referenced database. What I think I need is a method of looping through all the different CodeProject names in the main database, but there isn't a sort of CodeProjects parent object. Or somehow moving the focus to each reference in the library and seeing how many forms there are. Any help gratefully received |
#4
| |||
| |||
|
|
Firstly, I'm not sure if Library database is the correct term. I'm talking about Dbs to which you set a reference in the VBA references section. Secondly apologies for sort-of reposting this question, but I drew blanks last time. Now assuming I have several referenced (library?) databases in my main database, how do I get the names of all the forms in all the Dbs? CodeProject.AllForms.Count gives me the correct number of forms if I am in that referenced database. What I think I need is a method of looping through all the different CodeProject names in the main database, but there isn't a sort of CodeProjects parent object. Or somehow moving the focus to each reference in the library and seeing how many forms there are. Any help gratefully received |
#5
| |||
| |||
|
|
"Phil" <phil (AT) stantonfamily (DOT) co.uk> wrote in news:ihh2ej$i7u$1 (AT) speranza (DOT) aioe.org: Firstly, I'm not sure if Library database is the correct term. I'm talking about Dbs to which you set a reference in the VBA references section. Secondly apologies for sort-of reposting this question, but I drew blanks last time. Now assuming I have several referenced (library?) databases in my main database, how do I get the names of all the forms in all the Dbs? CodeProject.AllForms.Count gives me the correct number of forms if I am in that referenced database. What I think I need is a method of looping through all the different CodeProject names in the main database, but there isn't a sort of CodeProjects parent object. Or somehow moving the focus to each reference in the library and seeing how many forms there are. Any help gratefully received BTW, I intended to say that I think it's inadvisable to create a reference, as it makes deployment much harder. |
#6
| |||
| |||
|
|
Basically I am trying to create a menu database (AccDe) which I can incorporate into any other database by simply setting a reference to it and providing the neccessary tables. By doing this I hoped that any design changes in the Menu.AccDe would automatically be incorporated into all other Dbs without actually having to do anything. I appreciate that I would have to send each client the new Menu.Accde, but that would be the limit of wha I needed to do. If I can get that working smoothly, then I want to extend it to say a Mailmerge database Phil |
#7
| |||
| |||
|
|
Basically I am trying to create a menu database (AccDe) which I can incorporate into any other database by simply setting a reference to it and providing the neccessary tables. By doing this I hoped that any design changes in the Menu.AccDe would automatically be incorporated into all other Dbs without actually having to do anything. I appreciate that I would have to send each client the new Menu.Accde, but that would be the limit of wha I needed to do. If I can get that working smoothly, then I want to extend it to say a Mailmerge database |
#8
| |||
| |||
|
|
Each user application is a user database with a reference to a General database. All functionality that is common to all user applications, is stored in the "always learning" General database, which on this moment encloses more then 90% of the total functionality. An update is always the new user database and the General database on that moment. This combination makes that I do not need to care of all kind of versions. Changes in the General database are immediately reflected in all user applications. When these changes have their effect on the (standarized) forms in the user databases, than the forms can be updated with one click of a button. In this concept it is not necessary that the General database knows anything of user tables. All procedures (and forms) in the General database are triggered from the user database. |
#9
| |||
| |||
|
|
Basically I am trying to create a menu database (AccDe) which I can incorporate into any other database by simply setting a reference to it a nd providing the neccessary tables. By doing this I hoped that any design changes in the Menu.AccDe would automatically be incorporated into all ot her Dbs without actually having to do anything. I appreciate that I would hav e to send each client the new Menu.Accde, but that would be the limit of wha I needed to do. If I can get that working smoothly, then I want to extend i t to say a Mailmerge database Phil Hi Phil, Probably your way of working is a little different from mine, though we both use reference databases. This is what I do: Each user application is a user database with a reference to a General database. All functionality that is common to all user applications, is stored in the “always learning” General database, which on this moment encloses more then 90% of the total functionality. An update is always the new user database and the General database on that moment. This combination makes that I do not need to care of all kind of versions. Changes in the General database are immediately reflected in all user applications. When these changes have their effect on the (standarized) forms in the user databases, than the forms can be updated with one click of a button. In this concept it is not necessary that the General database knows anything of user tables. All procedures (and forms) in the General database are triggered from the user database. Imb. |
#10
| |||
| |||
|
|
This means no MDEs, right? That would be a complete showstopper for a large population of Access developers, I think. It wouldn't be for me in all my apps, but for some, it would be. |
![]() |
| Thread Tools | |
| Display Modes | |
| |