473,385 Members | 1,331 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.

how to select different check boxes

i am working with ms access. i got a problem with checkboxes. i create a checkbox in the form named chkbox with database fields.i am using continuous form so database fields are displayed with checkbox field. when i select one checkbox all checkboxes are selected. how can i select different checkboxes with database fields(teacher_name,school_name,dob,dob1) with chkbox. how can i write code for that to select database fields using checkbox. tell me i need it urgently.

thank you,
with regards,
pramod
Jan 9 '07 #1
4 1321
NeoPa
32,556 Expert Mod 16PB
This is not usual behaviour.
I would guess that you have all the CheckBoxes bound to the same field in your table. Is that right?
If so, that is your fix too (Bind them to the correct fields only - or unbind if that's right for your usage).
Jan 9 '07 #2
yes u r right, thank you i bound it to same field later that i used option group and bound it to all fields (teacher_name,school_name,dob,dob1) but when i click on the check box it wont check the box. try to help me please. one more thing i have date format dob field. for eg. 3.5.2000 i need last day of the month like 31.5.2000 how can i do for dob field tell me.
Jan 10 '07 #3
hi i solved date problem.now i am getting last day of month, problem is checkbox, i used an unbound check that is not in database, i bound all fields(teacher_name,school_name,dob,dob1) with checkbox(chkbox),when i am selecting checkbox it wont select the checkbox,last one empty record with checkbox when i click this it will select all records checkboxes what is the problem.i didnt understand, is there any code needed i didnt get any thoughts to my brain to write,please tell me i am in urgent
Jan 10 '07 #4
NeoPa
32,556 Expert Mod 16PB
To find the last date of the month for any given date ([GivenDate]) :
Expand|Select|Wrap|Line Numbers
  1. DateAdd("m",1,CDate(Format([GivenDate],"1 mmm yyyy")))-1
if in VBA or within SQL is :
Expand|Select|Wrap|Line Numbers
  1. DateAdd('m',1,CDate(Format([GivenDate],'1 mmm yyyy')))-1
I'm afraid I can't follow the rest of what you're saying. Perhaps you could rephrase the position you're currently at. Separate different items into different sentences.
Jan 10 '07 #5

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

Similar topics

3
by: Mohammed Mazid | last post by:
Hi folks! Can anyone please help me with this? I am developing a Quiz program but I am stuck with "multiple answers". Basically I need some sort of code that would select multiple answers...
4
by: Mohammed Mazid | last post by:
Hi folks! Can anyone please help me with this? I am developing a Quiz program but I am stuck with "multiple answers". Basically I need some sort of code that would select multiple answers...
7
by: Guy Hocking | last post by:
Hi there, I have a problem in my ASP/SQL Server application i am developing, i hope you guys can help. I have a ASP form with list boxes populated by SQL tables. When a user selects a value...
1
by: Wayne Deleer | last post by:
Here's a perplexing thought... right now I'm writing an application that uses a web form, with many different input types. Some of these types are lists that allow for multiple selections. After...
10
by: tadisaus2 | last post by:
Hello, I want to have a user to check at least 2 check boxes and NO more than 2 boxes. I have different checkbox names because I stored each nam on different field. I tried this code but nothing...
25
by: bonneylake | last post by:
Hey Everyone, Well i am not sure if my question needs to be here or in coldfusion. If i have my question is in the wrong section i am sorry in advance an will move it to the correct section. ...
2
by: woodey2002 | last post by:
Hi Guys and thanks for your time. I have a search form for my database that allows users to select multiple criteria from multi select list boxes. I successfully integrated a multi select...
6
by: woodey2002 | last post by:
Hi Everyone. Thanks for your time. I am trying to create a search form that will allow users to select criteria from multiple multi select boxes. So far i have managed to achieve a search option...
1
by: woodey2002 | last post by:
Hi Everyone and many thanks for your time.. I am trying to begin access and a bit of VBA i am enjoying it but I have a annoying problem I just can’t get any where on. My databse mostly includes...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.