devxlogo

Using Predefined Access Queries

Using Predefined Access Queries

Question:
How do you run Access queries in VB?

Answer:
Queries that you have defined in Access can be opened just like tables,using the OpenRecordset method of the database. If you are using an Deleteor Update query, use the Execute/ExecuteSQL method of the database to runthose queries. Just put the query name in where you would normally put thetable name.

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist