Version Control for Access VBA code? [duplicate]

≯℡__Kan透↙ 提交于 2019-12-06 05:11:44

问题


Possible Duplicate:
Version control for VBA file

Does any kind of version control exist? If no, is there any good solution for collective development of MS Access 2007 database with VBA ?


回答1:


The only one integrated VC solution for Access is Microsoft Visual Source Safe however it's poor designed and even Microsoft internally avoid from using it ;). Some people call it "Source Destruction System", but I personally know success cases with using it. Generally, it could be a good solution for small and medium projects due to its limitations.

Here is a very critical article about VSS: http://www.highprogrammer.com/alan/windev/sourcesafe.html

The other option is to design your own code to export VBA solution using Application.SaveAsText() - it's partially undocumented feature of Access API.




回答2:


Microsoft have produced a Source Code Control add-in for Access 2010:

Source Code Control add-in allows integration with Microsoft Visual SourceSafe or other source code control systems to allow check-in/check-out of queries, forms, reports, macros, modules, and data. You can also see the differences that have been made to your checked out objects.




回答3:


I work with an Access application and Team Foundation Server Source Control. You need to switch the source control provider Access expects; I used this tool, Sourcecode Control Switcher, to do so when we moved from VSS to TFS. Once you've switched, you can setup the source control settings in Access and build a source-control-connected .mdb from TFS. It works nicely.



来源:https://stackoverflow.com/questions/777591/version-control-for-access-vba-code

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!