Ask a Question related to ASP Database, Design and Development.
-
Jeremy #1
Simple checkbox population from Access
I am trying to populate a list of between 5-10 items which will be
drawn from an Access Table to a form wherein the visitor can check
boxes of each of the tabular items in order of preference (1st to
4th). So I would like to have a routine which will populate a number
of textboxes and checkboxes(4 each) for each item in the table but I
am having difficulty with it. I can get a dropbox using select, but
cant get multiple textboxes.
Any ideas?
Thanks in advance
Jeremy
Jeremy Guest
-
Howto bind CheckBox to the datagrid/ Then update the database field when the checkbox is clicked.
I am trying to update the database field when the checkbox is clicked. I am trying to modified the following solution but.. got stuck on the... -
am i missing something simple asp:checkbox
Hi I have a table in my db which basically stores users preferences as either a 1 or 0 (sql server tinyInt) I built the insert page using MM... -
update Access with checkbox
Hi, strangly enough i can make all sorts of update pages with MM DW but not when a checkbox is involved. The checkbox must update an Access Dbase... -
Updating an Access DB Yes/No field with a Checkbox value
I have a DataGrid that is configured to use the Edit/Update/Cancel concept correctly. My grid shows values from 5 database fields. I only need to... -
Simple Checkbox Question
Hello, I have a checkbox on a form (i know very little about checkboxes) and I wanted it to be unchecked, so i set triple state to yes. Although... -
McKirahan #2
Re: Simple checkbox population from Access
"Jeremy" <jeremy_zifchock@yahoo.com> wrote in message
news:f9d85033.0401052036.442f4494@posting.google.c om...I think you may want to use radio buttons instead of checkboxes.> I am trying to populate a list of between 5-10 items which will be
> drawn from an Access Table to a form wherein the visitor can check
> boxes of each of the tabular items in order of preference (1st to
> 4th). So I would like to have a routine which will populate a number
> of textboxes and checkboxes(4 each) for each item in the table but I
> am having difficulty with it. I can get a dropbox using select, but
> cant get multiple textboxes.
>
> Any ideas?
> Thanks in advance
>
> Jeremy
Perhaps this will give you an idea.
<html>
<head>
<title>4boxs.htm</title>
<script language="javascript" type="text/javascript">
<!--
function build() {
var num = 0;
var tbl = "<table border='0'>\n";
for (var i=0; i<10; i++) {
tbl += "<tr>\n";
for (var j=0; j<4; j++) {
tbl += " <td>\n";
tbl += " <input type='checkbox' name='box' value='Box" + num
+ "'>\n";
tbl += " </td>\n";
num++;
}
tbl += " <td>\n";
tbl += " <input type='text' name='txt" + num + "' value=''>\n";
tbl += " </td>\n";
tbl += "</tr>\n";
}
tbl += "</table>\n";
document.write(tbl);
}
// -->
</script>
</head>
<body>
<form method="post" onsubmit="return check()">
<script language="javascript" type="text/javascript">
<!--
build();
// -->
</script>
<input type="submit" value="Submit">
<input type="reset" value="Clear">
</form>
</body>
</html>
McKirahan Guest



Reply With Quote

