Understanding Recordsets in Microsoft Access VBA - a Beginner's Guide

preview_player
Показать описание
In this Microsoft Access tutorial, we will explore the fundamental concepts of recordsets and their practical applications. You'll learn what recordsets are, how they function within the VBA environment, and why they are a crucial tool for database manipulation and data management. This guide is tailored for beginner Access VBA developers, providing step-by-step insights into using recordsets to enhance your data handling capabilities in Access, setting a strong foundation for more advanced database programming techniques.We'll also see how to send emails in a loop to multiple customers using a Recordset.

BECOME A MEMBER:

LEARN MORE:

PREREQUISITES:

LINKS:

RECOMMENDED COURSES:

FREE TEMPLATE DOWNLOADS:

ADDITIONAL RESOURCES:

KEYWORDS:
TechHelp Access 2016, Access 2019, Access 2021, Access 365, Microsoft Access, MS Access, MS Access Tutorial, #msaccess, #microsoftaccess, #help, #howto, #tutorial, #learn, #lesson, #training, #database, Understanding Recordsets, OpenRecordset, CurrentDB, Recordset Fundamentals, Recordset Loop, loop thru records, Introduction to Recordsets, Email Automation with Access VBA, Managing Data with Recordsets, Recordset Object, VBA Recordset Methods, Recordset Navigation, Recordset and SQL, avoiding endless loops, MoveNext, Nothing

QUESTIONS:
Please feel free to post your questions or comments below. Thanks.
Live long, and prosper.
Рекомендации по теме
Комментарии
Автор

Great video, Richard! I've used recordsets for years, but it never hurt to review in case new functionality is added (or old functionality is forgotten by us "senior" developers LOL!!!).

Shadow.Dragon
Автор

I always check if the recordset is nothing or not before closing it. This is useful when there are error handling sentences. 😊

xavierbatlle
Автор

Finally. Honestly, the recordset video tutorial i learned from was yours. That was ages ago😆. Thank you so much

fontie
Автор

all thumbs up as always to the best teacher Richard. thanks Richard for another valuable lesson

Jojosmith
Автор

Hi Richard. Thank you for the content. I actually have something similar to this, where I send out mass-emails. Instead of sending individual emails in a loop, I build a string with all the email addresses separated by a semicolon. Then, I just add them all to the email as BCC recipients.

simonmaersk
Автор

@0:5:11 you refer to the field name without an equal sign (Status "First Name: " & rs!FirstName). When I do this on the current version of Access I get an error "Invalid Use of Property". But using an equal sign (Status = "First Name: " & rs!FirstName) causes only the last status entry to populate the textbox.

Why would this be happening?

RobertTozzi
Автор

Hello Richard, I've watched a video to learn about Recordsets and email sending. Is it feasible to use SendGrid's service for API-based email sending?

accessdevelopingzone
Автор

First got an error the Record set does not work - needed to add Microsoft DAO 3.6 Object Library. Can I turn a Query's data into a recordset? And how?

diegkol
Автор

I have data base in MS Access and when I close it on "Google drive" then the waring shows every time "the compact and repair operation has been cancelled. You might not have adequate permission to the folder that the data is located in. you need full permission to the director the database is located to compact and repair. contact your system administrator for more information." How we can resolve this issue.

sushilgoyal