473,785 Members | 2,460 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Populating fields.

I have a form that is used for entering and editing site address
information. The data in the form is from one table, named
Total_Site_Addr ess. There are fields in this table (and controls on
the form) for entering in a new site address or choosing an existing
site address. There are two fields that address the existing site
addresses, one named ADDRESS, the other named TAX_NAME (contains
municipality info). The ADDRESS field is setup as a lookup and it
pulls the site address data from a query. This query, named
SiteAddress-Existing, pulls data from two linked tables. In the
SiteAddress-Existing query, there are two fields named SITE_ADD and
TAX_NAME. The Lookup values for the ADDRESS field are from the
SITE_ADD field in the SiteAddress-Existing query.

I would like to be able to automatically update the TAX_NAME field in
the Total_Site_Addr ess table based on the ADDRESS field. In the form,
there is a control that allows the user to choose a site address from
from a combo box. When this address is chosen, I would like the
TAX_NAME field in the Total_Site_Addr ess table (and the control in the
form) to automatically update with the municipality that the chosen
address exists in.

An example of this is if a user chooses from the combo box "123 Jones
Road", with a corresponding Tax_Name in the SiteAddress-Existing query
of "Town of Johnson", I would want the "Town of Johnson" to be stored
in the TAX_NAME field in the Total_Site_Addr ess table, automatically.

The TAX_NAME field in the Total_Site_Addr ess table is a Text field,
and the control on the form which displays the TAX_NAME is just for
display, not data entry.

Thanks for any advice.
Nov 12 '05 #1
1 2037
It's not clear what you're driving at. You want to create a combo box which
looks up a town based on a street address? So the user selects "1600
Pennsylvania N.W." (the address of the White House) and it returns
"Washington , D.C."? (Not so unusual.)

Robert

P.S. Post table layouts

"Jason" <JA********@CO. COLUMBIA.WI.US> wrote in message
news:f0******** *************** ***@posting.goo gle.com...
I have a form that is used for entering and editing site address
information. The data in the form is from one table, named
Total_Site_Addr ess. There are fields in this table (and controls on
the form) for entering in a new site address or choosing an existing
site address. There are two fields that address the existing site
addresses, one named ADDRESS, the other named TAX_NAME (contains
municipality info). The ADDRESS field is setup as a lookup and it
pulls the site address data from a query. This query, named
SiteAddress-Existing, pulls data from two linked tables. In the
SiteAddress-Existing query, there are two fields named SITE_ADD and
TAX_NAME. The Lookup values for the ADDRESS field are from the
SITE_ADD field in the SiteAddress-Existing query.

I would like to be able to automatically update the TAX_NAME field in
the Total_Site_Addr ess table based on the ADDRESS field. In the form,
there is a control that allows the user to choose a site address from
from a combo box. When this address is chosen, I would like the
TAX_NAME field in the Total_Site_Addr ess table (and the control in the
form) to automatically update with the municipality that the chosen
address exists in.

An example of this is if a user chooses from the combo box "123 Jones
Road", with a corresponding Tax_Name in the SiteAddress-Existing query
of "Town of Johnson", I would want the "Town of Johnson" to be stored
in the TAX_NAME field in the Total_Site_Addr ess table, automatically.

The TAX_NAME field in the Total_Site_Addr ess table is a Text field,
and the control on the form which displays the TAX_NAME is just for
display, not data entry.

Thanks for any advice.

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
4101
by: Drew | last post by:
I have a db table like the following, UID, int auto-increment RegNo Person Relation YearsKnown Now here is some sample data from this table,
1
1987
by: cloverme | last post by:
Hi, I need help populating a listbox from a database on a webform. I created a an access database with a table, fields and data. Then I created a WebForm in vb.net and added a DropDownList control to the page. Then I created a data connection to my table... I right clicked and told it to generate a dataset (which it created dataset1).
4
2192
by: Lumpierbritches | last post by:
Thank you once again for any and all assistance. I'm building an application that's getting quite bulky due to the number of forms, macros and procedures. I was wondering if there's a way to use 1 (one) unbound form, if all the fields are the same for multiple forms populating them with Queries? I have a makeshif menu form with command buttons and I would like to eliminate all the forms and replace them with one unbound form for three...
3
3046
by: EJH | last post by:
I have a Database that has three tables. One of the three is just a table that contains three fields and is filled with reference information. One field is 3-Digit(primary key), the next is Office, and the last is Area. The next table has the same type of headings plus several other fields but is not filled with data. I want to be able to create a form and enter a 3 digit number in the 3-Digit field of the second table and have it...
1
4929
by: Patrick | last post by:
Am upgrading an application from VB6 to VB.Net. One of the controls is a ListView that am failing to populate. Am including some of the code for some assistance where I may be going wrong. Private Sub ShowFielgs() Dim f As ListViewItem Dim i As Integer Dim Names as String Dim Arr6() As Object With tbStaffm Dim date1 As Date = Now
13
3551
by: Mary | last post by:
I'll pulling my hair out on this one and would be so appreciative of any help. I am creating a data entry form to enter results of a student survey. There are 40 questions on the survey. The first 7 have to do with respondent information like grade, class and age. I have those in a table with a PK of RespondentId, which is autonumbered. Questions 8-40 all have the same format. For these questions I have a table set up with the...
27
2892
by: wideasleep | last post by:
Hello, I have a form that has a combo box that populates other fields. This works great but it doesn't save that information in the table where those fields are coming from. The only one that's getting saved is the combo box information. I have four fields that are getting populated. The following is the code I have for them. =.(1) =.(2) =.(3) =.(4)
4
20116
by: prosad | last post by:
hello, Just solved a problem using Javascript onclick, can click on any cell in a dynamic table and it will pass the innerText object value to my form text field. parts of code given below: <script type="text/javascript"> function select_cell(obj) { document.getElementById('complaint').value = obj.innerText; document.getElementById('selected_form'); }
0
1356
by: daverskully | last post by:
I have two tables created and want to link two forms created from these tables so that specific fields are populated once one field is selected, but not all fields being populated, with a new record being saved into one of the tables. Tables: 1. StaticInfo contains fields: 1) Department 2) DepartmentNumber 3) AccountExecutive and 7 yes/no fields
2
1824
by: daverskully | last post by:
I have two tables created and want to link two forms created from these tables so that specific fields are populated once one field is selected, but not all fields being populated, with a new record being saved into one of the tables. Tables: 1. StaticInfo contains fields: 1) Department 2) DepartmentNumber 3) AccountExecutive and 7 yes/no fields
0
9645
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10091
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8972
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7499
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6739
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5381
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2879
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.