StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
Browse Dialog OrderBy descending?
Browse Dialog OrderBy descending?
Post Reply
Like
0
Browse Dialog OrderBy descending?
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Trent Taylor
Trent Taylor
posted 16 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
Don't use the order by property. Open up the BrowseResultsLayout collection and select the field on which you want to sort. You can have the field sort ascending or decesending or just be left alone. You will only want to set this on one of the columns.
Reply
Like
0
rfrenken
rfrenken
posted 16 Years Ago
ANSWER
Topic Details
Share Topic
Group: StrataFrame Users
Posts: 1,
Visits: 17
In a spot where I'm using a Browse Dialog and had the OrderBy property set to a field (and that was working fine) I realized I really need to sort it by that field descending but if I just change OrderBy from "myfield" to "myfield desc" I get the error "Invalid column name 'myfield desc'."
Is there any way to do what I described just using the properties?
Looks like the BrowseDialog ignores the Order By in the Buisiness object's Fill too but I kind of expected that since it looks like the BrowseDialog dynamically builds it's own Select.
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search