Populate listbox VBA Access

Populate Listbox with Parameter Query in VBA

jxt1303
3
Hello,
I need to populate a listbox, based on the result from a parameratized query, which gets its parameter from the ActiveX Calendar control.

So first, I don't know how to execute a parameratized query using VBA. Then also, the Calendar Control doesn't have a click event, so I don't know how to program it to requery everytime they click a different date.

Help!! Thank you.
Feb 18 '08 #1
Follow Post Reply
1 2841
puppydogbuddy
1,923 Expert 1GB
See this thread to get you started,,,,you should read all the posts contained therein because several different methods are discussed that will accomplish the desired result. The method chosen is a matter of preference.

Databound list box populated with parameterized query?

Regarding your questions on the calendar control......generally, when a date is selected it is saved to the textbox in the immediate proximity of the calendar control......for a detailed explanation of how calendar controls work, download this free calendar control constructed using a native Access form as opposed to an ActiveX Calendar control which is often problematic.

//allenbrowne.com/ser-51.html
Feb 19 '08 #2
reply
Message
Cancel Changes

Post your reply

Sign in to post your reply or Sign up for a free account.

Post Reply

Similar topics

Microsoft Access / VBA
Populate Listbox With FileNames
5 posts views Thread by Mark | last post: by
Microsoft Access / VBA
Using Listbox contents as query parameter
4 posts views Thread by dixie | last post: by
Microsoft Access / VBA
Populate multiple query columns with multiple listbox selections
4 posts views Thread by carl.barrett | last post: by
ASP.NET
Populate a Listbox by using JavaScript
1 post views Thread by Devin Wood | last post: by
ASP.NET
Best way to populate ListBox from SQL Server?
3 posts views Thread by Robert W. | last post: by
C# / C Sharp
Populate Listbox from a database
4 posts views Thread by Joe Blow | last post: by
ASP / Active Server Pages
How to use a select list result to query a table to populate a textarea
6 posts views Thread by Spoogledrummer | last post: by
Microsoft Access / VBA
1] Query Parameter From ListBox? 2] Combo Box Query Parameter?
20 posts views Thread by exipnakias | last post: by
Microsoft Access / VBA
Populate listbox rowsource from function
1 post views Thread by Chaihana Joe | last post: by
General
Top 5 Programming Languages To Learn In 2022 And Why should you learn
reply views Thread by Drake Tucker | last post: by
eCommerce
7 Ways To Enhance Your Ecommerce Store User Experience
reply views Thread by strativab | last post: by
eCommerce
The Best Way to Hire eCommerce Web Developers in 2022
reply views Thread by eddparker01 | last post: by
Mobile Development
How to Hire a Programmer in 6 Easy Steps for a Startup
reply views Thread by eddparker01 | last post: by
General
lancet: a comprehensive, efficient, and reusable util function library of go
reply views Thread by lanliddd | last post: by
Microsoft Access / VBA
UK Access User Group [AUG] Seminar
reply views Thread by isladogs | last post: by
Javascript
On-Screen Alert checkbox
1 post views Thread by WIPE | last post: by
C# / C Sharp
Access Exif metadata
1 post views Thread by DGrund | last post: by
Microsoft Access / VBA
I can not connect my access database to sharepoint site
reply views Thread by MoonNbl | last post: by

Video liên quan

Chủ Đề