on 2006 Apr 06 6:26 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
thanks for your answer.
Regards,
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
109 | |
9 | |
8 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.