Assigning three values with a single IF
Hello,
In a hospital software, reports are written with Report Builder. Extension .rtm
My question is
How can I use what I need to do after Then in a single if?
If if is ok, I want all the ones below to be false.
When I use begin - end I get the error Line 1: Expected: 'repeat' or 'while', but found 'begin' instead.
In a hospital software, reports are written with Report Builder. Extension .rtm
My question is
How can I use what I need to do after Then in a single if?
If if is ok, I want all the ones below to be false.
When I use begin - end I get the error Line 1: Expected: 'repeat' or 'while', but found 'begin' instead.
if DBPipeline['ACCOUNT'] = 'NWM' then NucleusCB.Visible := False; WindowsCB.Visible := False; MailCB.Visible := False;
Comments
IF DBPipeline['HESAP'] = 'NMW' THEN BEGIN wCB.Visible := False; nCB.Visible := True; mCB.Visible := True; END;