G
Ger
Hi all,
I have a database in which i added 2 new fields one is a currency field
and the other is a number field. I'm then passing in values to these
fields from a vb6 application. The currency value passes in perfectly
but the number value doesn't. If i change both fields to number neither
of these values are posting to the table BUT if i change both fields to
currency then both values are passing in correctly. The code does not
produce any errors.
Heres the code passing in the values:
oRS_Invoice("Discount_Rate") = Val(dblDiscountRate)
oRS_Invoice("Discount_Amount") = Val(dblDiscountAmt)
Any Ideas anyone?
I have a database in which i added 2 new fields one is a currency field
and the other is a number field. I'm then passing in values to these
fields from a vb6 application. The currency value passes in perfectly
but the number value doesn't. If i change both fields to number neither
of these values are posting to the table BUT if i change both fields to
currency then both values are passing in correctly. The code does not
produce any errors.
Heres the code passing in the values:
oRS_Invoice("Discount_Rate") = Val(dblDiscountRate)
oRS_Invoice("Discount_Amount") = Val(dblDiscountAmt)
Any Ideas anyone?