I have created a form which contains a datasheet subform with multiple columns. On the form are two buttons which should sort ascending or descending based on the column selected in the datasheet. Does anyone know how to do this ?
Rene, just create two queries, one Acending and one decending. Then in the ONClick event of the command buttons add a DoCmd.Openquery "Query1 or Query2". If that don't work use a macro and use DoCmd.RunMacro. that should take care of it for you.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.