SCAN REPLACE Header1Text WITH Header1Text + ALLTRIM(Header1) + CHR(13) + chr(10) ENDSCAN>Let's say there are 3 records in the open table and the values of Header1 are all different. If I use "CHR(13)" then I only get the last value of Header1 in the Header1Text field. If I use a character, like "|" then I get all three values concantenated together separated by the "|" character. Why am I losing the first two values when I use "CHR(13)?" I can also duplicate this behavior in the command window using variables.
>SCAN > REPLACE Header1Text WITH Header1Text + ALLTRIM(Header1) + CHR(13) >ENDSCAN >