Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS Access VBA query syntax

Status
Not open for further replies.

macleodjb

Technical User
Aug 27, 2007
10
Hi guys, i'm hoping one of you pro's can help this novice out and write some quick code for me. I don't know the syntax to create a database query in a form module. Here's what i want the query to do.

1 - Query database and retrieve all records.
2 - With query result assign variable to each record
3 - Now i can take the variables and populate my textboxes.

Thanks in advance for the help.
 
Google "ADO recordsets Access". There are hundreds if not thousands of examples available already if you are willing to do a little research.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top