[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Interactive inputs



Mark
Yes I use the show command - I find it useful...
 
However, it does not provide an interactive user interface:
    i.e. A dialog box which can display message and provide user with optional choice to proceed.
 
Andrew
 
----- Original Message -----
From: Risman, Mark <mrisman@PAINEWEBBER.COM>
To: <SQR-USERS@list.iex.net>
Sent: Monday, August 21, 2000 8:56 PM
Subject: Re: Interactive inputs

> Andrew,
>
> Have you tried the SHOW command instead of DISPLAY.  Personally, I'm not quite sure what the reason is for having both commands available in the SQR language (it appears to me that SHOW can do everything that DISPLAY can, and then some); maybe someone else out there knows the answer to this question.
>
> Hope this helps,
> - Mark
>
>  -----Original Message-----
> From: Andrew Rivers [mailto:andrew.rivers@CWCOM.NET]
> Sent: Wednesday, August 16, 2000 5:30 PM
> To: SQR-USERS@list.iex.net
> Subject: Interactive inputs
>
>
>
> Hi
> I need to check interactively a value in a field within the database.
>     e.g.
>     User has companyID and companyName:
>         !get companyID input from user:
>         input $companyID
>
>     For the companyID that the user has input, check that the companyName in the database is the same as the companyName that the user has for the same companyID:
>         do getCompanyNameForCompanyID
>         display/print 'companyName'        !companyName in the database for the companyID that the user has input
>
>         Now verify the companyName and companyID are those that user has.
>         So force user to input the same companyName as that returned from the database for the companyID which was inputted by the user:
>         do verifyThatCompanyNameAneCompanyIDMatch    !both for those that user has and that are in the database.
>
> Print only prints after all processing has been completed.
> Display does not give a display (Currently using SQR v4).
>
> Any advice on how to manage interactive inputs/outputs would be appreciated...
>
> Many thanks.
>
>
> Andrew