ftCurrency always show with a "?"
Original Reporter info from Mantis: lingling
-
Reporter name:
Original Reporter info from Mantis: lingling
- Reporter name:
Description:
i use this code,but the ftCurrency field always show a "?" in it ,my windows xp is chinese version,please see the result in the picture file,thank you.
procedure TForm1.Button2Click(Sender: TObject);
begin
BufDataSet1.Fields.Clear;
BufDataset1.FieldDefs.Add('Field1', ftString);
BufDataset1.FieldDefs.Add('Field2', ftBCD);
BufDataset1.FieldDefs.Add('Field3', ftCurrency);
BufDataset1.CreateDataset;
BufDataset1.Open;
Datasource1.DataSet:=BufDataset1;
DBGrid1.DataSource:=DataSource1;
BufDataset1.Append;
BufDataset1.FieldByName('Field1').Value:='1';
BufDataset1.FieldByName('Field2').Value:='89.5632';
BufDataset1.FieldByName('Field3').Value:= 89.1562 / -1;
BufDataset1.post;
end;
Mantis conversion info:
- Mantis ID: 20516
- OS Build: 5
- Platform: windows xp
- Version: 2.4.2