most areas on the east coast have zip codes starting with 0... you can probably see where i'm going with this already.
i'm trying to relate these 2 databses:
1) TaxDB - an ODBC MySQL database (which is mainly used for our webstore) of every zip code and it lists all their tax info for city, county, and state.
2) CustomerDB - the database i have created and that we've been using for two months to store sales data and contact information
attempt #1: my customer zip field was originally text. i then converted CustomerDB.zip to an integer field. i then created a relationship between the TaxDB.zip and the CustomerDB.zip and the only problem was the "0" of every east coast customer ended up being omitted by the conversion. there seems to be no way to add this zero. i tried every single number format possible (long int, double, single, decimal) and nothing works.
attempt #2: i decided to make a query that first converts TaxDB.zip to a string using the CStr function. unfortunately, everyone of the east coast zip codes ended up returning #error while all the other zips worked fine.
so.... i am not sure what there is to do. is there a function i can use to convert TaxDB.zip to a string that properly converts the zero in string format? i am at a loss. i'd appreciate some input!! thanks guys
--nate
i'm trying to relate these 2 databses:
1) TaxDB - an ODBC MySQL database (which is mainly used for our webstore) of every zip code and it lists all their tax info for city, county, and state.
2) CustomerDB - the database i have created and that we've been using for two months to store sales data and contact information
attempt #1: my customer zip field was originally text. i then converted CustomerDB.zip to an integer field. i then created a relationship between the TaxDB.zip and the CustomerDB.zip and the only problem was the "0" of every east coast customer ended up being omitted by the conversion. there seems to be no way to add this zero. i tried every single number format possible (long int, double, single, decimal) and nothing works.
attempt #2: i decided to make a query that first converts TaxDB.zip to a string using the CStr function. unfortunately, everyone of the east coast zip codes ended up returning #error while all the other zips worked fine.
so.... i am not sure what there is to do. is there a function i can use to convert TaxDB.zip to a string that properly converts the zero in string format? i am at a loss. i'd appreciate some input!! thanks guys
--nate
Comment