G
GIL-PT via AccessMonster.com
I have a form that shows the result of a query, now i want to be able to sort
the records clicking in the labels of each field everything works great
except with the fields that are (yes/no) when i try to run these i got o pop
up message asking a parameter for the field.
Anybody now why this? How can i work around this?
here is my code:
The "Left" Field is a Yes or No, the others work fine except this one.
Private Sub Left_Label_DblClick(Cancel As Integer)
Forms("RUNS Status").OrderBy = "
the records clicking in the labels of each field everything works great
except with the fields that are (yes/no) when i try to run these i got o pop
up message asking a parameter for the field.
Anybody now why this? How can i work around this?
here is my code:
The "Left" Field is a Yes or No, the others work fine except this one.
Private Sub Left_Label_DblClick(Cancel As Integer)
Forms("RUNS Status").OrderBy = "
"
Forms("RUNS Status").OrderByOn = True
End Sub
Private Sub run_id_Label_DblClick(Cancel As Integer)
Forms("RUNS Status").OrderBy = "[run id]"
Forms("RUNS Status").OrderByOn = True
End Sub
Private Sub TIME_Label_DblClick(Cancel As Integer)
Forms("RUNS Status").OrderBy = "[time]"
Forms("RUNS Status").OrderByOn = True
End Sub
Forms("RUNS Status").OrderByOn = True
End Sub
Private Sub run_id_Label_DblClick(Cancel As Integer)
Forms("RUNS Status").OrderBy = "[run id]"
Forms("RUNS Status").OrderByOn = True
End Sub
Private Sub TIME_Label_DblClick(Cancel As Integer)
Forms("RUNS Status").OrderBy = "[time]"
Forms("RUNS Status").OrderByOn = True
End Sub