Relationships of different tables, and working on forms

Sean SR

New Member
Joined
Dec 24, 2021
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Relationships of different tables

Before I start on this project, I was wondering if anyone can advise is this feasible and if it is for some kind guidance. I used Access a lot 15-20 years ago but have not touched it since.

Presently working in excel but I think Access could be better

I have 2 massive excel documents with well over 16,000 records each

One I have been working on over a year, and been updating as I go on, its now time to work on the other one but still reference the old one.

This data is originally exported out of Microsoft Dynamics, a Maintenance management package. The Data is based on 1 contract number and each contract number could have up to 20 rows, each listing contract number, Customer ID, Customer Name, Site, Post codes, next & last bill dates and items on contract, Qty, Item Cost and line cost. In addition, the data from this year I have added extra columns in excel, Audit notes, database, and location. Difficult to share based on being sensitive data

1 customer could have up to 4000 sites, some might be just a single location

The data is audited a month at a time, and then by Customer

I was thinking get both sets of data in Access

Table A (2021) and Table B (2022)

I would want to filter by the month (next bill date) based on table B

And ideally work on a form, showing the contract number, and the line details and the extra comment boxes

But also show any comments and details from Table A

I can add notes or edit

And move on to the next record

Working through all those contracts by customer, before moving on to the next for the relevant month

It makes sense in my head hope it make sense, and someone could advise before I spend the whole Christmas period trying to work it out

I could provide some mock-up sample data
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Sean

Are you planning to split the data up into multiple tables, e.g. customers, contracts etc.?
 
Upvote 0
Sean

Are you planning to split the data up into multiple tables, e.g. customers, contracts etc.?
Currently in excel that I am working on this year I have a seperate Excel worksheet per customer, but then I have to use a power query to bring it all together, so I was hoping if in Access I would not have to seperate it
 
Upvote 0
If you are going to move to Access wouldn't you want set up a 'proper' database structure?

For example, a table for customers, a table for sites etc.
 
Upvote 0
Not sure I have those skills to realistically decect the data and get it all back again
 
Upvote 0
Access is tall (records), Excel is wide (columns). If you design your db tables as you would spreadsheets you will go down a road that will keep you posting here for solutions to problems. You need to research db normalization at the least but there are many other topics that if reviewed, will save you a lot of grief. I'm quite confident that you're currently on that path because no experienced db developer worth his/her salt would have a table for each year of data. Rather than me re-post those links, perhaps see post 5 here:
 
Upvote 0

Forum statistics

Threads
1,223,884
Messages
6,175,175
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top