J
John
I am getting a type mismatch from the approved_limit below. The field
is actually a decimal (10,2) in sql server 2005 table. I am getting a
type mismatch error. I also suspect that NULL is going to need to be
managed. A SUB inside the form was created that controls all the
controls based on status. It works and has been there for many
years. It even predates my takeover of this db. That is where I
would like to add this. But first why am I getting a Type Mismatch
error plus how would I handle the Null issue?
Dim approved_limit As Double
approved_limit = "SELECT ApprovedAmount FROM PurchaseOrders WHERE
PONumber = " & PONumber & " "
Thanks for reviewing and responding.
John
is actually a decimal (10,2) in sql server 2005 table. I am getting a
type mismatch error. I also suspect that NULL is going to need to be
managed. A SUB inside the form was created that controls all the
controls based on status. It works and has been there for many
years. It even predates my takeover of this db. That is where I
would like to add this. But first why am I getting a Type Mismatch
error plus how would I handle the Null issue?
Dim approved_limit As Double
approved_limit = "SELECT ApprovedAmount FROM PurchaseOrders WHERE
PONumber = " & PONumber & " "
Thanks for reviewing and responding.
John