Forum Discussion

idaj's avatar
idaj
New Contributor
4 years ago
Solved

FieldByName returns integer instead of money

Hello,

I need to get cell's value from a table. I use the following line:
Qry.FieldByName(paramName).Value;

 

The problem is the value is "223,00" or similar, but I always get "223".

Everything works fine if the value is integer.

 

(Qry.FieldByName(paramName).AsFloat does not work)