T
Tony Vrolyk
I have an Access XP app that has been distributed to several hundred users
and I need to do a major table structure modification on the backend file.
For some time I have been doing some basic field creating procedures but now
I need to delete relationships, change keys and set new relationships.
I have read some posts that stated certain backend changes can't be done in
code. I have been starting to look at the help files and some previous posts
but I though first I better find out if what I want to do is possible.
Here are the basic steps I need to accomplish
1. Append data to a temporary table for archive (can do)
2. Delete existing data (can do)
3. Delete two relationships
4. Delete primary keys on 3 tables (not delete the fields, just remove the
PK setting)
5. Create new fields on two tables (can do)
6. Append data from temp table to modified table
7. Set Primary Keys on 3 tables (two of these are two-field primary keys)
8. Create relationship using new fields (with referential integrity and
cascading updates)
9. Delete the now unnecessary fields
10. Delete temp table (can do)
In order to clarify the steps for myself I wrote a short doc detailing the
steps using actual table and field names. Also I have a test backend mdb
that has everything stripped out except those tables requiring modification.
If you would like to look at those so you can understand my project in more
detail you can get them here
http://personalpages.tds.net/~tvrolyk/table_mod/.
The PDF also has an example of the code I have been using to create fields
in the backend tables. I would like to use the same basic method since I am
familiar with it already.
Could I first get some basic feedback on whether or not this is all possible
from code, from a front end file? Also, I might be interested in paying
someone write the code for me with payment contingent on it working.
Otherwise does anyone have a time machine so I could go back and slap some
sense into my head so I do it right the first time?
Thanks
Tony Vrolyk
and I need to do a major table structure modification on the backend file.
For some time I have been doing some basic field creating procedures but now
I need to delete relationships, change keys and set new relationships.
I have read some posts that stated certain backend changes can't be done in
code. I have been starting to look at the help files and some previous posts
but I though first I better find out if what I want to do is possible.
Here are the basic steps I need to accomplish
1. Append data to a temporary table for archive (can do)
2. Delete existing data (can do)
3. Delete two relationships
4. Delete primary keys on 3 tables (not delete the fields, just remove the
PK setting)
5. Create new fields on two tables (can do)
6. Append data from temp table to modified table
7. Set Primary Keys on 3 tables (two of these are two-field primary keys)
8. Create relationship using new fields (with referential integrity and
cascading updates)
9. Delete the now unnecessary fields
10. Delete temp table (can do)
In order to clarify the steps for myself I wrote a short doc detailing the
steps using actual table and field names. Also I have a test backend mdb
that has everything stripped out except those tables requiring modification.
If you would like to look at those so you can understand my project in more
detail you can get them here
http://personalpages.tds.net/~tvrolyk/table_mod/.
The PDF also has an example of the code I have been using to create fields
in the backend tables. I would like to use the same basic method since I am
familiar with it already.
Could I first get some basic feedback on whether or not this is all possible
from code, from a front end file? Also, I might be interested in paying
someone write the code for me with payment contingent on it working.
Otherwise does anyone have a time machine so I could go back and slap some
sense into my head so I do it right the first time?
Thanks
Tony Vrolyk