How do you use version control with Access development?

后端 未结 20 1929
慢半拍i
慢半拍i 2020-11-22 12:55

I\'m involved with updating an Access solution. It has a good amount of VBA, a number of queries, a small amount of tables, and a few forms for data entry & report gene

20条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-22 13:18

    We developped our own internal tool, where:

    1. Modules: are exported as txt files and then compared with "file compare tool" (freeware)
    2. Forms: are exported through the undocument application.saveAsText command. It is then possible to see the differences between 2 different versions ("file compare tool" once again).
    3. Macros: we do not have any macro to compare, as we only have the "autoexec" macro with one line launching the main VBA procedure
    4. Queries: are just text strings stored in a table: see infra
    5. tables: we wrote our own table comparer, listing differences in records AND table structure.

    The whole system is smart enough to allow us to produce "runtime" versions of our Access application, automatically generated from txt files (modules, and forms being recreated with the undocument application.loadFromText command) and mdb files (tables).

    It might sound strange but it works.

提交回复
热议问题