Page 1 of 1

Entering 0 in the field by just pressing Enter key

Posted: September 4th, 2020, 4:12 pm
by ompiepy
I have to fill a total of 300 fields. I should manually enter the 0 from the keyboard and press enter to advance to the next field.

Is there any way, to advance to another field, just by entering the key ENTER from the keyboard, and the field gets automatically entered zero?

Please let me know. Thank you.

Re: Entering 0 in the field by just pressing Enter key

Posted: September 7th, 2020, 4:42 am
by jiofack
Hi,
You can prefill the field to 0 (Preproc $ = 0;) so later you will modify or just validate the 0.

Re: Entering 0 in the field by just pressing Enter key

Posted: September 7th, 2020, 8:27 am
by ompiepy
Thanks, you made my day.

It works.

Let's find other alternatives as well.

Re: Entering 0 in the field by just pressing Enter key

Posted: September 7th, 2020, 1:18 pm
by etuser
in the preproc of the quest , define like

Proc Dict_Name_Quest
preproc
setproperty(DIct_Name "CanEnterNotAppl","Yes");


In the proc of each question , write

Proc Q01
if $ in notappl then $=0 ; Endif;

This might help