Okay, I'm not sure if this is possible, so I'll describe the situation.
I have data in a text file (comma delimited) that I import into an access table. The data from the spreadsheet consists of numbers (a different number for each field). Together they form a unique number for the client.
A perfect example could be a telephone number where the data would be 999,888,7777 (as an example). The data then imports perfect to my first table into 3 seperate fields.
I then run a query to combine the numbers into a new table. This also works perfectly. The only problem is the data is missing key formatting (e.g. with the telephone number the formatting would be (999) 888-7777.
Now does anyone know how to make this happen at the query that creates the table (perhaps in a SQL statment)? I'd hate to have to force the user to run another query to format this appropriately if it can be helped.
My maketable SQL is as follows:
SELECT ac & ' ' & bc & ' ' & cc & ' ' & dc AS COMBINED INTO tbl_Authenticated_Numbers FROM tbl_Numbers;
...the ' ' is required to add in the appropriate spacing of the numbers. My big problem is the number identified at 'dc' needs to have a decimal place 3 points to the right (I can format the initial table to do this with a @@@@@\.@@@ in the format section but it doesn't migrate to the new table with this formatting).
Any help would be appreciated.
I have data in a text file (comma delimited) that I import into an access table. The data from the spreadsheet consists of numbers (a different number for each field). Together they form a unique number for the client.
A perfect example could be a telephone number where the data would be 999,888,7777 (as an example). The data then imports perfect to my first table into 3 seperate fields.
I then run a query to combine the numbers into a new table. This also works perfectly. The only problem is the data is missing key formatting (e.g. with the telephone number the formatting would be (999) 888-7777.
Now does anyone know how to make this happen at the query that creates the table (perhaps in a SQL statment)? I'd hate to have to force the user to run another query to format this appropriately if it can be helped.
My maketable SQL is as follows:
SELECT ac & ' ' & bc & ' ' & cc & ' ' & dc AS COMBINED INTO tbl_Authenticated_Numbers FROM tbl_Numbers;
...the ' ' is required to add in the appropriate spacing of the numbers. My big problem is the number identified at 'dc' needs to have a decimal place 3 points to the right (I can format the initial table to do this with a @@@@@\.@@@ in the format section but it doesn't migrate to the new table with this formatting).
Any help would be appreciated.