Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to export all Access databases to a subfolder #139

Closed
Tanarri opened this issue Jan 27, 2021 · 2 comments
Closed

Possibility to export all Access databases to a subfolder #139

Tanarri opened this issue Jan 27, 2021 · 2 comments

Comments

@Tanarri
Copy link
Contributor

Tanarri commented Jan 27, 2021

Hi,

in my folder "development" I have several accessdatabases (*.accdb) and I want to export them to a subfolder called "vcs"

accessdatabases - e.g:
db1.accdb
db2.accdb
db3.accdb

The exported databases should be saved in subfolder "vcs"
/vsc/db1.accdb.src/modules
/vsc/db1.accdb.src/forms ....

/vsc/db2.accdb.src/modules
/vsc/db2.accdb.src/forms ....

But if I set in "options" the "export folder" to "\vsc" the directory structur will be:
/vsc/modules
/vsc/forms ....
the subfolder [databasename.accdb.src] in "vcs" is missing

Wish:
To have a placeholder (e.g. "%dbname%) in options --> "export folder" so I can build my own path.
"folder name" = "\vcs%dbname%"

Result:
Export folders will be
/vsc/db1.accdb.src/modules
/vsc/db1.accdb.src/forms ....

/vsc/db2.accdb.src/modules
/vsc/db2.accdb.src/forms ....

joyfullservice pushed a commit that referenced this issue Jan 27, 2021
Add support for a placeholder in the export path. `%dbName%` will resolve to the file name of the current project, and can be used to build a custom relative path. Closes #139
@joyfullservice
Copy link
Owner

@Tanarri - I can see how this could be helpful when you want to use a custom relative export path, but don't want to have to set it manually for each database project.

Up to now, you could achieve the desired folder structure by specifying \vcs\db1.accdb.src\ in the export folder path, but you would have to do this for each project.

With b9e84c5, you can now specify \vcs\%dbName%.src\, in your default options, and it should resolve to the desired path in each database you export without needing to change the Export Folder path for each project.

image

image

Note that I have added this commit to the dev branch, which will eventually roll out in version 3.3. If you are using the latest public release or building from the master branch, you will want to manually add this to your copy of the add-in.

@Tanarri
Copy link
Contributor Author

Tanarri commented Jan 27, 2021

Great! I am looking forward V3.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants