Editing Data

Once the record is loaded you can edit values in the object. To do this you must always use the "ADDFIEDLVALUE" method.

For example say that you wanted to change the billing name. All I need to do is, after loading the record, issue the following;

lcNewBillingName = "Bill Harris"
loITRDS.OCUSTOMERS.ADDFIELDVALUE("NAME",lcNewBillingName)

Always use the method "ADDFIEDLVALUE" to change values of the oData object. This method makes sure that field types are correct for the data you are changing.


Last Updated: 10/05/2004