Re: 4GL Help with the PROMPT Command
Posted in 1994
Rajesh Malhotra (manmetha@gauss.rutgers.edu) wrote: : Fellow Informix'ers, :I have a question about the PROMPT statement with 4GL. The code : fragment lookis like this : DEFINE ans CHAR(32) : PROMPT "Enter Password : " FOR ans ATTRIBUTE(INVISIBLE) :Now when this code runs, I get prompted for a password, when I enter it, : the cursor moves without showing the password on the screen, but when I hit : return(the accept key), it just beeps and does not get out of the Prompt : statement. What am I doing worng here? Is this a bug I have come accross? : I am running 4GL v4.1 : Any and all help on this matter appreciated. The above problem is due to the assignment of RETURN key as ACCEPT key in the OPTIONS statement. If it is not the requirement, remove assignment of RETURN key as ACCEPT key. (by default ESC will be taken as ACCEPT KEY) Hope, this will solve your problem. Regards. - Rajhans. -------------------------------------------------------------------- Rajhans G Tawde Internet: raj@shack.csci.csc.com CSC Intelicom Voice : (303) 643 1476 116 Inverness Drive East Fax : (303) 792 0319 Englewood, CO 80112 Standard Disclaimers Apply. --------------------------------------------------------------------