access problem

  • Thread starter Thread starter dzemo
  • Start date Start date
D

dzemo

I use access file for database. in one table I have column with number
(decimal 18,2) type. When I modify data manually it work file. But when I
write data using program made in VB.NET (oledbCommand) thought parameter I
have problem with decimals. 20,00 work fine but 2,20 writes like 22. Why?
Thx
 
U¿ytkownik "dzemo said:
I use access file for database. in one table I have column with number
(decimal 18,2) type. When I modify data manually it work file. But when I
write data using program made in VB.NET (oledbCommand) thought parameter I
have problem with decimals. 20,00 work fine but 2,20 writes like 22. Why?

Maybe you should write 2.20?
Regards,
Grzegorz
 
Back
Top