Consolidating Multiple Small Tables in Microsoft Access into One Table using a Helper Data Table

  Рет қаралды 18,802

Computer Learning Zone

Computer Learning Zone

Күн бұрын

Пікірлер: 35
@mitchellfolbe8729
@mitchellfolbe8729 Жыл бұрын
Watched once to understand. Watched second time to practice. Great fun.
@599CD
@599CD Жыл бұрын
That's how you learn. :)
@scottaxton2513
@scottaxton2513 3 жыл бұрын
Lots of useful little tidbits in the comments of the videos. The little nuances that you provide are worth their weight in gold. Thanks!
@599CD
@599CD 3 жыл бұрын
Glad you approve. It's the little things that I don't think of adding to my "normal" courses that I enjoy putting in these. :)
@ZahidKhan-mb6oc
@ZahidKhan-mb6oc 4 жыл бұрын
Very very useful tips, you are making life easy for many Access users around the globe. Thanks for your efforts.
@599CD
@599CD 4 жыл бұрын
Happy to help
@gregoryjeffries8475
@gregoryjeffries8475 3 жыл бұрын
Saw this concept in business world several years ago. Look to incorporate into my db builds going forward. Great idea.
@599CD
@599CD 3 жыл бұрын
Thanks
@garethwoodall577
@garethwoodall577 4 жыл бұрын
Fantastic video Richard! Many thanks for sharing.
@599CD
@599CD 4 жыл бұрын
Very welcome
@farinatty
@farinatty 4 жыл бұрын
Most useful additonal naming convention I have come across is to add FK (foreign key) to every ID where it is a foreign key. HelperID in the helper table, HelperID_FK in each other table it is used.
@599CD
@599CD 4 жыл бұрын
That's a good idea. Personally I try to avoid - and _ in my VB names, which is funny because I used to be a C programmer and first_name was the preferred naming convention. But yes, if adding FK helps you keep everything straight, then by all means do it. I usually name the PK the same as the table so that helps me know what's what. CustomerT has CustomerID. OrderT has OrderID and so on. Every other ID would be a FK.
@shadowsychrealm8311
@shadowsychrealm8311 7 ай бұрын
Thanks Richard! I really appreciate all the work you do. If it's not too much to ask, could you explain how you would get the real data back from the table? I have a db where i need about 9 conditions in one helper table, but I also need to be able to copy and paste an understandable log of the db's main table values. Thank you! I know it's a longshot but you'd be saving me a lot of agony.
@shadowsychrealm8311
@shadowsychrealm8311 7 ай бұрын
NVM, I still think you should make a video on it but I figured out the solution by scrolling through the comments & downloading the "Help Desk" Techhelp Template. I was able to find an applicable example with how the "StatusID" & "PriorityID" worked. Thanks Rhichard! Doing the world a service!
@599CD
@599CD 7 ай бұрын
You're welcome. This isn't an easy concept to grasp at first. That's why in my beginner lessons, I just teach people to make all of the separate individual tables. Only after you've mastered relationships should you attempt this.
@artistryartistry7239
@artistryartistry7239 2 жыл бұрын
What if for "Web" as the lead source you need to get more granular and know which search engine(s) they used. Would you be forced into breaking that out into its own column?
@599CD
@599CD 2 жыл бұрын
You could either add it to the same list like "Web - FB", "Web - Twitter", etc. or make a secondary list and use cascading combo boxes: 599cd.com/Cascading
@NimishP
@NimishP 2 жыл бұрын
In addition to access forms, can you make videos that employ C# forms.
@599CD
@599CD 2 жыл бұрын
Nope. Not my jam.
@philpatterson1366
@philpatterson1366 3 жыл бұрын
Can anyone explain the relationships of the helper tables to the tables using the data? If the helper table relates to multiple fields on the main table, how do you choose which field to link the helper ID to?
@599CD
@599CD 3 жыл бұрын
That's what the HelperTypeID is for.
@abdullahfelemban953
@abdullahfelemban953 Жыл бұрын
Very helpful videos
@MrSilentProtagonist
@MrSilentProtagonist 3 жыл бұрын
I thought doing something like this before due to the simple fact that it takes less space than a text file. However, I used a lot of VBA coding and I was reworking an existing code. Using numbers to represent the state of the check started to make the code harder to read. Obviously, I could have just made a module with a function that accepts a string returns the corresponding number but 1) I haven't thought of that earlier 2) how do I update the module?
@599CD
@599CD 3 жыл бұрын
I don't understand what you're asking me.
@MrSilentProtagonist
@MrSilentProtagonist 3 жыл бұрын
@@599CD I was saying that problem of using a module to keep track of helper data was the code must modified everytime that a new entry is added but it helps with the readability of the code. For example, if I want to filter checks to be printed, I could make a module called Helper with a function getchkstat("ToPrint") to get the HelperID in the Helper table.
@thereviewers117
@thereviewers117 3 жыл бұрын
Hi, I have a form on my database that displays different projects and each project has contract manager, site foreman, and surveyor. However, I'm trying to include this as a sub-form on the contact list for all the staff of the business. The issue is it only filters via contact manager whereas some people on that list might be a qs or site foreman. Is there a way to make the subform filter the records so if the name appears in cm, sf, or qs the record appears for that named person?
@599CD
@599CD 3 жыл бұрын
Yes, I'm sure it can be done, but I'd need to know a lot more detail about how you have everything set up. I can't tell from just your question here. Feel free to submit your question at 599cd.com/TH
@BanditFX7
@BanditFX7 4 жыл бұрын
I using this technic on my old quickbasic pds 7.1 and its great for create compacte data base
@599CD
@599CD 4 жыл бұрын
Thanks
@josephmessina5689
@josephmessina5689 3 жыл бұрын
Veey cool excellent video. I love it Very helpful!
@599CD
@599CD 3 жыл бұрын
Glad it was helpful!
@pusolution4445
@pusolution4445 2 жыл бұрын
If I use "Helper Data Table" my actual table gets numbers instead of actual data. My Qusetion is how can I search a record as indicated in " kzbin.info/www/bejne/n56ogHqrnpqYn8U " as there is no actual data but numbers.
@599CD
@599CD 2 жыл бұрын
Join it in a query with the table that has the names.
@pusolution4445
@pusolution4445 2 жыл бұрын
@@599CD can you please suggest your video tutorial for this
@remcop1989
@remcop1989 11 ай бұрын
How come I didn’t see you add the relationships between the tables? I thought I knew about relationships between tables…😅
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
Microsoft Access Beginner Level 1 - Complete 4-Hour Course
4:16:16
Computer Learning Zone
Рет қаралды 216 М.
Normalization Made Easy | AS/A-Level IT (9626) Worked Example
19:55
JCS IG & A-level Tutorials
Рет қаралды 276
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН