T
Tony
I am trying to take a few fields from a table.
The table is filled with Company Names, Addresses, Phone and Fax Numbers.
What I am trying to do is create a query that will in turn put everything
into one field so I can create a form to copy the data to so that I can paste
the info into a Bill Of Lading.
What I want to do is after the Company Name add a carriage return, after the
address add a carriage return and so on. Would look like this ideally in the
form after the query is created.
Murphy Warehouse
C/O: Mike Butchert
701 - 24th Ave S.E.
Minneapolis, MN 55414
612-623-1200
Here is my Sql that I am writing and it is giving me the square value for
the carriage return and does not do the carriage return when I create my form
and set the properties multiline to true.
SELECT [Origin] & Chr(13) & [C/O] & Chr(13) & [Address] & Chr(13) & [City] &
", " & [ST] & " " & [ZipCode] & Chr(13) & [PhoneNmbr] AS Orig
FROM Origins;
The table is filled with Company Names, Addresses, Phone and Fax Numbers.
What I am trying to do is create a query that will in turn put everything
into one field so I can create a form to copy the data to so that I can paste
the info into a Bill Of Lading.
What I want to do is after the Company Name add a carriage return, after the
address add a carriage return and so on. Would look like this ideally in the
form after the query is created.
Murphy Warehouse
C/O: Mike Butchert
701 - 24th Ave S.E.
Minneapolis, MN 55414
612-623-1200
Here is my Sql that I am writing and it is giving me the square value for
the carriage return and does not do the carriage return when I create my form
and set the properties multiline to true.
SELECT [Origin] & Chr(13) & [C/O] & Chr(13) & [Address] & Chr(13) & [City] &
", " & [ST] & " " & [ZipCode] & Chr(13) & [PhoneNmbr] AS Orig
FROM Origins;