Page 1 of 1

Accepting Blank Edit note while in entry mode

Posted: April 18th, 2013, 7:21 am
by Bharadwaj
Dear Gregory

As you know we are working with CAPI. While doing interviews we have used Edit notes to enter the verbatim. But sometimes without entering anything it is getting closed either pressing on ESC key or clicking on OK. How can we prevent this? Our client says wherever we have given this Edit note shouldn't be closed with blank.

Please help me sort this problem. Thanks.

Regards

Bharadwaj

Re: Accepting Blank Edit note while in entry mode

Posted: April 18th, 2013, 10:18 am
by Gregory Martin
If you want to prevent blank note fields, you will have to use logic, like this:
    str = editnote(); // initially enter the note
    
    
// ensure that the note is not blank
    while str = "" do
        str =
editnote();
    
enddo;

Re: Accepting Blank Edit note while in entry mode

Posted: April 20th, 2013, 10:09 am
by Bharadwaj
Thanks Gregory.