Hello everyone,
I have a form. In the vba code behind it i am repeating a connection string in several places. I have two questions
1) what can i do so that i only have one connection string for the whole code?
2) if later i have several forms that use the same connection string in their code, is there a way where i could only have once central location? sort of like an include file....
The reason i ask this is that later on if they choose to change the database information, i'd rather change is on once place rather than several different places.
Thank you,
-s
I have a form. In the vba code behind it i am repeating a connection string in several places. I have two questions
1) what can i do so that i only have one connection string for the whole code?
2) if later i have several forms that use the same connection string in their code, is there a way where i could only have once central location? sort of like an include file....
The reason i ask this is that later on if they choose to change the database information, i'd rather change is on once place rather than several different places.
Thank you,
-s