Hello and good morning. I would like some assitance with the following update query please. I am using Access 2003 and trying to update a table using the following VBA code. The problem is that if the variable "Hours" is null it is not updating the table with a 0 as I would like it to. The field is being updated but with a null value and not 0. Any suggestions please ?
VBA code: "Update SAP_Import set Hours = '" & Nz(Hours, "0") & "'"
Thank you.
VBA code: "Update SAP_Import set Hours = '" & Nz(Hours, "0") & "'"
Thank you.