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 / Setup / Configuration / March 2005

Tip: Looking for answers? Try searching our database.

Combo Box continuous selections

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jerri - 25 Mar 2005 16:09 GMT
Is it possible when using a combo box to be able to select a selection and
then have that selection already choosen for the next data entry form? For
example, I am creating a serial number database.  The user choose the model
and then enter the serial number.  Say they have several of the same model to
enter.  Is it possible to select a cyclone device and then on the next data
entry form have the cyclone device already choosen without the user entering
it again?

Thanks
Rick Brandt - 25 Mar 2005 16:47 GMT
> Is it possible when using a combo box to be able to select a
> selection and then have that selection already choosen for the next
[quoted text clipped - 5 lines]
>
> Thanks

In the AfterUpdate event of the [Model] ComboBox...

Me.ComboBoxName.DefaultValue = Me.ComboBoxName

This will not persist between sessions of the Form, but will work as you move
from record to record per-session.  It also will not work reliably in a
continuous form or datasheet form because the "New Row" will be displayed and
the default values populated before you have made your first entry.  If you had
to do more than a couple rows with the same value it would still have some
benefit, but you would have to watch the default value carefully any time you
changed.

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.