473,396 Members | 1,864 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,396 software developers and data experts.

Data copying based on button selection

FOE2272
20
I am working on an Access DB that has a form with 8 radio buttons.

The customers are those who bid on a project.

each customer has the following information:

Company
Contact
Adress
City
State
Zip
Phone
Fax

I want to be able to select only one customer with the buitton and have the data for that customer only be automatically copied to other fields within the same table. I realize this is redundant information but, the data sometimes the data is used for all of the customers and sometimes it is used for only the one customer that got the contract

Example of the fields:

Customer 1:
Customer 2:
Customer 3:
Customer 4:
Customer 5:
Customer 6:
Customer 7:
Customer 8:

Let say Customer 5: got the contract, so I click the radio button next to Customer 5:.

I want the all the data for Customer 5: to go to the Customer Sold: fields.

Customer Sold Company:
Customer Sold Contact:
Customer Sold Adress:
Customer Sold City:
Customer Sold State:
Customer Sold Zip:
Customer Sold Phone:
Customer Sold Fax:
May 7 '07 #1
1 1323
MMcCarthy
14,534 Expert Mod 8TB
I am working on an Access DB that has a form with 8 radio buttons.

The customers are those who bid on a project.

each customer has the following information:

Company
Contact
Adress
City
State
Zip
Phone
Fax

I want to be able to select only one customer with the buitton and have the data for that customer only be automatically copied to other fields within the same table. I realize this is redundant information but, the data sometimes the data is used for all of the customers and sometimes it is used for only the one customer that got the contract

Example of the fields:

Customer 1:
Customer 2:
Customer 3:
Customer 4:
Customer 5:
Customer 6:
Customer 7:
Customer 8:

Let say Customer 5: got the contract, so I click the radio button next to Customer 5:.

I want the all the data for Customer 5: to go to the Customer Sold: fields.

Customer Sold Company:
Customer Sold Contact:
Customer Sold Adress:
Customer Sold City:
Customer Sold State:
Customer Sold Zip:
Customer Sold Phone:
Customer Sold Fax:
Using radio buttons is a bad idea and will only complicate matters. Look at using a listbox or combobox instead and check out this tutorial.

Example Filtering on a Form
May 8 '07 #2

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

Similar topics

22
by: Matt | last post by:
When browsing a web page a user has the ability to highlight content on a page (by holding down the left mouse button and dragging the mouse over the desired content). Is there a way to disable...
4
by: theo | last post by:
Program flow...load file,then extract the xml text tags from the file,then the number of Xml tags retrieved from the file determines the number of dropdownlist controls instanciated in the...
5
by: jonosborne | last post by:
Hi, i have managed to filter a report based on selections made in a list box but am totally confused with a message box that appears everytime i run my report. Let me explain (i apologise for...
0
by: Rasika WIJAYARATNE | last post by:
Hi everyone, I have two grid-views and I am trying to populate the data on gv2 based on the selection in gv1. However when a row is selected in gv1, it doesn't populate the gv2 with data. I have...
0
by: Dhananjay | last post by:
Hi all, i have a webpage on which first thing i am adding record using textboxadd and buttonadd. ------ this works fine second thing i have dropdownlist box on which i will select an item,...
18
by: angi35 | last post by:
I've been puzzling over something, and hopefully someone here can help me figure it out. In Access 2000, I have two forms... let's call them formA and formB. Users enter data first into formA. ...
4
by: =?Utf-8?B?RHlsYW5TbWl0aA==?= | last post by:
I have a WebForm where I'm dynamically creating some controls and I'm having difficulty understanding how the state is being persisted and how to work with it. I've created a simplified example...
3
by: Venturini | last post by:
I am trying to put together a web page where the customer makes choices of products and is then given a total. I am extremely new to Javascript and have managed to get as far as I have from web...
1
by: cluless | last post by:
Hey everybody, I have a database with one major form that has a few subforms and a listbox, and on the form there are buttons that link to other forms as well. Once the list box is clicked on, the...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
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
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...
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...
0
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,...

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.