Manually Setting Selected Value and Error Trapping


Author
Message
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Cyrus,

I am having a hard time reproducing the error.  Could you give me a very simple sample that reproduces the error?  I have been playing with this for 30+ minutes and cannot get it to fail, so I want to make sure that I am doing the same thing that you are.  If you could use the StrataFrameSample database that would be great, but I really don't care if you can just give me something to replicate the problem so I can help you work through your problem.  Thanks.

Cyrus Welch
Cyrus Welch
StrataFrame Beginner (38 reputation)StrataFrame Beginner (38 reputation)StrataFrame Beginner (38 reputation)StrataFrame Beginner (38 reputation)StrataFrame Beginner (38 reputation)StrataFrame Beginner (38 reputation)StrataFrame Beginner (38 reputation)StrataFrame Beginner (38 reputation)StrataFrame Beginner (38 reputation)
Group: Forum Members
Posts: 20, Visits: 82
I'm running into a problem with manually trapping issues with situations where the value stored in a field is not in the list of values in a dropdown list.  With a normal ASP dropdownlist control I can use TRY CATCH and handle it just fine, but with the strata frame dropdownlist control it doesn't seem to trap the error and I end up with an unhandled error.  Since our users can edit the dropdowns in the system, they can remove codes used in the past (even though we heavily recommend against it, they demand the ability), VFP just gives them a blank in that situation.  I need some way to do the same type of thing in the browser, or at least not have the application crash when it hits one.

What can I do to avoid this (can't use the native data binding since we bind to different tables at runtime depending on what the user chooses to view/edit)?  It's so nice to just setup a method in a business object to populate the dropdown and such, but if I can't solve this I don't know if I can use the strataframe dropdowns, much as I want to.

This is with version 1.6.1 btw, being actually in testing for release (which is how we found this) is not a time to move to 1.6.5 even if it's a likely fix for the problem.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search