Skip to Content
avatar image
Former Member

Modifing data

Hi,

what is the recommended way to modify data in a form. I know two ways:

- modifing the data in the form object

- modifing the data in the datasource

it looks like modifing data in the datasource is the prefered way.

Thanks,

Christian

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 06, 2006 at 07:17 AM

    Hi Christian,

    You can't modify system fields/matrixes by their datasources, SBO protects this (You'll get an exception: Operation not permitted)

    You can modify them by the Form.Items collection, but this is kind of slow.

    Preferred chaning

    - All SBO items (BusinessPartners, Items etc) by there objects

    - Documents (Invoices etc) by there objects

    - All <i>user</i> fields (buttons, textfields, matrixes etc) by user datasources...

    Note that by changing data by objects, the data is instantly modified

    Hope it helps,

    Rowdy

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 06, 2006 at 07:52 AM

    Hi,

    thanks for your answer.

    Regards,

    Christian

    Add comment
    10|10000 characters needed characters exceeded