G
Guest
if Me![CheckSalesperson] has a value and Me![CheckSalesTaxNumber] has a
value the update will occur.
if either value is null then nothing is updated.
UPDATE [ar customer] SET [ar customer].SalesPerson = '" &
Me![CheckSalesperson] & "', [ar customer].SalesTaxNumber = '" &
Me![CheckSalesTaxNumber] & "' WHERE ((([ar customer].CompanyID)= " &
Me![CompanyID] & "));"
value the update will occur.
if either value is null then nothing is updated.
UPDATE [ar customer] SET [ar customer].SalesPerson = '" &
Me![CheckSalesperson] & "', [ar customer].SalesTaxNumber = '" &
Me![CheckSalesTaxNumber] & "' WHERE ((([ar customer].CompanyID)= " &
Me![CompanyID] & "));"