Page 1 of 1
Logic to Protect Field
Posted: January 2nd, 2017, 1:15 am
by langitluna
Greeting All
How I protect of Q2 via logic?
I have fields: Q1, Q2, Q3.
During data entry after Q1, skip Q2
This is not work:
set attributes (Q2) protect;
or something
Thanks
Re: Logic to Protect Field
Posted: January 2nd, 2017, 6:08 am
by khurshid.arshad
Code: Select all
if Q1=1 then
Q2=notappl;
skip to Q3;
else
endif;
a.
Re: Logic to Protect Field
Posted: January 2nd, 2017, 7:34 am
by Saint
As far as I know, we do not 'protect' a field with logic. You can skip a field with logic. Would you ever have to enter something into Q2?
Re: Logic to Protect Field
Posted: January 2nd, 2017, 8:52 am
by langitluna
thanks Saint.
No. I don't entry anything on Q2.
Q2 would be autofield entry that what had entried on Q1. So after Q1 entry, it will jump to Q3.
Re: Logic to Protect Field
Posted: January 3rd, 2017, 5:31 am
by vipul315singhal
Hi,
Put the logic of Q2 in "Preproc" so that Q2 will get filled automatically and the cursor will move to Q3.
Regards
Vipul
Re: Logic to Protect Field
Posted: January 3rd, 2017, 6:07 am
by langitluna
Hi Vipul
Yes. Its work. Thank you very much.