how to get the value of a memo in delphi code
Hello guys, I need to get the memo value after the report is on the screen, I go through the masterdata and get only the memos that are inside it, but I can only get the text that is written in the memo and not the value, but the return this code comes in white, is there any way I can get the memo value after printed?
Code
MasterData.First;
while not (MasterData.DataSet.Eof) do
begin
for Col := 0 to MasterData.AllObjects.Count - 1 do
begin
TfrxMemoView(MasterData.DataSet).GetData;
ShowMessage(TfrxMemoView(MasterData.AllObjects.Items[Col]).Value);
end;
MasterData.Next;
end;
Help me please, I really need this, have a good day, thank you.
Comments
Guuuuuuuuuuuuuuuuuuuys, I solved
Instead of where you have that line
TfrxMemoView(MasterData.DataSet).GetData;
put this
TfrxMemoView(MasterData.AllObjects.Items[Col]).GetData;
Hello,
I don't understand the solution.
What does return "GetData"?