I want to set some fields in a foreign record to the values on the fields in my local table. Right now, I get the values in the foreign record using DLookup. E.g.,
Code:
Rate1 = DLookup("[RateAmt]", "tblHourlyTypes", "[RateNum] = 1")
[\code]
I'm looking to do the opposite -- set [RateAmt] to the value of [Rate1] in the record where [tblHourlyTypes].[RateNum] = 1. I thought there might exist a function that worked something like this:
[code]
DSet("[RateAmt]", [Rate1], "tblHourlyTypes", "[RateNum] = 1")
[\code]
But I can't find a function like 'DSet'. What's the best way to do this?
Thanks!
Rich