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 / General 1 / January 2006

Tip: Looking for answers? Try searching our database.

drop-down feeding two fields

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
anon - 31 Jan 2006 05:29 GMT
Oh, how memory fades.  I have forgotten how to have a single two-column
drop-down feed two fields.

As I don't want to limit to the list, I can't get away with a join.

Table: Transactions
Field1: Invoice#
Field2: Procedure
Field3: Fee

A drop down that references table Procedures should populate the
corresponding fields in Transactions

Table: Procedures
Field1: Procedure
Field2: Fee

I recall doing this in an Access project about ten years ago and I
recall it being damn easy and not requiring an VB code or Form tricks to
 execute.
John Mishefske - 31 Jan 2006 06:36 GMT
> Oh, how memory fades.  I have forgotten how to have a single two-column
> drop-down feed two fields.
[quoted text clipped - 16 lines]
> recall it being damn easy and not requiring an VB code or Form tricks to
>  execute.

Two easy ways to do it. The two fields can be bound to textboxes (hidden or visible)
with their controlsource set to the columns, e.g. Me!cboSomeCombo.Column(1)
This is the pull method.

Or you could use the push method - in the AfterUpdate event of the combo box set
the value of the textboxes.

HTH.

Signature

'---------------
'John Mishefske
'---------------

 
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.