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

check box adding records to table

Hi,

I have a form which I have put some check boxes on.

Say each of these checkboxes has a value, option1, option2, option3,
option4.

How can i set up something that when a user ticks the checkboxes the
value is added to the appropiate table.

For exmaple if they click option1 and option2 the data in the table
would read option1;option2

TIA.

Nov 13 '05 #1
2 1600
In your table, have an field of Number-integer type. On your form, make an
option group bound to that field. Then with either check boxes or radio
buttons, the value of the choice will be stored to your table/field.
-Ed

"andyw" <an******@hotmail.com> wrote in message
news:10**********************@z14g2000cwz.googlegr oups.com...
Hi,

I have a form which I have put some check boxes on.

Say each of these checkboxes has a value, option1, option2, option3,
option4.

How can i set up something that when a user ticks the checkboxes the
value is added to the appropiate table.

For exmaple if they click option1 and option2 the data in the table
would read option1;option2

TIA.

Nov 13 '05 #2
"andyw" <an******@hotmail.com> wrote in message news:<10**********************@z14g2000cwz.googleg roups.com>...
Hi,

I have a form which I have put some check boxes on.

Say each of these checkboxes has a value, option1, option2, option3,
option4.

How can i set up something that when a user ticks the checkboxes the
value is added to the appropiate table.

For exmaple if they click option1 and option2 the data in the table
would read option1;option2

TIA.


Umm... what are you planning on doing with this kind of data? If you
store your data like this, working with it is going to be almost
impossible. For example, what if the user decides after clicking
option2 that he really does NOT want that value at all. how do you
get the data back out again? Parse it? (Happy coding!) How do you
summarize something like this? Parse, normalize, summarize? The point
I'm trying to make is this: think HARD about what you want to do with
the data *before* designing anything. Otherwise, if you do it wrong,
you're going have a lot of work to do over.
Nov 13 '05 #3

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

Similar topics

5
by: Sue | last post by:
On code-behind page: (attributes set programatically for each of these elements) linkbutton added to tablecell textbox added to tablecell tablecells added to tablerow tablerow added to table...
6
by: Jamie Fryatt | last post by:
Hi everyone, here's what id like to do. I have a table with 2 fields, name and value I need to be able to add multiple records quickly, for example I need to add name value abc 1...
3
by: Raj | last post by:
Hi, I am trying to add some more information to the table which already has a lot a data (like 2-3000 records). The new information may be adding 2-3 new columns worth. Now my questions are:...
2
by: David | last post by:
Hi, I have an order form which has a field 'ProductID'. This form has a button on each record to open a new form linked by ProductID. This new form is a continuous form and obviously, only...
11
by: chrisc | last post by:
Hello, My infamous manufacturing database continues to bane my life, mostly because I'm really stumbling around in the dark here! What I am trying to do is populate some fields automatically...
4
by: ChadDiesel | last post by:
Hello, I have a form that users type in a part number and a due date. I then run a report that prints the part number, the components needed and the processes needed. For example: ...
6
by: Rudy | last post by:
Hi all, I know this is easy, just can't seem to get it. I have a windows form, and a text box, with a value already in it. I need to add that value to a table. It's just one value, so the entire...
5
by: starke1120 | last post by:
Im creating a check in – check out database for RF guns. I have a table that contains models. ID (primary key) Model A table that contains Gun Details ID (primary key) Model_id...
2
by: Steve | last post by:
I have zero experience with ODBC. If I have an Access frontend connected to a SQL Database using ODBC, are the tables connected like a frontend/backend Access database where the the tables you see...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
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
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.