Ampersand appearing in a data field

Reply
New Contributor
Posts: 2

Ampersand appearing in a data field

I am fairly new to this so please bear with me!

I am trying to debug a program which collates unique addresses with their property details (ie size type etc). Once the data has been compiled it is formatted and printed.

Intermittently there is a problem - instead of printing out the property address  '&address' appears in the field, and the same with Size as '&size' appears in the field. Is this a macro or variable problem? What could cause this?

Trusted Advisor
Posts: 1,228

Re: Ampersand appearing in a data field

Posted in reply to bluesilver

When macro variable's value included as part of a literal string then you must enclose the string with double quotation marks.

Ask a Question
Discussion stats
  • 1 reply
  • 135 views
  • 0 likes
  • 2 in conversation