Entering 0 in the field by just pressing Enter key

Discussions about CSEntry
Post Reply
ompiepy
Posts: 2
Joined: September 4th, 2020, 4:02 pm

Entering 0 in the field by just pressing Enter key

Post 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.
jiofack
Posts: 14
Joined: May 17th, 2020, 9:45 pm

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

Post by jiofack »

Hi,
You can prefill the field to 0 (Preproc $ = 0;) so later you will modify or just validate the 0.
ompiepy
Posts: 2
Joined: September 4th, 2020, 4:02 pm

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

Post by ompiepy »

Thanks, you made my day.

It works.

Let's find other alternatives as well.
etuser
Posts: 85
Joined: September 3rd, 2019, 5:57 am

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

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