I am creating a report which is taking text from 2 columns in a table and putting them on the same line. I have it working except my Len function does not seem to be counting spaces and also seems to be inconsistent. Any ideas for what I am doing wrong?
Control source for the text box:
=IIf(IsNull([Author]),"",Space(Len(nz([Genus spp]))+2) & Nz([Author]))
I am trying to have the author data be 2 spaces after the text in Genus spp. The format for Genus spp is: i.e. Acer rubrum. Two words with a space between.
The result seems sporadic and doesn't appear to be including the space between the two words in Genus spp.
Is there another expression that I should be using?
Thank you,
Jeff
Control source for the text box:
=IIf(IsNull([Author]),"",Space(Len(nz([Genus spp]))+2) & Nz([Author]))
I am trying to have the author data be 2 spaces after the text in Genus spp. The format for Genus spp is: i.e. Acer rubrum. Two words with a space between.
The result seems sporadic and doesn't appear to be including the space between the two words in Genus spp.
Is there another expression that I should be using?
Thank you,
Jeff