StrataFrame Forum

Updating Business Objects - How To

http://forum.strataframe.net/Topic2625.aspx

By Tim Dol - 9/1/2006

I have a business object which represents inventory items.  ItemNumber, Description, Quantity...etc

I want to update the quantity field for all item numbers with a value from other field related table/business object.  What's the best way to do this...

By StrataFrame Team - 9/5/2006

The best way to update each of the fields would be to iterate through the records within the business object using a loop like this:

If MyBO.MoveFirst() Then
    Do
        '-- Set the appropriate value for the inventory here
    While MyBO.MoveNext()
End If