I am trying to get three IF/ELSE results to print their results all on the same line of a report. The following is the code I am using which works to get the results printing in the right position on three separate lines of the report.
I have tried removing the "APPEND BLANK" commands which does not work. Can anyone please help me with the proper method to tie these togehter and have the results print on the same line?
code:
IF A->ronameok = .Y.
REPLACE reportline WITH 'RO IN INSUREDS NAME? YES'
ELSE
REPLACE reportline WITH 'RO IN INSUREDS NAME? NO '
END IF
APPEND BLANK
IF A->rosigned = .Y.
REPLACE reportline WITH SPACE(30)+' RO SIGNED? YES'
ELSE
REPLACE reportline WITH SPACE(30)+' RO SIGNED? NO '
ENDIF
APPEND BLANK
IF A->consmatch = .Y.
REPLACE reportline WITH SPACE(52)+' RO CONCNERS MATCH? YES'
ELSE
REPLACE reportline WITH SPACE(52)+' RO CONCERNS MATCH? NO '
ENDIF
End code
Thanks in advance
G
I have tried removing the "APPEND BLANK" commands which does not work. Can anyone please help me with the proper method to tie these togehter and have the results print on the same line?
code:
IF A->ronameok = .Y.
REPLACE reportline WITH 'RO IN INSUREDS NAME? YES'
ELSE
REPLACE reportline WITH 'RO IN INSUREDS NAME? NO '
END IF
APPEND BLANK
IF A->rosigned = .Y.
REPLACE reportline WITH SPACE(30)+' RO SIGNED? YES'
ELSE
REPLACE reportline WITH SPACE(30)+' RO SIGNED? NO '
ENDIF
APPEND BLANK
IF A->consmatch = .Y.
REPLACE reportline WITH SPACE(52)+' RO CONCNERS MATCH? YES'
ELSE
REPLACE reportline WITH SPACE(52)+' RO CONCERNS MATCH? NO '
ENDIF
End code
Thanks in advance
G