Script Question
On a frMemoView, I am trying to get the following code to work.
It seems the locate always returns false.
Is locate supported? The script does not error on run.
note: memUsersLookup is a TdxMemData on the DataModule.
begin
UID := [Dta.qryRequests."UserID"];
if Dta.memUsersLookup.Locate('UserID',UID,[]) then
Memo5.Memo := [Dta.memUsersLookup."UserName"]
else Memo5.Memo := 'n/a';
end
Also, are there more examples of scripts and such? The help seems
very limited on scripting.
It seems the locate always returns false.
Is locate supported? The script does not error on run.
note: memUsersLookup is a TdxMemData on the DataModule.
begin
UID := [Dta.qryRequests."UserID"];
if Dta.memUsersLookup.Locate('UserID',UID,[]) then
Memo5.Memo := [Dta.memUsersLookup."UserName"]
else Memo5.Memo := 'n/a';
end
Also, are there more examples of scripts and such? The help seems
very limited on scripting.