Dear all,
It's about the copy calculated field from a form into another table. I know it 's not recommended becoz of denormalization. In fact, i need to learn it anyhow.
Someone taught me to use update query :
Balance_afterupdate()
If not isnull(balance) then
docmd.runSQL "put my sql here"
End If
Eventually, i don know how to write the query ....All i wanted is update the balance field in location table when the location field is match to the location in the form ..
Below is something i 'd guess
Update tbl_location set balance = ???? where me.location = location.tbl_location
YEONG,
Best Regards
It's about the copy calculated field from a form into another table. I know it 's not recommended becoz of denormalization. In fact, i need to learn it anyhow.
Someone taught me to use update query :
Balance_afterupdate()
If not isnull(balance) then
docmd.runSQL "put my sql here"
End If
Eventually, i don know how to write the query ....All i wanted is update the balance field in location table when the location field is match to the location in the form ..
Below is something i 'd guess
Update tbl_location set balance = ???? where me.location = location.tbl_location
YEONG,
Best Regards