Posted by Barbara Brazil on September 04, 2015 at 12:06:11:
In Reply to: Re: Reporter %% problem posted by Grant Foraker on September 04, 2015 at 11:24:57:
Grant:
The #CPROMPT file wasn't intended to be used outside the PROMPT feature. Despite that I did try something similar to what you did with 2 fields separated by a comma and it worked just fine. I created the #CPROMPT records by using the PROMPT statement, then commented PROMPT out and reran the report. Both % fields populated properly.
Here's the format of the #CPROMPT file. We don't support using it without PROMPT however.
length 3 & local pxx$
length 32 & local FieldCode$
length 80 & local prompt$,default$,response$
length 3.0 & local sequence,FieldLen
CPrompt: format pxx$;FieldCode$;FieldLen;prompt$;default$;pxx$;sequence;response$
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.