I can't get this line of code to work. <br><br>table net_download has<br>fields onloan and settleloc<br><br>Table sdave has<br>fields loc<br><br>DoCmd.RunSQL "update net_download set onloan = table![sdave]![loc] WHERE settleloc = tables![sdave]![loc];"<br><br>When I run this it asks me for the parameter value for tables![sdave]![loc]. I have tried different configurations but I can't seem to update the onloan field net_download when the settloc field is equal to the loc field in sdave.<br><br>Can you help?<br><br>Thanks a lot!