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

Tip: Looking for answers? Try searching our database.

Auto fill-in

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jodi - 29 Apr 2004 18:46 GMT
I have a form that has a combo box for shippers/consignees.
The combo box brings up the shipper/consignee name,
address, phone and misc info.  I'd like to change this to
be a combo box for the shipper/consignee name only and
have access auto fill-in the address, phone and misc info
into 3 new fields.  Any help would be greatly appreciated!
SFAxess - 29 Apr 2004 19:31 GMT
There are many ways to accomplish this, but this way doesn't require too much code

Leave your combo box pulling data for the name in column 1, address in column 2, phone in column 3. Set the "Column Widths" property of the combo box to: 1";0";0
Set the "Column Count" property of the combo box to:
Only the Name will show in the drop dow
(You can change the first value if you need to show more of the name
Use this code for the AfterUpdate event of the combo bo

Private Sub combo1_AfterUpdate(

 Me.Text1= Me.cboEmail.Column(0
 Me.Text2 = Me.cboEmail.Column(1
 Me.Text3= Me.cboEmail.Column(2

End Su

You can add other columns in a similiar fashion

    ----- Jodi wrote: ----
   
    I have a form that has a combo box for shippers/consignees
    The combo box brings up the shipper/consignee name,
    address, phone and misc info.  I'd like to change this to
    be a combo box for the shipper/consignee name only and
    have access auto fill-in the address, phone and misc info
    into 3 new fields.  Any help would be greatly appreciated
Crystal - 26 Oct 2005 20:20 GMT
Hi,

This sounds like something I need.  What if I want to be able to enter
information in the delivery address2 field.  If no info is added, I would
like it to equal the information in address1.  

thanks,

>There are many ways to accomplish this, but this way doesn't require too much code
>
[quoted text clipped - 22 lines]
>     have access auto fill-in the address, phone and misc info
>     into 3 new fields.  Any help would be greatly appreciated
 
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.