The problem is that
I'd like to achieve such effect in Memo, if the field A exists, then Memo1. Memo=[' A '], otherwise Memo1. Memo=[' B ']
This line?
The begin
If the Exists ([' A ']) then
Memo1. Memo:=[' A ']
The else
Memo1. Memo:=[' B ']
end