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 / August 2005

Tip: Looking for answers? Try searching our database.

Listbox problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Biggles - 25 Aug 2005 18:36 GMT
I am trying to make my list box, depending on how the form is opened, either
select only one or many, so I have this code in my on open of the form (for
this one, to make multiselect none).  

       Me.Selectapp.MultiSelect = 0
However, the error message I get says that I cannot assign a value to this
object.  
Help.
Signature

Ficticiously Yours, Biggles

Rick Brandt - 25 Aug 2005 18:43 GMT
> I am trying to make my list box, depending on how the form is opened,
> either select only one or many, so I have this code in my on open of
[quoted text clipped - 4 lines]
> this object.
> Help.

That is a property that cannot be changed in Runtime (only in design view).

Create two ListBoxes, one with MultiSelect enabled and toggle which is
visible.

Signature

I don't check the Email account attached
to this message.     Send instead to...
RBrandt    at       Hunter      dot      com

Biggles - 25 Aug 2005 19:00 GMT
Thanks, I will do that.  Do you know why you cannot change this?  At first
glance, seems inefficient.

Signature

Ficticiously Yours, Biggles

> > I am trying to make my list box, depending on how the form is opened,
> > either select only one or many, so I have this code in my on open of
[quoted text clipped - 9 lines]
> Create two ListBoxes, one with MultiSelect enabled and toggle which is
> visible.
Rick Brandt - 26 Aug 2005 00:10 GMT
> Thanks, I will do that.  Do you know why you cannot change this?  At
> first glance, seems inefficient.

No.  There are certain properties that simply cannot be changed except in design
view.  I do not know the technical reasons.

Signature

I don't check the Email account attached
to this message.     Send instead to...
RBrandt    at       Hunter      dot      com

 
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.