Hi,
i have a field ('MYFIELD') defined as number(14)
This number is mapped as TFloatField.
I have a procedure like this :
var
d: Double;
begin
d:= 100;
MyQuery['MYFIELD'].AsFloat := d;
MyQuery.Post;
// reloads the same record
MyQuery.Open;
if MyQuery['MYFIELD'].AsFloat = d then showmessage('ok');
...
...
Can i assume that MyQuery['MYFIELD'].AsFloat =d allways returns true ?
Can i use a number(14) as key field for a table ?
TIA
Sergio Sette
i have a field ('MYFIELD') defined as number(14)
This number is mapped as TFloatField.
I have a procedure like this :
var
d: Double;
begin
d:= 100;
MyQuery['MYFIELD'].AsFloat := d;
MyQuery.Post;
// reloads the same record
MyQuery.Open;
if MyQuery['MYFIELD'].AsFloat = d then showmessage('ok');
...
...
Can i assume that MyQuery['MYFIELD'].AsFloat =d allways returns true ?
Can i use a number(14) as key field for a table ?
TIA
Sergio Sette