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 / February 2007

Tip: Looking for answers? Try searching our database.

ComboBox?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RobUCSD - 09 Feb 2007 18:23 GMT
I have a comboBox with 4 fields; fldDeviceNo(unique ID stored in underlying
table), fldManufacture, fldModel, fldModel#.

When a device is selected, I need all the fields to be displayed in the
forms field.
Is this possible, or do I need to concatenate these fields?

Thanks Rob
Klatuu - 09 Feb 2007 18:41 GMT
All in one field or each in its own field?
If all in one field:
   Me.SomeControl = Me.MyCombo.Column(0) & " " & Me.MyCombo.Column(1) & " "
Me.MyCombo.Column(2) & " " Me.MyCombo.Column(3)

If each column in its own control:

   Me.SomeControl = Me.MyCombo.Column(0)
   Me.AnotherContro = Me.MyCombo.Column(1)
   etc

In either case, use the AfterUpdate event of the combo.
Signature

Dave Hargis, Microsoft Access MVP

> I have a comboBox with 4 fields; fldDeviceNo(unique ID stored in underlying
> table), fldManufacture, fldModel, fldModel#.
[quoted text clipped - 4 lines]
>
> Thanks Rob
 
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.