OrderBy (1 Viewer)

  • Thread starter mission2java_78
  • Start date
M

mission2java_78

Guest
I have a radio button set which just allows the user to select a different sort based on a field from a query...but OrderBy via code doesnt seem to work. On the frame itself I have in the onclick..a select...1)By Item 2) By ID...etc

And in the code I have:

Me.OrderBy="ID"....

But this doesnt work. How can I sort this via OrderBy in code?

Jon
 

Keith P

Registered User.
Local time
Today, 10:33
Joined
Oct 11, 2000
Messages
122
I think you may have to enclose in brackets, e.g.
me.orderBy = "[StartDate]"
me.orderByOn = True
 
M

mission2java_78

Guest
Keith P said:
I think you may have to enclose in brackets, e.g.
me.orderBy = "[StartDate]"
me.orderByOn = True

Actually I had originally forgotten the OrderByOn Property...I thought it only needed orderby.

Thanks,
Jon
 

Users who are viewing this thread

Top Bottom