Hi, I work at a small airport in Norway. Today we write traffic statistics by hand and I would like to make this more automatic.
I only have a general knowledge of Access and would appreciate some help getting started.
I'm using Windows 7 and MS Access 2007.
Everyday we can save arrivals and departures from the Norwegian Aeronautical Information System into a text file. I have included the text file here.
As you can see, the problem is that the text file is not csv. In access I find the most logic choise would be to import it using fixed width. When doing so I get a table looking like this.
I would like for Access to automatically build a table like this everyday if a text file with "todays" date e.g. "100611.txt" exists in folder X.
I would then want Access to run through the table creating two new tables, one for departures and one for arrivals for that date. The field names should match the field names of ID7 from the .jpg file. When a match for ENXX under field7 is found it should write a new line to Arrivals table using the ID from the match and go through all the fields. Same for departures when a match for ENXX is found under field6.
I hope I was able to make this understandable. I am not into the lingo of programming.
Is this possible? Any starting help here is highly appreciated.