Hi Trent,
Ignore the prev Thread, went out too early.I am using code like the below in the Load event to sort the first column of the ListView:
Me.dSearchCategoriesBO1.Sort = "DisplayOptionOrder"
But that is causing a problem when I click the Add button within that ListView. It comes as an Edit mode and shows me the current record in the ListView. I cancelled that and click again the Add button and then it works fine. The work around this problem was when I entered the following within this event: lstSearchCategories_BeforeChildFormExecuted as this one:
If e.Action = MicroFour.StrataFrame.UI.ListViewChildFormAction.Add Then
Me.GrandChildSearchCategoriesBO1.Sort = ""
End If
Then in the ListView ChildFormResults event I entered this code:
Me.dSearchCategoriesBO1.Sort = "DisplayOptionOrder"
The original sorting is in a different field and that's why I used the BO.Sort
Is there someting that needs to be improved somewhere?
Regards,
Doron