S
sysd
Unregistered / Unconfirmed
GUEST, unregistred user!
var
ss:=string;
begin
......
ADOQuery1.SQL.Add('select sum(je) as hzje from Table');
......
ss:=formatfloat('0.00',hzje);
[错误] ydhz.pas(81): Undeclared identifier: 'hzje'
[致命错误] xkfygl.dpr(9): Could not compile used unit 'ydhz.pas'
如果我在 var 中定义了 hzje:double; 那得到的ss就是0.00 ,为什么?
错在哪儿呢?请指教
ss:=string;
begin
......
ADOQuery1.SQL.Add('select sum(je) as hzje from Table');
......
ss:=formatfloat('0.00',hzje);
[错误] ydhz.pas(81): Undeclared identifier: 'hzje'
[致命错误] xkfygl.dpr(9): Could not compile used unit 'ydhz.pas'
如果我在 var 中定义了 hzje:double; 那得到的ss就是0.00 ,为什么?
错在哪儿呢?请指教