Z
zenfor
Hi, appreciate any help with this, I can't seem to get past this error.
The Price field is a Number Data Type.
This is part of some code that is adding records to a database. The 3
lines of x_author (text data type) works fine. The error is coming at
the "rs("price") = tmpFld" line. I assume I don't have it defined
correctly but not quite sure how to fix it. Thanks!
===========================
tmpFld = Trim(x_author)
If trim(tmpFld) & "x" = "x" Then tmpFld = Null
rs("author") = tmpFld
------->ERROR HERE!!
tmpFld = Trim(x_price)
If trim(tmpFld) & "x" = "x" Then tmpFld = Null
rs("price") = tmpFld
The Price field is a Number Data Type.
This is part of some code that is adding records to a database. The 3
lines of x_author (text data type) works fine. The error is coming at
the "rs("price") = tmpFld" line. I assume I don't have it defined
correctly but not quite sure how to fix it. Thanks!
===========================
tmpFld = Trim(x_author)
If trim(tmpFld) & "x" = "x" Then tmpFld = Null
rs("author") = tmpFld
------->ERROR HERE!!
tmpFld = Trim(x_price)
If trim(tmpFld) & "x" = "x" Then tmpFld = Null
rs("price") = tmpFld