J
joeb
I am working on a database that uses data provided by a
third party in a weekly TXT file.
I was given the field specifications for the fixed-width
file and have created a table using the same fields. I
have given these fields the appropriate datatypes for
their intended uses and have used field lengths for the
text fields that matched the field lengths given in the
field specs.
The problem is with a transaction number field. Although
this contains only numbers, it was set up as a text field
in the original specs and I have done the same in my
table. This field has a specified length of 10 characters
but is currently only using 8. When I import the txt file,
the data in this field shows 2 spaces before the actual 8
characters. I know several workarounds for this but I was
hoping to learn something about how the import works so
that I can avoid the problem it altogether.
Any assistance would be appreciated.
Thanks in advance...Joe
third party in a weekly TXT file.
I was given the field specifications for the fixed-width
file and have created a table using the same fields. I
have given these fields the appropriate datatypes for
their intended uses and have used field lengths for the
text fields that matched the field lengths given in the
field specs.
The problem is with a transaction number field. Although
this contains only numbers, it was set up as a text field
in the original specs and I have done the same in my
table. This field has a specified length of 10 characters
but is currently only using 8. When I import the txt file,
the data in this field shows 2 spaces before the actual 8
characters. I know several workarounds for this but I was
hoping to learn something about how the import works so
that I can avoid the problem it altogether.
Any assistance would be appreciated.
Thanks in advance...Joe