I have a recurring job that requires quite a bit of changes made to the structure of over twenty tables and I would like to automate this process instead of having to go into design view and making the changes there.
Here is what the original structure of the table looks like.
ID Long Integer 4
Z4, ZIP+4/DP Text 255
Opt Endorsement Line Text 255
Sack and Pac Text 255
Full Name Text 255
Alternate Address 2 Text 255
Alternate Address 1 Text 255
Delivery Address Text 255
City, St ZIP+4 Text 255
City Text 255
St Text 255
ZIP+4 Text 255
First Text 255
Last Name Text 255
TAN_ID Text 255
ARC_ID Text 255
PromoNumber Text 255
SupplierName Text 255
ReturnAddrImage Text 255
RA_AgencyName Text 255
RA_Addr1 Text 255
RA_Addr2 Text 255
RA_City, RA RA_Zip Text 255
Fax Literal RA_Fax1 Text 255
RA_Email Text 255
RA_WebSite Text 255
RA_TS_StatPoundRA_TS_Number Text 255
RA_Phone1 RA_Phone2 Text 255
CTA_AgencyNamePrePhrase Text 255
CTA_AgencyName Text 255
CTA_AgencyPhonePrePhrase Text 255
CTA_AgencyPhone Text 255
CTA_CustomMessage Text 255
Copies Text 255
VIP Phone Text 255
SNPhone Text 255
This is what I need to change the data structure to look like:
ID Long Integer 4
Pin Long Integer 4
Z4, ZIP+4/DP Text 100
Opt Endorsement Line Text 100
Sack and Pac Text 100
Full Name Text 100
AltAddress Text 100
Delivery Address Text 100
City, St ZIP+4 Text 100
First Text 100
Last Name Text 100
TAN_ID Text 100
ARC_ID Text 100
PromoNumber Text 100
SupplierName Text 100
ReturnAddrImage Text 100
RAAgencyName Text 100
Addr1 Text 100
Addr2 Text 100
City Text 100
Fax Text 100
Email Text 100
WebSite Text 100
TS_State Text 100
Phone1 Text 100
NamePrePhrase Text 100
CTAAgencyName Text 100
PhonePrePhrase Text 100
AgencyPhone Text 100
CustomMessage Text 100
There are over 20 data files within this MDB. How can I automate this.
Here is what the original structure of the table looks like.
ID Long Integer 4
Z4, ZIP+4/DP Text 255
Opt Endorsement Line Text 255
Sack and Pac Text 255
Full Name Text 255
Alternate Address 2 Text 255
Alternate Address 1 Text 255
Delivery Address Text 255
City, St ZIP+4 Text 255
City Text 255
St Text 255
ZIP+4 Text 255
First Text 255
Last Name Text 255
TAN_ID Text 255
ARC_ID Text 255
PromoNumber Text 255
SupplierName Text 255
ReturnAddrImage Text 255
RA_AgencyName Text 255
RA_Addr1 Text 255
RA_Addr2 Text 255
RA_City, RA RA_Zip Text 255
Fax Literal RA_Fax1 Text 255
RA_Email Text 255
RA_WebSite Text 255
RA_TS_StatPoundRA_TS_Number Text 255
RA_Phone1 RA_Phone2 Text 255
CTA_AgencyNamePrePhrase Text 255
CTA_AgencyName Text 255
CTA_AgencyPhonePrePhrase Text 255
CTA_AgencyPhone Text 255
CTA_CustomMessage Text 255
Copies Text 255
VIP Phone Text 255
SNPhone Text 255
This is what I need to change the data structure to look like:
ID Long Integer 4
Pin Long Integer 4
Z4, ZIP+4/DP Text 100
Opt Endorsement Line Text 100
Sack and Pac Text 100
Full Name Text 100
AltAddress Text 100
Delivery Address Text 100
City, St ZIP+4 Text 100
First Text 100
Last Name Text 100
TAN_ID Text 100
ARC_ID Text 100
PromoNumber Text 100
SupplierName Text 100
ReturnAddrImage Text 100
RAAgencyName Text 100
Addr1 Text 100
Addr2 Text 100
City Text 100
Fax Text 100
Email Text 100
WebSite Text 100
TS_State Text 100
Phone1 Text 100
NamePrePhrase Text 100
CTAAgencyName Text 100
PhonePrePhrase Text 100
AgencyPhone Text 100
CustomMessage Text 100
There are over 20 data files within this MDB. How can I automate this.