P1234 is 5 characters - I assume you mean 5 and not 4.
You will have to import it (or link to it ) first with all the data and then you can use an append query to add the data to the final table and at the same time trim the first field.
You can use
Right(firstfieldname, 5)
to get the characters from the first field.
In sql terms you would have something like...
Insert Into finaltablename (field1,field2,field3,fiel
Select Right(F1,5) as MyFld1, F2, f3,f4,f5) from importedtablename
Main Topics
Browse All Topics





by: seanmorrisPosted on 2008-08-05 at 04:03:02ID: 22159722
To give anyone a head start i have the following which combines the whole line to
P1234,123456,548796,12QW ,A ,4525,03/07/2007
I just cant get it to update line by line
regards
SM
Select allOpen in new window