Record Filter Buttons do not work (1 Viewer)

shery1995

Member
Local time
Today, 11:11
Joined
May 29, 2010
Messages
71
Hi All

I m trying to to sort the records "Ascending & Descending" based on click of a button on listbox. However it does not work at all, can someone look at attached file and suggest a solution. Please note that "ClientID field" in tblClient is autonumber I am not sure whether that is causing a problem?

Many thanks
 

Attachments

  • FilterRecord.accdb
    608 KB · Views: 93

theDBguy

I’m here to help
Staff member
Local time
Today, 03:11
Joined
Oct 29, 2018
Messages
21,474
Hi. I think the problem is you're missing a space before the ORDER BY clause in your SQL statement.
 

pbaldy

Wino Moderator
Staff member
Local time
Today, 03:11
Joined
Aug 30, 2003
Messages
36,126
This should show you the problem:

 

Users who are viewing this thread

Top Bottom