How to Create a Lookup Field in a Table in Microsoft Access
ฝัง
- เผยแพร่เมื่อ 21 ก.ค. 2024
- In this tutorial, we will teach you how to create a lookup field in a table in Microsoft Access. A lookup field will allow you to pull data from another table to ensure that you have more accurate data in your main table(s). We will start with creating the source of a lookup field. Next, we will show you how to make a lookup field in table in Microsoft Access that pulls data from a source table. Then, we will go over some important properties for the lookup field. This is a great tutorial for anyone wanting to learn how to make a field in one table in Microsoft Access reference a field in another table in the same database.
Download the sample file used in How to Create a Lookup Field in a Table in Microsoft Access here:
www.myexcelonline.com/wp-cont...
How to Create a Lookup Field in a Table in Microsoft Access Time Stamps ⌚
00:00 - Introduction to How to Create a Lookup Field in a Table in Microsoft Access
00:27 - Microsoft Access Database Overview
01:09 - Creating a Lookup Table in Microsoft Access
03:39 - Creating a Lookup Field in a Table in Microsoft Access
07:26 - Lookup Field Properties
09:01 - Why Using a Table ID for a Lookup Field is Better Than Text
10:35 - Adding to and Limiting Your Lookup Field List
12:20 - Changing a Field Name in a Microsoft Access Table
12:45 - Conclusion for How to Create a Lookup Field in a Table in Microsoft Access
------------
🔥 OUR BEST EXCEL RESOURCES 🔥
👨🏫 Get 30+ Excel & Office Courses & support for ONLY $1💵 (all levels covered)
Learn Formulas, Macros, VBA, Pivot Tables, Power Query, Power Pivot, Power BI, Charts, Financial Modeling, Dashboards, Word, PowerPoint, Outlook, Access, OneNote, Teams, Project, PowerApps, PowerAutomate, Visio, Forms & MORE!
Join Now for ONLY $1 (limited time offer) 👉 www.myexcelonline.com/107-186...
📚 Download Our Free 101 Excel Tips & Tricks E-Book:
Download for FREE 👉www.myexcelonline.com/101-exc...
💻 Access 1,000+ Free Excel & Office tutorials over at our award-winning blog:
Access for FREE 👉www.myexcelonline.com/107-3.html
📚Get All Our 101 Excel E-Book series on Formulas, Macros & Pivot Tables:
www.myexcelonline.com/107-59....
📚101 Most Popular Excel Formulas Paperback on Amazon:
www.amazon.com/dp/1700300911
📚101 Ready To Use Excel Macros Paperback on Amazon:
www.amazon.com/dp/1700729675
📚101 Best Excel Tips & Tricks Paperback on Amazon:
www.amazon.com/101-Best-Excel...
👷 Excel Consulting Services:
www.myexcelonline.com/microso...
💻 Looking for more Microsoft Excel & Office tutorials? Check out our playlist below:
www.youtube.com/@MyExcelOnlin...
------------
Feel free to comment and ask questions about this Microsoft Excel tutorial below and we will get back to you with the answer ASAP!
If you enjoyed the video, please give a thumbs up, comment, share.
Do not forget to SUBSCRIBE to this channel to get our new Microsoft Excel tutorials delivered straight to you each week! Thank You :)
Cheers,
JOHN MICHALOUDIS
Chief Inspirational Officer & Microsoft MVP
www.myexcelonline.com/
❤️ Let’s connect on social ❤️
LinkedIn: / johnmichaloudis
Instagram: / myexcelonline
Pinterest: / pins
Facebook: / myexcelonline
Twitter: / myexcelonline
#MyExcelOnline #Access #Lookup #Tables #Database #MsAccess
This is one of the absolute best TH-cams I have seen on how to create a lookup field in MS Access -- and not use the Lookup Wizard, because the Wizard causes all sorts of problems. Doing it this way, while lookup fields are poo poo'd by Access gurus who btw wont explain how to do it, doing it this way gives you complete control and understanding and gets rid of the relationship dilemmas that Lookup Wizard causes, and gets you out of the problem of the ID number being returned instead of the text lookup. Great job. Lot of very subtle but valuable tips here. Cant thank you enough!!!
You are very welcome!
amaizing! it looks so simple after watching this video
Oh, that's great! So glad you found it helpful!
I spent hours on youtube and chatgpt I learned a lot but hardly to bring all togehter to normalize the record between tables, specially to due with many to many relationships. This video you made a great illustration and walk through with MS lookup function that I can join related entities for purpose, you also . Thank you so much for all your good work.
More than happy to help!
You are an AMAZING teacher!!! I was struggling to understand this in the Contacts database. So simple after watching your videos. I will follow your videos from now on!!! thank you .. thank you.. thankyou
So glad you liked it! Access can do some pretty amazing things!
Would like to see how the lookup field works in a form.
So the great thing is, if you create this dropdown in the table and then make a new form where you set the recordsource to the table (or a query based on the table), you can then go to Form Design|Add Existing fields and when you drag that field where you created the dropdown, it will automatically be created on the form as well!
Love the video so easy to follow quick question when i go to do a report in access that references the list it prints the number and not the data. How do i get around that
Glad you liked it! Thanks for watching. To answer your question, if you right click and change the control to a combo box, you can set the column count property on the property sheet to 2 and then change the column widths property to 0,1 (the first column width 0 and the second one 1 inch). Hope that helps!
Hello , first thanks for your great explanation your are aa great teacher , second i have a question, i set up a lookup field and a calculated field and the calculated field should join the value of the look up field and another field together but since I'm storing the value of the ID in lookup field i found the calculated field joins the ID number instead of the text , how to solve this problem with keeping the option of whenever i change the values in the tables used as a reference for the lookup field it changes the values in the lookup field itself
Thanks in advance 😊
Thanks for the compliment! One suggestion I have as long as the correct ID is being returned would be to make a query from the table and join what you are wanting on the calculated field and use the query as your recordset instead of the table. Let me know if that works!
Does making the user's menu of options for data entry in a field come from a lookup table make the multivalue option work smoothly when multiple values are allowed? Or is a junction table needed? I've been having trouble figuring out how to set up a database with some many to many relations. I need mutiple responses in a field without having them all end up in one tuple/row of the table.
I think in your case, a junction table may be needed. Anytime you have a many side of a relationship, another table is needed. For data entry, I would recommend using a subform on a regular form. The subform can be the junction table. Then you can link this subform using the LinkMasterfileds and Childfields in a second form that displays the other side of the relationship. Hope that helps! If you have further questions, we do offer consulting services to help. Check out www.myexcelonline.com/microsoft-excel-consulting-services/#.