The question is, which value is in the cursor?
What do you get by running
SELECT wazalt, PADR(wazalt,20) AS cwazalt, wazneu, PADR(wazneu,20) AS cwazneu FROM mycursor
>This one makes me crazy.
>
>I fire this command via odbc to an MAXDB Database.(lomontag,lodienstag,lomittwoch... are typ fixed 11,2)
>When i browse the resultcursor everything is ok.
>For example lomontag,lodienstag,lomittwoch,lodonnerstag,lofreitag show 2.2 as value.
>wazalt = 11
>wazneu = 11
>
>Before calling the sqlcommand i do: thisform.grid1.recordsource = " "
>after calling i do: thisform.grid1.recordsource = mycursor
>
>In my grid the lomontag,lodienstag... all show 2.2 but wazalt show 10.91 and wazneu shows 10.40 ???????
>The gridcolumns 53+54 are format 99.99,inputmask 99.99
>
>what do i miss???
>
<snip>
--sb--