Skip to Content

To create calculated context attribute on runtime

Hello everybody

Are there any way to create calculated context attribute dynamically on runtime? I have a table with columns which are created dynamically with set of related context attributes. Now I'd like to make the attributes as calculated to increase a performance. How can I do this?

Thanx

Sergei

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    Nov 15, 2006 at 01:39 PM

    Hi,

    You can dynamically assign calculated property but its not possible to generate the getter and seeter methods dynamically. So you need to predefine setter and getter methods.By using the method

    <b>setCalculatedAttributeAccessor(IWDCalculatedAttributeAccessor)</b> you can specify the predefined calculated accessor for the attribute.

    Regards

    Abhilash

    Message was edited by:

    Abhilash gampa

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 15, 2006 at 01:45 PM

    Please check this

    Get a Value Help in Table from Dictionary Simple Type

    Regards, Anilkumar

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 15, 2006 at 01:32 PM

    Hi,

    You can make use of setCalculatedAttributeAccssor() API on IWDAttributeInfo.

    Regards, Anilkumar

    Message was edited by:

    Anilkumar Vippagunta

    Message was edited by:

    Anilkumar Vippagunta

    Add comment
    10|10000 characters needed characters exceeded