Hi all,
I have been asked to modify an Access database that someone else created and is no longer with the company. I am adding an import for external csv file for job tickets.
This import with be monthly into Access with job details, among the fields I that will import is Chargeback Code as numbers and another field name Cost Item as a text string. I have another table with 2 fields named Cost Item and ucmc code.
As the import process goes, csv comes into the database to a temp table. I will then have a select query that will drop in the ucmc code if the Cost Item name matches, no problems here.
The table all the data is to be appended too eventually has two fields for the ucmc code, st1 and st2. In the past, the monthly job details were entered manually into a form and the correct field was then selected, if st1 or st2.
I wish this all to be done as an append query, but here is the kicker. If the Chargeback code number begins with 3 then that ucmc code will drop into st1. If the Chargeback code number begins with anything other than 3 that ucmc code will drop into st2.
I know there is someone out there that can offer suggestions to make this work within the query.
Thanks in advance