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

Tip: Looking for answers? Try searching our database.

Field Populated Automatically

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Robert - 22 Jul 2007 03:46 GMT
I'm trying to setup a form where if I type an account number on one
field the account's title will appear automatically on another field.
I already have a table created which has the accounts with title. If
someone can give me an idea on how to go about setting this up I would
appreciate it.
Ofer Cohen - 22 Jul 2007 11:06 GMT
Look at this link on "Fill Fields automatically on form based on a control's
value"

http://www.mvps.org/access/forms/frm0009.htm

*******************
A better way is to create a combo that lists all the account, where the user
can select an account or type it.
-----------------------------
Set the Combo RowSource ro include both fields: account number and account's
title.
Select [account number], [account's title] From TableName
-----------------------------
Set the combo "Limit to list" property to yes so the user won't be able to
type the wrong account
-----------------------------
Set the text box ControlSource that display the title to
=[ComboName].Column(1)

Note: the combo column number start with 0
-----------------------------

Signature

Good Luck
BS"D

> I'm trying to setup a form where if I type an account number on one
> field the account's title will appear automatically on another field.
> I already have a table created which has the accounts with title. If
> someone can give me an idea on how to go about setting this up I would
> appreciate it.
 
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.