L
liu12345
Unregistered / Unconfirmed
GUEST, unregistred user!
问题如下:
function TForm1.CUpperCase(Value: integer): string;
begin
...
end;
procedure TForm1.frReport1UserFunction(const Name: String;
p1, p2,
p3: Variant;
var Val: Variant);
begin
if Ansicomparetext('CUpperCase',name) = 0 then
Val:=CUpperCase(p1);
end;
我在报表中调用为: [CUpperCase(12345)]时正确
可是为 : [CUpperCase(ADOTable1."gz")]时老是报错
ADOTable1."gz"是表中字段值
不知道该如何调用!!! 急~~~~~~~~~~~
function TForm1.CUpperCase(Value: integer): string;
begin
...
end;
procedure TForm1.frReport1UserFunction(const Name: String;
p1, p2,
p3: Variant;
var Val: Variant);
begin
if Ansicomparetext('CUpperCase',name) = 0 then
Val:=CUpperCase(p1);
end;
我在报表中调用为: [CUpperCase(12345)]时正确
可是为 : [CUpperCase(ADOTable1."gz")]时老是报错
ADOTable1."gz"是表中字段值
不知道该如何调用!!! 急~~~~~~~~~~~