Performing Table Update


Author
Message
Michael Reese
Michael Reese
StrataFrame User (411 reputation)StrataFrame User (411 reputation)StrataFrame User (411 reputation)StrataFrame User (411 reputation)StrataFrame User (411 reputation)StrataFrame User (411 reputation)StrataFrame User (411 reputation)StrataFrame User (411 reputation)StrataFrame User (411 reputation)
Group: StrataFrame Users
Posts: 235, Visits: 1.6K
Are there any examples of how to update a column in another table utilizing BOs.

Example

Button_Click Sub

BOProducts.Qty =  BOProducts.Qty - BOOrderItem.Qty

End Sub

Thanks

StrataFrame Team
S
StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
If you're talking about updating the DataColumn within the DataTable of another business object, you can do so by obtaining an object reference to the other business object and using the .Item property with the column name.

If your asking about updating the field on the SQL Server, you can do so by overriding the OnAfterSave() method and if the save was successful, create a business object and update the table.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search