Question : Access Sort continuous form by Columns

Hi I've got an Access continuous form.
I've put the following code into each of the column heads in order to sort the column:
Me.OrderBy = "[xxxx]"
Me.OrderByOn = True
This works fine. However, the columns that use combo boxes are sorted by the bound column instead of the visible column. This is confusing to the end-user.
I've tried using the following, but it doesn't work. Any suggestions on how to sort by the visible column in a combo box instead of the bound column?
Dim strOrg As String
strOrg = Me.PaidTo.Column(1)
Me.OrderBy = strOrg
Me.OrderByOn = True

thanks,
Paul

Answer : Access Sort continuous form by Columns

OK, can there be multiple values for imagid like 100_1, 100_2, 100_4 ?

If so, which one will match, or do they all need updating ?
Random Solutions  
 
programming4us programming4us