Gasman
Enthusiastic Amateur
- Local time
- Today, 02:38
- Joined
- Sep 21, 2011
- Messages
- 14,287
I need to be able to select a csv file which is a bank statment download and import into a database.
However I also need to mark each entry with additional data and also allow the option of not importing every transaction.
For the additional data I need to add a propertyID and a CategoryID to those records that will be finally imported into my tblTransaction.
My plan of attack was to
Create a main form that allows the selection of the latest csv file
Link to that file via VBA
Show the linked transactions in a continous sub form with combos for PropertyID, CategoryID and a checkbox to select those to be imported(and anything else that develops).
However where I am stuck is how to go about putting these records into my actual table tblTransaction.
Normally I would just run a query, but some of the fields will not exist in the import table? namely PropertyID and CategoryID
How would I go about doing it this way?, or is there a better way please.?
TIA
However I also need to mark each entry with additional data and also allow the option of not importing every transaction.
For the additional data I need to add a propertyID and a CategoryID to those records that will be finally imported into my tblTransaction.
My plan of attack was to
Create a main form that allows the selection of the latest csv file
Link to that file via VBA
Show the linked transactions in a continous sub form with combos for PropertyID, CategoryID and a checkbox to select those to be imported(and anything else that develops).
However where I am stuck is how to go about putting these records into my actual table tblTransaction.
Normally I would just run a query, but some of the fields will not exist in the import table? namely PropertyID and CategoryID
How would I go about doing it this way?, or is there a better way please.?
TIA