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



Calulated FieldExpand / Collapse
Author
Message
Posted 10/13/2006 10:45:22 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 11/28/2006 3:35:50 PM
Posts: 15, Visits: 17
I have a database field that is calculated using a lookup table,

The lookup table has 9 rows and 10 columns, Currently it is stored in a table.

Is there a good way to add this to the business object?

Post #3558
Posted 10/13/2006 11:03:16 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 6:26:12 PM
Posts: 4,901, Visits: 4,887
Well...I guess I don't totally understand what you are trying to do...but there are a number of ways to consolidate that you may accomplish what you are attempting to do.  You can create custom field properties, you can also use a view and map a business object to a view which will pull that data as well.  I guess I need more information before I can give you a more direct answer.
Post #3560
Posted 10/13/2006 11:17:19 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 11/28/2006 3:35:50 PM
Posts: 15, Visits: 17
I have a table that has three fields A,B,C for example. When the user changed A or B then I need to get the new value for C for the table. Can I put custom code in the C field to calculate based on those two?

Currently I am upgrading an app that does this through the form, basically performing the calculation anytime the user changes or clicks on any fields that may change A or B. I would like to move this to the BO.

Post #3561
Posted 10/13/2006 11:41:21 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 6:26:12 PM
Posts: 4,901, Visits: 4,887
I have a table that has three fields A,B,C for example. When the user changed A or B then I need to get the new value for C for the table. Can I put custom code in the C field to calculate based on those two?

Yes. This is the purpose behind a custom field.

Post #3563
« 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 7:07pm

Powered by InstantForum.NET v4.1.4 © 2009
Execution: 0.109. 10 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.