Hello everybody...
I have an access database that is completely Normalised my problem is that the data is in asingle excel worksheet. how do do I go about importing the files so that the data will be in different tables.
Scenario:
excel file has this columns
Date - FarmerID - CropID - SampleNum - PlantHeight
for each entry in Date- FarmerName - Crop there is 50 Samples which correspond to SampleNum - PlantHeight.
Access has this tables
tblTrial
iid(autonumber) - Date - FarmerID - CropID
tblTrialSamples
iid(autonumber) - TrialID_lnk(link to tblTrial) - SampleNum - PlantHeight
So thats it how do i go about importing the data. If possible access should handle the importation, I mean maybe thru macro or VBA code it should ask for the excel file and import the data from it. I need to do this because the users have no permanent net connection to the database, so they just email the excel file to me while i do the data summary and analysis.
It quite a long question, I just hope that somebody can help me. Thanks alot in advance.
I have an access database that is completely Normalised my problem is that the data is in asingle excel worksheet. how do do I go about importing the files so that the data will be in different tables.
Scenario:
excel file has this columns
Date - FarmerID - CropID - SampleNum - PlantHeight
for each entry in Date- FarmerName - Crop there is 50 Samples which correspond to SampleNum - PlantHeight.
Access has this tables
tblTrial
iid(autonumber) - Date - FarmerID - CropID
tblTrialSamples
iid(autonumber) - TrialID_lnk(link to tblTrial) - SampleNum - PlantHeight
So thats it how do i go about importing the data. If possible access should handle the importation, I mean maybe thru macro or VBA code it should ask for the excel file and import the data from it. I need to do this because the users have no permanent net connection to the database, so they just email the excel file to me while i do the data summary and analysis.
It quite a long question, I just hope that somebody can help me. Thanks alot in advance.