Hi all new to Access and the forums here, so hi to all
Question:
I am not sure how to go about this so i will explain first what i have.
I have 30 tables of 5 columns each. Ultimately i want to create query's based on the first column and to collect info from the other columns. The problem i have is the first column is in a format that is unusable eg "2012.10.10 7:30" (the data is from a csv file, and will be updated regularly so the first column will always be in this format.
I am looking to change the tables (not create new ones, presuming this is the best way of doing it) so a query (or update query) automatically inserts two new columns to each table First column takes the hour, 2nd column gets the minute value. I have no worries in using left and rights to do this.
Then i will be able to create queries using these new columns in the existing tables as a reference.
Any ideas?
Regards
Surreall
PS as these tables will be updated regularly, would it be better to to use VBA or whatever Access uses to import the csv file into access (saving it as the same name as the last) and editing it this way? EG
Code:
For each csv file
Import CSV file
Extract into table form
Insert columns etc (using right and lefts to get the right ones)
Next csv file