GithubHelp home page GithubHelp logo

aegit_template's Introduction

aegit_Template is a playground to test & learn to use aegit

You can find the aegit repostory here: https://github.com/peterennis/aegit

Quickstart

This is assuming you have already setup a GitHub account.

Minimum requirement is Microsoft Access 2010.

  1. Fork this repo https://github.com/peterennis/aegit_Template
  2. Clone it to your local workspace
  3. In the project folder rename the file aegit_Template.accd to aegit_Template.accdb and run the file aegit_Template.accdb
    1. The file .gitignore is set to ignore accdb files so this work around allows the template file to be available.
  4. Open aegit_Template.accdb and open the module aebasTEST_aegit_template_expClass in the VBA editor
  5. Run the command aegit_Template_EXPORT in the Immediate Window
  6. Run Compact and Repair

IMPORTANT - Make a backup copy of the database beforehand (Ctr-C, Ctrl-V OR File -> Save as -> Advanced -> Back Up Database)

  1. Review the output in .\src and .\src\xml
  2. Commit and push the changes to GitHub
  3. Edit, Export, Compact (Backup), Commit, Rinse & Repeat

Using aegit with your own database

  1. Fork aegit repo to your local workspace: https://github.com/peterennis/aegit

  2. Import adaept revision control.accdb to your database and import module aebasChangeLog_aegit_expClass, aebasTEST_aegit_expClass, and also the class module aegit_expClass.

  3. Rename TEMPLATE_EXPORT to [your database]_EXPORT

Update constants in the function, create appropriate files( src, xml, xmldata ) and point the paths to it.

  1. Run the command [your database]_EXPORT in the Immediate Window

NOTE: The class is configured to EXCLUDE the aegit files from export.

NOTE: Your initial commit of changes will look similar to this Second Commit

If you look at src/frm_Dummy.frm.txt there is binary encoding for ImageData and that is a result of the "Name AutoCorrect Option" setting of Access. So get rid of it, then may you live long and prosper!

File -> Options -> Current Database -> Name AutoCorrect Options

Uncheck: Track name AutoCorrect info

Uncheck: Perform name AutoCorrect

aegit_template's People

Contributors

kinsidar avatar peterennis avatar peterennisrda avatar

Watchers

 avatar  avatar  avatar

aegit_template's Issues

Access 64 Export

TBD - To be looked at when a test system is set up for Windows 10

Dependabot couldn't find a <anything>.(cs|vb|fs)proj for this project

Dependabot couldn't find a .(cs|vb|fs)proj for this project.

Dependabot requires a .(cs|vb|fs)proj to evaluate your project's current .NET dependencies. It had expected to find one at the path: /<anything>.(cs|vb|fs)proj.

If this isn't a .NET project, or if it is a library, you may wish to disable updates for it from within Dependabot.

You can mention @dependabot in the comments below to contact the Dependabot team.

Update README

Couple things for possible addition:

  1. in depth explanation for step 3 in README:
    The file .gitignore is set to ignore accdb files so this work around allows the template file to be available.

  2. Add steps to fork the aegit repo in instructions on how to use with your own database

Error msg when running aegit_Template_EXPORT

4.Open the module aebasTEST_aegit_expClass in the VBA editor
5.Run the command aegit_Template_EXPORT <-------

error msg: Erl=0 Error 2220(Microsoft Access can't open the file '.\src\xml\tables_aeItems_DataMacro.xml'.) in procedure Output TableDataMacros of Class aegit_expClass

Typos in readme

GitHub markdown needs a space between header and text e.g. ## Heading 2

NoBOM

error msg: Erl=0 Error5 in procedure NoBOM of Class aegit_expClass

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.