Re: CompaqCobol (VMS)



docdwarf@xxxxxxxxx wrote:
> Volker N. Englisch <englisch.ahr@xxxxxx> wrote:
>>docdwarf@xxxxxxxxx wrote:
>>> Volker N. Englisch <englisch.ahr@xxxxxx> wrote:
>>>
>>>> Is there any (easy) way to place the cursor in the field where the
>>>> inappropriate value was entered?
>>>
>>> Maybe. Please post some of the code you have now that is failing to
>>> do this.
>>
> Hmmmmm... smells like homework to me.

No, it isn't. That was about 30 years ago :-)

> >When the user enters something in the
> >NAME field, but leaves the CITY field empty, the message shows the
> >mistake, but the cursor is again placed in the NAME field. I'd like
the
> >cursor to be in the (erroneous) CITY field.
>
> I'll take a guess and say the difficulty is in ACCEPTing the entire
screen
> again here:
>
> ... instead of addressing the field you need.

Thanks, I will check that out.

Volker

.



Relevant Pages

  • Re: CompaqCobol (VMS)
    ... >> inappropriate value was entered? ... NAME field, but leaves the CITY field empty, the message shows the ... but the cursor is again placed in the NAME field. ... 01 SCREEN-1 BLANK SCREEN. ...
    (comp.lang.cobol)
  • Re: CompaqCobol (VMS)
    ... >>> inappropriate value was entered? ... >Here comes an entire test code. ... but the cursor is again placed in the NAME field. ... >cursor to be in the CITY field. ...
    (comp.lang.cobol)