{runquery 1} {runsubquery 2.1.xmnr_id} {runquery 3} {runsubquery 4.1.xmnr_id}{runsubquery 5.1.xmnr_id}
- {translatestatictext 'Guestname'.{const language}}
  {field 1.guestname}
- {translatestatictext 'Address'.{const language}}
  {field 1.GuestAddress}
- {translatestatictext 'Membership'.{const language}}
  {field 1.MemberShipType} {field 1.MemberShipLevel} {field 1.xmnr_value}
- {translatestatictext 'Bonus Points'.{const language}}
  {field 4.POINTS}
{dif('{field 5.TransactionType}'='')}{/dif}{else}
{translatestatictext 'Statement Details'.{const language}}
- {translatestatictext 'Trans. Date'.{const language}}
  {translatestatictext 'Points Coll.'.{const language}}
  {translatestatictext 'Spent'.{const language}}
  {translatestatictext 'Description'.{const language}}
  {translatestatictext 'Trans. Type'.{const language}}
{forall 5}
- {field 5.TransactionDate}
  {field 5.CollectedValue}
  {field 5.SpentValue}
  {field 5.TransActionDesc} {dif('{field 5.StayDetails}'='')}{/dif}{else}
  {field 5.StayDetails}{/else}
  {field 5.TransActionType_Master}
{/forall} {/else}