S
S
shokw0w2017-08-22 06:34:51
Visual Basic
shokw0w, 2017-08-22 06:34:51

Why does the checkbox give mixed status in response?

It is necessary that in checkboxes it gives out the status checked / unchecked. I wrote a request, but in response it gives the mixed status. I think it's all about the myabsent data type. Then how to convert to integer?
For i = 0 To 2
absent = Array(Me.fdsf1, Me.fdsf2)
myabsent = " Select absent from dbo_attendance where ([studentid] = " & Me.att_studentlist.Column(0, i) & " AND [am_day] = " & Me.att_day & " AND [am_month] = " & Me.att_month & ");"
absent(i).Value =
myabsentNext

5d699ba175084023b040872f646935df.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Artyom Karetnikov, 2017-08-22
@art_karetnikov

It's all about setting up the checkbox itself. You need to go to properties-Data and remove Triple Status

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question