Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / January 2005

Tip: Looking for answers? Try searching our database.

On click - Select All-

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John Smith - 31 Jan 2005 16:17 GMT
Is it possible to have a button named for exemple "Select All" that will
select all the row in a listbox?

Thanks!

JS
T Martin - 31 Jan 2005 16:48 GMT
Use the following code in the "On Click" Event:

Dim i as variant
Do While i < me.listname.listcount
me.listname.selected(i) = true
i = i + 1
loop

(Make sure the list box you have enabled multi-select)

T Martin

> Is it possible to have a button named for exemple "Select All" that will
> select all the row in a listbox?
>
> Thanks!
>
> JS
John Smith - 31 Jan 2005 19:23 GMT
Thank you very much my friend!

Another problem solved

JS

> Use the following code in the "On Click" Event:
>
[quoted text clipped - 14 lines]
>>
>> JS
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.