J
Joe Blow
Hello all and TIA...
Access 2003
Win XP Pro
I am writing a mktbl query that pulls data from a SQL Server.
One particular text field is 16 digits long, so the field in the table I am
"making" is a text field and is 16 digits long. However, I also need to run
an append query after the mktbl, where the same field is 17 digits.
When I run it, it truncates the last character from the SQL table and stores
it in my table.
Is there a way to force the mktbl query to say, regardless of how many
characters the field is that I am pulling from, I want this field to be 17
digits?
I tried:
ORDER_NO: Format([ORDER_NO_SQL],"@@@@@@@@@@@@@@@@@")
But it made the field 255 characters.
I can run the mktbl on the second table first, which would force that field
to 17 digits, then the append will store 16 digits in the same table without
problems. I just need to run the "16" before the "17".
Thanks,
-Joe
Access 2003
Win XP Pro
I am writing a mktbl query that pulls data from a SQL Server.
One particular text field is 16 digits long, so the field in the table I am
"making" is a text field and is 16 digits long. However, I also need to run
an append query after the mktbl, where the same field is 17 digits.
When I run it, it truncates the last character from the SQL table and stores
it in my table.
Is there a way to force the mktbl query to say, regardless of how many
characters the field is that I am pulling from, I want this field to be 17
digits?
I tried:
ORDER_NO: Format([ORDER_NO_SQL],"@@@@@@@@@@@@@@@@@")
But it made the field 255 characters.
I can run the mktbl on the second table first, which would force that field
to 17 digits, then the append will store 16 digits in the same table without
problems. I just need to run the "16" before the "17".
Thanks,
-Joe