Written by

Question Hari Haran · Jun 14, 2023

How to call Cache function in Delphi 7

This is my delphi code

procedure TForm2.Button1Click(Sender: TObject);
var
 cmd:string;
 sResult:string;
begin
    cmd:='$$Check^logininput()';
    vism1.Code:=cmd;
    sResult:=vism1.Value;
end;

end.

Comments

Iryna Mykhailova · Jun 14, 2023

You're not executing it:

vism1.Execute(cmd);

To make it shorter, can be

vism1.Execute('$$Check^logininput()');
sResult:=vism1.Value;

You can also find an example in this GitHub repository.

0