|
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
|