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
This gets more bizarre by the minute. I put the code in the setdefaultvalues event and that works but now when I create a new person I get a negative number for the PK which I know I should (I just show the PK as read only), I can fill in the first name and last name and when I put the first character of the address field it automatically fills in the form with information (even the first and last name) from the last person I added and truncates parts of the name. Now I am really dorked up in terms of what to do and how could that happen??????? 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
Looks like there is some sort of handler on the address field which is causing it to Navigate the record.  If all of the data is changing to a different record, then the business object is definitly navigating.  Put a handler on the business object's Navigating event and put a break point on that handler... when the handler fires, post the stack trace (along with all the extra stuff that shows when you turn off the "Just My Code" stuff mentioned above.
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