H
Harmannus
Hallo,
I have a form with an unbound listbox with the name LArticles based on the
query qselListArticles. On that form a have a sorting option based on the
below code. The query qselListArticles also contains the below fields.
Me.Requery
Select Case Sorteren.Value
Case "1"
Forms![frmArticles].OrderBy = "tblArticles.Article"
Case "2"
Forms![frmArticles].OrderBy = "tblArticles.GroupID"
Case "3"
Forms![frmArticles].OrderBy = "tblArticles.StatusID"
End Select
How can i expand the above code with the option to sort the unbound listbox
if a case is selected?
tried
Case "1"
Forms![frmArticles].OrderBy = "tblArticles.Article"
Forms![frmArticles].LArticles.OrderBy="qselListArticles.Article"
but that doesn't work.
thanx for any tips!
Regards,
Harmannus
I have a form with an unbound listbox with the name LArticles based on the
query qselListArticles. On that form a have a sorting option based on the
below code. The query qselListArticles also contains the below fields.
Me.Requery
Select Case Sorteren.Value
Case "1"
Forms![frmArticles].OrderBy = "tblArticles.Article"
Case "2"
Forms![frmArticles].OrderBy = "tblArticles.GroupID"
Case "3"
Forms![frmArticles].OrderBy = "tblArticles.StatusID"
End Select
How can i expand the above code with the option to sort the unbound listbox
if a case is selected?
tried
Case "1"
Forms![frmArticles].OrderBy = "tblArticles.Article"
Forms![frmArticles].LArticles.OrderBy="qselListArticles.Article"
but that doesn't work.
thanx for any tips!
Regards,
Harmannus