Hello
How can I put a function in a Browse Fields ?
I only like to show a "*" if the Memo is not empty.
I tried this, but do not work:
DEFINE BROWSE Brow_Adr
....
FIELDS { "ADRESSE->NAME" , "ADRESSE->NAME_KZ" , "ADRESSE->ADR_NR" , "ADRESSE->PLZ_ORT" , {|| if(Empty(ADRESSE->MEMO)," ","*") } }
Many thanks in advance for any help.
Function in a Browse->Fields
Moderator: Rathinagiri
Re: Function in a Browse->Fields
Hello Otto,ohaldi wrote:Hello
How can I put a function in a Browse Fields ?
I only like to show a "*" if the Memo is not empty.
I tried this, but do not work:
DEFINE BROWSE Brow_Adr
....
FIELDS { "ADRESSE->NAME" , "ADRESSE->NAME_KZ" , "ADRESSE->ADR_NR" , "ADRESSE->PLZ_ORT" , {|| if(Empty(ADRESSE->MEMO)," ","*") } }
Many thanks in advance for any help.
Try this
FIELDS { 'ADRESSE->NAME' , 'ADRESSE->NAME_KZ' , 'ADRESSE->ADR_NR' , 'ADRESSE->PLZ_ORT' , 'ADRESSE->(if(Empty(MEMO)," ","*"))' }
I hope that helps.
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Re: Function in a Browse->Fields
Work very well, Thanks, 'ADRESSE->(if(Empty(MEMO)," ","*"))'
Regards
Otto
Otto