I created a union query between two tables in MS Access 2000. I have an autonumber field in the original table that is formatted with leading zeros. These zeros do not show up in my sql query results. How can I format to display zeros using a sql query?
What do you mean by field definition? This is my current queryThe PermID field is the autonumber field)
SELECT [Brochure ID],[Brochure Name],[Brochures Detail_PermID] AS [PermID],[Order Date],[Ship Date],[Qty],[Salutation],[LastName],[FirstName],[MiddleName],[Address1],[Address2],[City1],[State1],[Zip1],[Add1Country],[HomePhone1],,[PrimaryAddress]
FROM [FirstAddressBrochuresPendingQuery]
UNION SELECT [Brochure ID],[Brochure Name],[Brochures Detail_PermID] AS [PermID],[Order Date],[Ship Date],[Qty],[Salutation],[LastName],[FirstName],[MiddleName],[AltAddress],[AltAddress2],[City2],[State2],[Zip2],[AltAddCountry],[HomePhone2],[Email],[PrimaryAddress]
FROM [SecondAddressBrochuresPendingQuery];
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.