473,426 Members | 1,794 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,426 software developers and data experts.

Update Access DB Schema

Hi To All,

I need to create a tool that compares two versions of an Access database and updates the old schema to the new.

I have an Access database that contains the current tables, queries and relationships. I created a form in the mdb and on the OnLoad event, using DAO, it compares the new structure with a separate mdb that contains the old structure. All seems to work fine, but I feel this is creating a maintenance issue. Every time there is a new release, you would need to delete all tables, queries and relationships and create the new structure. There is also the problem that not all users have Access installed on their machine. That would mean that I would have to include the Access runtime files to allow the app to run.

Can this be written in vbscript? Any help to point me in the right direction would be most appreciated.

Thanks,

Sharon
Nov 26 '07 #1
2 1304
lotus18
866 512MB
Every time there is a new release, you would need to delete all tables, queries and relationships and create the new structure.
Why do you need to delete your database?

There is also the problem that not all users have Access installed on their machine. That would mean that I would have to include the Access runtime files to allow the app to run.
I think you don't need to have Access installed on their computer as long as you include all the references (.dll or .ocx). Based on my experience, this was tested and proven. : )

Rey Sean
Nov 27 '07 #2
Hi Rey,

Thanks for taking the time to respond.

I would have to delete and or change the database each time the schema changed in order to make sure I have the correct structure of the database.

I was thinking that there may be a more "elegant" way to accomplish this task.

Sharon
Nov 27 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Jan van Veldhuizen | last post by:
The UPDATE table FROM syntax is not supported by Oracle. I am looking for a syntax that is understood by both Oracle and SqlServer. Example: Table1: id name city ...
6
by: Jeff Kowalczyk | last post by:
I need to adapt this an update statement to a general form that will iterate over multiple orderids for a given customerinvoiceid. My first concern is a form that will work for a given orderid,...
0
by: Schorschi | last post by:
I have an Access MDB that I have created via VB .NET, thus it is an emply database. I have an XML Schema file (.XSD) that has the schema for the database, how do I get the XML Schema into the...
0
by: Martin Ortiz | last post by:
If I update my xml schema, for example if I rename one of the elements, how do I modify the xml file based on that schema (that is, short of doing it manually). I open the xml file, right click,...
6
by: Eugene | last post by:
Summary: ---------- Updates against UNION ALL view does't do branch elimination, but rather reads all the branches (partitions). The case scenario(DB2 V8.1.4a ESE, AIX 5.2):...
3
by: Ray | last post by:
I am having my first experience using BLOB as a row in a table. I am using it to insert graphics for labels we print. I have no problem inserting into and select from the table. The graphic is...
0
by: M. David Johnson | last post by:
I cannot get my OleDbDataAdapter to update my database table from my local dataset table. The Knowledge Base doesn't seem to help - see item 10 below. I have a Microsoft Access 2000 database...
5
by: PAUL | last post by:
Hello, I have 2 tables with a relationship set up in the dataset with vb ..net. I add a new record to the parent table then edit an existing child record to have the new parent ID. However when I...
3
by: Michel Esber | last post by:
Hi all, DB2 V8 LUW FP 15 There is a table T (ID varchar (24), ABC timestamp). ID is PK. Our application needs to frequently update T with a new value for ABC. update T set ABC=? where ID...
3
by: Sam Durai | last post by:
A simple update involving two small tables takes 45 minutes to complete. I would appreciate if you can kindly help me to understand the root cause of this slowness. Users would be happy if I can...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.