*[99 * OVERVIEW of QMESS * uses wait window to print a quick message on the screen * converts any tilde ~ characters it finds to chr(13) * to help with formatting the output * If there is a text field on the active form called qmess it will * output to that field instead *]99 Func qmess Param lcMessage lcMessage=STRTRAN(lcMessage,'~ ','~') lcMessage=STRTRAN(lcMessage,'~',CHR(13)) If type('_screen.activeform.qmess')='O' _Screen.activeform.qmess.value=lcMessage _Screen.activeform.qmess.refresh Else Wait WINDOW lcMessage NOWAIT Endif Return .T.