PC Review


Reply
Thread Tools Rate Thread

How can I get the sort value from the sort menu?

 
 
=?Utf-8?B?TWlrZQ==?=
Guest
Posts: n/a
 
      3rd Jun 2005
Hi,

I have a datasheet sub form and sort menu. If the user select Id and sorted
ascending or descending, I want to be able to know the sort selection to run
my SQL depend in the user selection.
How can I get the sort value in different form? For example, I want to be
able to read “ORDER BY ID DESC;”

I am using ms access 2003


Thanks in advance.
Mike
 
Reply With Quote
 
 
 
 
Alex Dybenko
Guest
Posts: n/a
 
      4th Jun 2005
Hi,
you can read form's OrderBy property

--
Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com


"Mike" <(E-Mail Removed)> wrote in message
news:94324B49-E92D-4122-9A52-(E-Mail Removed)...
> Hi,
>
> I have a datasheet sub form and sort menu. If the user select Id and
> sorted
> ascending or descending, I want to be able to know the sort selection to
> run
> my SQL depend in the user selection.
> How can I get the sort value in different form? For example, I want to be
> able to read "ORDER BY ID DESC;"
>
> I am using ms access 2003
>
>
> Thanks in advance.
> Mike



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Program demonstrating polymorphic sort, sorting using IComparer,customized sort raylopez99 Microsoft C# .NET 0 15th Jul 2008 04:07 PM
Pls. reply Sort Data and copy to next coulmn when sort order chang =?Utf-8?B?c2hpdGFsIHNoYWg=?= Microsoft Excel Programming 0 19th Aug 2005 10:29 AM
Excel sort by Fill Color by custom list sort =?Utf-8?B?RGFzaDRDYXNo?= Microsoft Excel Misc 2 29th Jul 2005 10:45 PM
DataView sort fails to sort on fields with comma in field names Mone Hsieh Microsoft ADO .NET 1 14th May 2004 09:29 PM
Duplicate Sort Asc/Sort Desc shortcut menu Tony Vrolyk Microsoft Access Forms 0 20th Nov 2003 05:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:10 PM.