hello!
I am designing an attendance system and i have a problem regarding marking the attendance. I don't want to use datagrid as i cant mark the attendance there ie i want to use checkboxes to mark the attendance. I'll provide a screenshot of how the form should look like. Can anyone tell me how do i do it?
when i choose the subject and month i want the data to be displayed from the database into the checkboxes.
prajana 0 Newbie Poster
Recommended Answers
Jump to PostYou need to use 2 filed form database
1-student name (to populate the check box caption)
2-attendance (yes/no) (to populate the check box value)
Jump to PostUse the following -
Dim Cn As New ADODB.Connection Dim Rs As New ADODB.Recordset Set cn = New ADODB.Connection Set Rs = New ADODB.Recordset With Cn .Provider = "Microsoft.Jet.OLEDB.4.0" .ConnectionString = "Data Source=" & App.Path & "\YourDatabaseNameHere.mdb" .Open .CursorLocation = adUseClient End With Rs.Open "SELECT * FROM …
Jump to PostAre you doing the actual selection of the check boxes, or do you want this to be done from the database? I'm still not sure exactly what you need. Where does the names go, into list box, and then you select the check box?
All 9 Replies
Pgmer 50 Master Poster Featured Poster
debasisdas 580 Posting Genius Featured Poster
prajana 0 Newbie Poster
Pgmer 50 Master Poster Featured Poster
prajana 0 Newbie Poster
prajana 0 Newbie Poster
AndreRet 526 Senior Poster
prajana 0 Newbie Poster
AndreRet 526 Senior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.