473,394 Members | 1,916 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Populate form from table

Good afternoon All,
I know there is a way to do what I need, but I am a bit rusty with my Access skills. Any help is greatly appreciated!

Here is what I would like to do as an end result...
When my users enter a name and company on my form, I would like for the address and contact information for that person to automatically fill in on the form. If they are not already in the contacts list, I would like for the record to be added. Any idea how I accomplish this?

So far I have the tblAccts (which would be the main information entered on the form), tblContacts (where the names, companies,and contact information is stored), and frmAcctOpen (the user's form for opening accounts).

I have tried a combo box, but didn't get what I was trying to do. I am using Access 2000. It has been about 6+ years since I have really messed around with access, so I am like a newbie and ask that you please speak basic language (idiot level if able :o) ) in your answers.

Thank you!
May 4 '07 #1
4 1826
maxamis4
295 Expert 100+
There are a couple ways to do it. The easiest method is using two subforms in one parent form, and then using the control source which resemebles a queries to specifiy which control filter by.

If you want to send me a copy of your database, and I can do it for you that might work out better. Please zip the file and send it to jpgomez80@yahoo.com.



Good afternoon All,
I know there is a way to do what I need, but I am a bit rusty with my Access skills. Any help is greatly appreciated!

Here is what I would like to do as an end result...
When my users enter a name and company on my form, I would like for the address and contact information for that person to automatically fill in on the form. If they are not already in the contacts list, I would like for the record to be added. Any idea how I accomplish this?

So far I have the tblAccts (which would be the main information entered on the form), tblContacts (where the names, companies,and contact information is stored), and frmAcctOpen (the user's form for opening accounts).

I have tried a combo box, but didn't get what I was trying to do. I am using Access 2000. It has been about 6+ years since I have really messed around with access, so I am like a newbie and ask that you please speak basic language (idiot level if able :o) ) in your answers.

Thank you!
May 4 '07 #2
There are a couple ways to do it. The easiest method is using two subforms in one parent form, and then using the control source which resemebles a queries to specifiy which control filter by.

If you want to send me a copy of your database, and I can do it for you that might work out better. Please zip the file and send it to jpgomez80@yahoo.com.

Maxamis4,
I sent you the database, did you receive it?
May 9 '07 #3
maxamis4
295 Expert 100+
Sorry it took me so long to reply. No I didn't get it. Did you send it as a zip file or as an mdb. Yahoo and most mail services block mdb content from their servers.

Maxamis4,
I sent you the database, did you receive it?
May 11 '07 #4
Sorry it took me so long to reply. No I didn't get it. Did you send it as a zip file or as an mdb. Yahoo and most mail services block mdb content from their servers.
Maxamis4,
Now I am the sorry one for the delay. I had to send it as a mdb because I don't have the utilities at work to zip it, nor the authority to download a program to zip it. It is only 336kb because I deleted all the excess data and forms. I will try to send it to you again. It will be coming from shannon.perry@bankofny.com.

Thank you
May 17 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Damian | last post by:
Hi. Is there a way to programatically populate a continuous form? I have an array of descriptions that I want to display in the continuous form and I have a textbox on the form called...
2
by: Chand | last post by:
Hello Everyboy I am creating a small scale db with following fields in the table and form for the data entry purpose. Product ID Product Name Manufacturer Location 101 ...
1
by: John Phelan-Cummings | last post by:
I'm not certain if this made the post. Sorry if it's a repeat: Using a Button to take an autonumber from one form to populate another autonumber field on another form. I have a Mainform "A"...
1
by: vj | last post by:
How i can populate all fileds dynamically in jsp page based on contents found in xml file? I have written jsp servlets and java class file. i transferred automatic data from jsp to servlet then to...
5
by: joshua.nicholes | last post by:
I have an access database that consists of two tables.A data collection table and a species list table. The data collection table has about 1500 records in it and the species list has about 600....
1
by: KMEscherich | last post by:
Using Access '97 Hi there, am wondering if someone can please help me with the following: I have a master table (T_INVESTIGATION) that contains the following fields as well as other fields. ...
2
by: seangibson | last post by:
Forigive me for posting something which probably has a simple solution, but I can't find the solution and it's giving me fits. Here's my issue. I have two tables. One is simply a list of customers...
4
by: whamo | last post by:
I have the need to populate a field based on the selection in a combo box. Starting out simple. (2) tables tbl_OSE_Info and tbl_Input; tbl_OSE_Info has three fields: Key, OSE_Name and OSE_Wt...
5
by: giandeo | last post by:
Hello Experts. Could you find a solution for this problem please! I have the following tables in Access Database Table Name: origin Fields Names: country, countrycode Table Name: make...
1
by: ramel | last post by:
Hi all, I have a problem related to javascript , ajax and jsp. Please see this url http://xil.co.in/print_screen_2.JPG. I am working on this form. There are some buttons (like submit ,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.