2 Replies Latest reply on Jan 17, 2017 2:27 PM by TSGal

    calculation in field misbehaves

    HinOey

      I have a calculation for a field. This calculation is used to 'construct' a bibliography (Maybe a merge field could be used; but I haven't figured that out).

       

      If there numkbers in the field, mostly years, but some times page number, the result is not the bibliography entry but a large made up of year numbers etc.

       

      If statement:

      TextStyleAdd (B_author_biblio; Vet) & " (" & B_year & "). " & If (B_publisher  ≠ ""; TextStyleAdd (B_title; Cursief) & ". " & B_publisher & "."; If (B_in_title ≠ ""; B_title & ". In: " & TextStyleAdd (B_in_title; Cursief) & ", " & B_in_volume; " <== nog aanpassen" ))

       

      Result as it should be (please note that one of the years is replaced by 'xxxx'.

      Wagenaar, F.J. (ed) (1957). Rondebosch Down the Years, 1657 – xxxx. Rondebosch.

       

      This the result when the intended year of 1957 is used (instead of xxxx):

      ,195716572

      I.E.: year of publication than the first year of the period and than a 2