The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
MS Access Question
Deebaseron my way to work in a suit and a tieAhhhh...come on fucking guyRegistered Userregular
Not sure, but might I suggest not using Access but something which actually plays nice with important standards such as SQL?
Honestly, I've had nothing but trouble with Access in scientific contexts. It refuses to sync with stuff, packages to interface with other apps are usaully a pain to work with and the support is rather sad (comapred to OS stuff).
What are the data types involved? I'm assuming INVOICE is a varchar, and invoice_num is a numeric of some kind.
Also, where are you defining this join? That might help out.
you are correct, INVOICE is a varchar and invoice_num is an int. (Why the devs made INVOICE a varchar is a mystery lost to time). There is nothing I can use to map the numbers to the varchar straight out.
Right now Im performing the join in the WHERE of a simple select.
Deebaser on
0
Deebaseron my way to work in a suit and a tieAhhhh...come on fucking guyRegistered Userregular
Not sure, but might I suggest not using Access but something which actually plays nice with important standards such as SQL?
I would, but the SQL client that our company uses is pretty gimp. The data Im trying to pull from is on different servers and ODBC through Access would make my life easier.
If performance is not a concern, you can simplify future queries by creating a view (query) on the table with INVOICE as a varchar.
So have a query that is named "CLEAN_INVOICE" that is just a selects the necessary fields from that table and does a convert from varchar to number. Then use that query like a view for all future queries.
Posts
Honestly, I've had nothing but trouble with Access in scientific contexts. It refuses to sync with stuff, packages to interface with other apps are usaully a pain to work with and the support is rather sad (comapred to OS stuff).
Also, where are you defining this join? That might help out.
you are correct, INVOICE is a varchar and invoice_num is an int. (Why the devs made INVOICE a varchar is a mystery lost to time). There is nothing I can use to map the numbers to the varchar straight out.
Right now Im performing the join in the WHERE of a simple select.
I would, but the SQL client that our company uses is pretty gimp. The data Im trying to pull from is on different servers and ODBC through Access would make my life easier.
So have a query that is named "CLEAN_INVOICE" that is just a selects the necessary fields from that table and does a convert from varchar to number. Then use that query like a view for all future queries.