need help with memo expression
hi,
need to display a value from two database filed inside a memo like that:
IIF(<frds."f1"> <> 'N', <frds."f4">, '')] x [IIF(<frds."f1"> <> 'N', <frds."f5">, '')]
is there a way to merge it in one IIF I also did not want to display the 'x' unless IIF results for true
- I tried to find reference for IIF but I did not find. and all Delphi documentation is outdated from 2008 and 2009 !!
thanks
need to display a value from two database filed inside a memo like that:
IIF(<frds."f1"> <> 'N', <frds."f4">, '')] x [IIF(<frds."f1"> <> 'N', <frds."f5">, '')]
is there a way to merge it in one IIF I also did not want to display the 'x' unless IIF results for true
- I tried to find reference for IIF but I did not find. and all Delphi documentation is outdated from 2008 and 2009 !!
thanks
Comments
and set content of your MemoView to [MyVariable].
Mick
after that you must use standard braces () to enclose other nested functions.
[IIF(<ADOQuery1."State">='HI', IntToStr(<ADOQuery1."CustNo">) + ' x ' + IntToStr(<ADOQuery1."CustNo">), <ADOQuery1."CustNo">)]
See result in attached file.
Mick
Thanks Mick.pl for being around