I am trying to create a normalised database from a linked Excel file as a general purpose database.
Suppose the Excel File is
I have already created the following tables.
Note the arbitrary order of the above tables.
I also have a table that gives the Excel field names that match the Access Table & Field Names.
Now in order to populate them, I must do it in the correct order:-
TblStates, TblCities, TblAddress, TblPersons
I had hoped that MsysRelationshi ps would give me the correct information, but although I get the relevant table names & linking fields, the Table names seem to be arbitrarily in the szObject column or the szReferenceObje ct column.
Any thoughts please.
Phil
Suppose the Excel File is
Code:
Person Number, Name, Address Lines, City, State, Zip Code
Code:
TblCities CityID AutoNumber PK City Text StateID Long FK TblPersons PersonID AutoNumber PK PerdonNo Long PersonName Text AddressID Long FK TblStates StateID AutoNumber PK State Text TblAddress AddressID AutoNumber PK AddressLines Text ZipCode Text CityID Long FK
I also have a table that gives the Excel field names that match the Access Table & Field Names.
Now in order to populate them, I must do it in the correct order:-
TblStates, TblCities, TblAddress, TblPersons
I had hoped that MsysRelationshi ps would give me the correct information, but although I get the relevant table names & linking fields, the Table names seem to be arbitrarily in the szObject column or the szReferenceObje ct column.
Any thoughts please.
Phil
Comment