StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Manually Setting Selected Value and Error...Expand / Collapse
Author
Message
Posted 04/08/2008 2:22:19 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: 08/26/2008 2:14:48 PM
Posts: 20, Visits: 80
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.

Post #15452
Posted 04/09/2008 9:45:07 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 4:58:13 AM
Posts: 4,379, Visits: 4,421
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.

Post #15471
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 4:07pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.063. 13 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.