Quote:
Originally Posted by Ghost
Dim cpaMaxDecimal As Decimal = CType(usersundayString, Decimal) - CType(cpaadminsundaycount, Decimal)
Is what you need. I'm a little drunk, but it looks good to me.
|
This is the error I am getting.
InvalidCastException was unhandled.
Conversion from string "" to type Decimal' is not valid
on the same line pointing to the same area "Ctype(cpaadminsundaycount, Decimal)
I'm stumped