I am having problems calculating witd dbcurrency edit.
procedure TPostavke.Edit51Change(Sender: TObject);
var a: Currency;
if TryStrToCurr(currencyedit37.Text,a) and TryStrToInt(edit51.text,b) then
edtCurr11.value:= a * b ;
This works but if I replace currencyedit37 with a dbcurrencyedit it will not work and it beats me why not.
To go over this how can I display a value of a currency field from a database in currencyedit
depending on the row i click in the grid (contact I select in grid)?Can you tell me alsohow to calculate 2 dbcurrencyedits?