peskywinnets
Registered User.
- Local time
- Today, 18:27
- Joined
- Feb 4, 2014
- Messages
- 582
To set out my stall, I started with MS Access about a year ago to help me in my online business (I'm a one man business from CEO, to office cleaner...I do all roles - including coding now!).
Back when I started using Access, I simply took a bulk dump of orders each day (from a 3rd party order management system) & imported them into one hulking big table in access ...which I know makes people round these parts wince.
Ok, so the 3rd party product I was using to 'go fetch' my online orders, have hiked their prices to point where I lay on the floor & adopted the foetal position...after sucking on my thumb & pondering my options for a few days, I made the bold decision to try & 'roll my own' replacement for their system. I've bitten off more than I can chew.
Stage 1 is complete (the 'go fetch' my online orders from ebay & Amazon & pipe them into Access in a meaningful way - I had to learn about XML, VBA, & parsing XML using Access VBA etc ...Amazon's API do it significantly different to Ebay's - it was ugly...but it's now pretty much done).
So what I'm (loosely) planning is this 'retrieved order data' ends up in a 'scratch' Access table (going back 30 days in time)...I intend splitting out (normalising) the raw data in this table amongst other tables (customers, invoice, invoice items, inventory etc.), but frankly having started doing this normalising with queries...I'm ending up with a *lot* of queries & it's becoming cumbersome.
For example, just adding to the customer table, needs me to select 'unique' customers from my incoming 'scratch' table, then check if the customer exists in the customers table, if they don't exist then add them to the customers table....and finally add the customer ID back over to the scratch table the .....is my approach wrong? Should I be using VBA vs queries?
Back when I started using Access, I simply took a bulk dump of orders each day (from a 3rd party order management system) & imported them into one hulking big table in access ...which I know makes people round these parts wince.
Ok, so the 3rd party product I was using to 'go fetch' my online orders, have hiked their prices to point where I lay on the floor & adopted the foetal position...after sucking on my thumb & pondering my options for a few days, I made the bold decision to try & 'roll my own' replacement for their system. I've bitten off more than I can chew.
Stage 1 is complete (the 'go fetch' my online orders from ebay & Amazon & pipe them into Access in a meaningful way - I had to learn about XML, VBA, & parsing XML using Access VBA etc ...Amazon's API do it significantly different to Ebay's - it was ugly...but it's now pretty much done).
So what I'm (loosely) planning is this 'retrieved order data' ends up in a 'scratch' Access table (going back 30 days in time)...I intend splitting out (normalising) the raw data in this table amongst other tables (customers, invoice, invoice items, inventory etc.), but frankly having started doing this normalising with queries...I'm ending up with a *lot* of queries & it's becoming cumbersome.
For example, just adding to the customer table, needs me to select 'unique' customers from my incoming 'scratch' table, then check if the customer exists in the customers table, if they don't exist then add them to the customers table....and finally add the customer ID back over to the scratch table the .....is my approach wrong? Should I be using VBA vs queries?