[fpc-pascal] Custom dataset help request: ftCurrency/ftDateTime returns weird data
Reinier Olislagers
reinierolislagers at gmail.com
Fri Oct 4 17:18:57 CEST 2013
On 04/10/2013 15:43, Marco van de Voort wrote:
> In our previous episode, Reinier Olislagers said:
>> 'BookDate': TDateTime(Buffer^) :=
>> FTransactionList[FCurrentRecord].BookDate;
>> 'Amount': Currency(Buffer^) := FTransactionList[FCurrentRecord].Amount;
<snip>
> Maybe I miss some weird FPC ability there, and the currency cast makes it
> take more bytes, but I would expect
>
> pcurrency(buffer)^:=
Thanks, but using that (and similar change for the TDateTime) gives the
same results ;(
More information about the fpc-pascal
mailing list