index | search | no replies | posting guidelines | help login | register
Index » Products » ASP Report Wizard v2
search this forum:
:: determining default sort order :: (7)Post a New Message | Post a Reply
Feb 9 2005, 2:47 AM
 determining default sort orderPost a Reply
 ekopelowitz

View this author's profile Send this author a private message Visit author's homepage

from: Jerusalem, Israel

I see that you have a way enabling a default sort order.

DefaultSortOrder - for the datagrid which is used to set the original sort order of the DataGrid. e.g.
objGrid.Command = "SELECT CompanyName,ContactName, Phone FROM Customers"
objGrid.DefaultSortOrder = "ContactName"

Can you explain to be how this needs to be inserted into the default.asp code, or just point me to the appropriate place in you on-line help manual.  I couldn't find the page.


Feb 9 2005, 2:48 AM
 Re: determining default sort orderPost a Reply
 ekopelowitz

View this author's profile Send this author a private message Visit author's homepage

from: Jerusalem, Israel

My goal is to alpahatize a table called contacts, by a field called lastname

Thanks

Feb 9 2005, 5:16 AM
 Re: determining default sort orderPost a Reply
 ghost

View this author's profile Send this author a private message Visit author's homepage

from: Washington, DC

I see that you have a way enabling a default sort order.

DefaultSortOrder - for the datagrid which is used to set the original sort order of the DataGrid. e.g.
objGrid.Command = "SELECT CompanyName,ContactName, Phone FROM Customers"
objGrid.DefaultSortOrder = "ContactName"


The property above is for the datagrid and not the report wizard.  
For more information, please check the following post about the DefaultSortOrder property





-------------------------
Ghost
Feb 9 2005, 6:00 AM
 Re: determining default sort orderPost a Reply
 ekopelowitz

View this author's profile Send this author a private message Visit author's homepage

from: Jerusalem, Israel

I need the ability to create a default sort for aspreportwizard.  Is this possible?

Feb 9 2005, 1:47 PM
 Re: determining default sort orderPost a Reply
 ghost

View this author's profile Send this author a private message Visit author's homepage

from: Washington, DC

This option will be available in the next release due by the end of this week.


-------------------------
Ghost
Feb 15 2005, 1:29 PM
 Re: determining default sort orderPost a Reply
 ekopelowitz

View this author's profile Send this author a private message Visit author's homepage

from: Jerusalem, Israel

Thank you for the update for the default sorting order.  I applied it, selected default sort order by LastName.  However, while it does influence the sort order, the sorting is not being done alphabetically.   Please advise.

Feb 15 2005, 1:42 PM
 Re: determining default sort orderPost a Reply
 ghost

View this author's profile Send this author a private message Visit author's homepage

from: Washington, DC

The default sort order is based on the order which the fields as ordered.
If you want to select by LastName then set LastName as the first name


-------------------------
Ghost
Pages: (1)   [1]

search this forum: