Vic -

        You can pass as much (within reason) information into a dialogue box
as you want.  You can also put in CRLFs to skip to the next line or to open
up an empty line between text sections.  Here is an example (note the width
setting on the DIALOG message variable):

  SET VAR vCRLF     TEXT = ((CHAR(13)) + (CHAR(10)))
  SET VAR vsurveyID TEXT = 'blah blah blah'

  IF (vsurveytest > 0) THEN
    SET VAR vm TEXT
    vm = ('Tally records for this survey,' & .vsurveyID + ', are already in')
    vm = (.vm & 'the SurveyTally table.  If this is not a rerun of a prior' )
    vm = (.vm & 'analysis you should exit this analysis now.  If you'       )
    vm = (.vm & 'continue all SurveyTally records for survey:' & .vsurveyID )
    vm = (.vm & 'will be deleted and rewritten.  + .vCRLF)
    vm = (.vm & 'Continue with analysis?'   )

    DIALOG .vm=50 vgo vlk NO                                                +
           CAPTION 'Survey Analysis: Sample Creation & Statistics' AT 10 15 

    IF (vgo = 'No') OR (vlk = '[Esc]') THEN
      CONTINUE
    ELSE
                                       *( User wants to redo analysis.       )
                                       *( Delete records for this analysis   )
                                       *( from SurveyTally and SurveyStats   )

      DELETE ROWS FROM SurveyTally      WHERE surveyID = .vsurveyID
      DELETE ROWS FROM SurveyStatistics WHERE surveyID = .vsurveyID
    ENDIF
  ENDIF

Bernie


At 11:00 AM 6/12/2003 -0700, you wrote:
>Is there a way to have more then 1 line of text in a dialog box
>
>Caption    | Close order
>Line 1      | All items have been shipped.
>Line 2      | Would you like to "Close" Order ?
>Buttons    | Yes                      No
>
>
>DIALOG 'All items have be shipped with no Backorders. Would you like to
"Close" 
>Order' vYesNo vEndKey Yes CAPTION 'Close Order' 
>
>Victor Timmons 
>Tiz's Door Sales, Inc
>425-258-2391
>
>

Reply via email to