excel - Access Export to Text File (Formatted files) then Import it issues -
my coworker , noticed issue trying import formatted file text file preduced using access export text file.
the sample file within access after create looks this:
the sample file looks when exported using text file option:
------------------------------------------------------------------------------------------------------ | id | famousname | famousfor | ------------------------------------------------------------------------------------------------------ | 3 | bill gates | american businessman | ------------------------------------------------------------------------------------------------------ | 4 | muhammad ali | american boxer , civil rights campaigner | ------------------------------------------------------------------------------------------------------ | 5 | john f. kennedy | president 1961 1963 | ------------------------------------------------------------------------------------------------------ | 6 | christopher columbus | italian explorer | ------------------------------------------------------------------------------------------------------ | 7 | elvis presley | american musician | ------------------------------------------------------------------------------------------------------ | 8 | albert einstein | german scientist, theory of relativity | ------------------------------------------------------------------------------------------------------ | 9 | paul mccartney | british musician, member of beatles | ------------------------------------------------------------------------------------------------------ | 10 | leonardo da vinci | italian, painter, scientist, polymath | ------------------------------------------------------------------------------------------------------ | 11 | pablo picasso | spanish modern artist | ------------------------------------------------------------------------------------------------------ | 12 | vincent van gogh | dutch artist | ------------------------------------------------------------------------------------------------------ | 13 | franklin d. roosevelt | president 1932 1945 | ------------------------------------------------------------------------------------------------------ | 14 | thomas edison | american inventor | ------------------------------------------------------------------------------------------------------ | 15 | ludwig beethoven | german composer | ------------------------------------------------------------------------------------------------------ | 16 | oprah winfrey | american tv presenter, actress, entrepreneur | ------------------------------------------------------------------------------------------------------ | 17 | walt disney | american film producer | ------------------------------------------------------------------------------------------------------ | 18 | neil armstrong | astronaut | ------------------------------------------------------------------------------------------------------ | 19 | j.k.rowling | british author | ------------------------------------------------------------------------------------------------------ | 20 | ernest hemingway | american author | ------------------------------------------------------------------------------------------------------ | 21 | henry ford | industrialist | ------------------------------------------------------------------------------------------------------ | 22 | steve jobs | co-founder of apple computers | ------------------------------------------------------------------------------------------------------ | 23 | ronald reagan | president 1981 1989 | ------------------------------------------------------------------------------------------------------ | 24 | babe ruth | american baseball player | ------------------------------------------------------------------------------------------------------ | 25 | billie holiday | american jazz singer | ------------------------------------------------------------------------------------------------------
which fine , easy read when try import txt file access never goes though access created it!:
i tried use | delimiter resulted in odd table layout (notably --------- being in first column , others still not having header names , all.
after going through a lot of configurations comes out looking this:
or other type of formatting looks terrible.
although not big deal since there other formats export/import (namely 1 use - excel) coworker , find out if it's @ possible import txt formatted file version since access offers option... , seem use should work others do.
reading this microsoft office guide exporting in access:
Comments
Post a Comment