How do I publish/export Microsoft Access Forms

18,337

Solution 1

Access forms are totally different from .NET windows forms. .NET forms are first compiled to CIL languge, then at run-time, the CLR's JIT compiles it to native instructions just before the execution. This makes it possible to write once, and run on any computer where CLR is present.

This is not the case with access forms. They are totally "embedded" inside the Access .mdb/mda file, much like sheets and workbooks are "embedded" inside Excel file. So, the access form is totally dependent on the Access application to execute itself. So, no access=no access-form.

Solution 2

One option for publishing is to use two database file. One contains your tables, and the other contains your forms. This way you can simply publish form changes by distributing a new version of the access file with the forms. You can also backup your code and data separately.

Another variation on this is to store your data in a relational database such as Microsoft SQL Server Express or MySQL(http://www.mysql.com/) and connect to the tables in Access as Linked Tables. Note that you will need an ODBC driver for the database you are storing the data in.

Share:
18,337

Related videos on Youtube

Kobojunkie
Author by

Kobojunkie

I am a dedicated Developer at heart coding and pushing my way to becoming a master. Would really appreciate if you those who are not willing to share their knowledge, without question, avoid even posting a responses to questions asked. Some of us are here to learn from those who have know.

Updated on September 18, 2022

Comments

  • Kobojunkie
    Kobojunkie almost 2 years

    I developed some forms in Microsoft Access and have yet to connect the forms with the database. However I would like to build and maybe publish the forms so I can view them outside of Access. how do I accomplish this please? If not possible, Is there a way to build and run access forms as you would your typical .NET windows forms?