How do I maintain Alpha Order on a Maintenace Form


Author
Message
Terry Bottorff
Terry Bottorff
StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)
Group: Forum Members
Posts: 448, Visits: 12K
I fill my business object by 'Select * from cowboys order by cow_lastname, cow_firstname' and then it comes in alphabetically. But when I add a new cowboy how do I keep the data in Alpha order? The form is a SF maintenance form but the navigation keys no longer work after I add a new cowboy. ???? TIA.
Replies
Terry Bottorff
Terry Bottorff
StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)
Group: Forum Members
Posts: 448, Visits: 12K
I was not sure exactly what to put in the IsDirtyChanged event so I just put a local buff = 1 after I dim it as an integer with a break point. The follow are the call stacks that showed as it was finally loading the form and after I hit a navigation buttorn.



****

Lighting5.exe!Lighting5.CustomerEdit.CustomersBO_IsDirtyChanged(Object sender = {LightingBO.CustomersBO}, System.EventArgs e = {System.EventArgs}) Line 5Basic



Lighting5.exe!Lighting5.CustomerEdit.CustomersBO_ParentFormLoading() Line 10 + 0x15 bytesBasic

****



I hope this is what you wanted. Since I am new to .NET and Strataframe I am doing both the best I can at this time. Let me know if you want more. Is there a way to copy the entire Stack Call? TIA.



StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Yep, it looks like the last thing from your code that was called before the IsDirtyChanged was fired is the ParentFormLoading event.  Do you have any code within your ParentFormLoading that might be setting a value within one of the business objects?
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Terry Bottorff - 17 Years Ago
Greg McGuffey - 17 Years Ago
Trent L. Taylor - 17 Years Ago
                 OK I will and let you know.
Terry Bottorff - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Ivan George Borges - 17 Years Ago
Terry Bottorff - 17 Years Ago
Terry Bottorff - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Terry Bottorff - 17 Years Ago
Terry Bottorff - 17 Years Ago
StrataFrame Team - 17 Years Ago
Terry Bottorff - 17 Years Ago
StrataFrame Team - 17 Years Ago
Terry Bottorff - 17 Years Ago
StrataFrame Team - 17 Years Ago
Terry Bottorff - 17 Years Ago
StrataFrame Team - 17 Years Ago
Terry Bottorff - 17 Years Ago
StrataFrame Team - 17 Years Ago
Terry Bottorff - 17 Years Ago
StrataFrame Team - 17 Years Ago
Terry Bottorff - 17 Years Ago
Terry Bottorff - 17 Years Ago
StrataFrame Team - 17 Years Ago
Terry Bottorff - 17 Years Ago
Terry Bottorff - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Terry Bottorff - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Terry Bottorff - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Terry Bottorff - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Terry Bottorff - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Terry Bottorff - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Terry Bottorff - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Terry Bottorff - 17 Years Ago
             Glad you got it going :)
Trent L. Taylor - 17 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search