From: setan k. <set...@ya...> - 2012-03-11 08:18:57
|
Craig, thank you very much. Actually I have tried the '$n(x)' but it only take the first name into account. However, I suppose your '$n(x< >l)' solution should work, I'll try it. Thank's again. ________________________________ From: Craig J. Anderson <and...@ho...> To: gramps-devel <gra...@li...> Sent: Saturday, March 10, 2012 9:13 AM Subject: Re: [Gramps-devel] How control variable can make the reportdisplays Call Name if exists, Given Name otherwise > On 3/6/12, setan kabir <set...@ya...> wrote: > > I have tried the following control variables statement in the report > > generator window: > > {$n(c) $n(f)} > > But it also displayed the Given Name although the Call Name existed. > > What I want is to make report displays ONLY Call Name if exists, but ONLY > > Given Name if Call Name doesn't exist. > > > > Thanks for advance. > Hi, doesn't '{$n(c) $n(x)}' work? or you could shorten this to: '{$n(c x)}'. As per the docs: ' x Common name. Call name if existing, otherwise first first name ' Sorry, that would actually be '$n(x)' If you wish to add the last name it could be '$n(x< >l)' for the persons [call/formal name] and last name. Craig A. ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Gramps-devel mailing list Gra...@li... https://lists.sourceforge.net/lists/listinfo/gramps-devel |