Logic to Protect Field

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
Post Reply
langitluna
Posts: 32
Joined: December 4th, 2016, 10:57 pm

Logic to Protect Field

Post 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
khurshid.arshad
Posts: 571
Joined: July 9th, 2012, 11:32 am
Location: Islamabad, Pakistan

Re: Logic to Protect Field

Post by khurshid.arshad »

Code: Select all

	if Q1=1 then
		Q2=notappl;
		skip to Q3;
	else
	endif;

a.
Saint
Posts: 63
Joined: November 22nd, 2013, 4:59 am

Re: Logic to Protect Field

Post 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?
langitluna
Posts: 32
Joined: December 4th, 2016, 10:57 pm

Re: Logic to Protect Field

Post 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.
vipul315singhal
Posts: 25
Joined: March 28th, 2013, 9:17 am

Re: Logic to Protect Field

Post 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
langitluna
Posts: 32
Joined: December 4th, 2016, 10:57 pm

Re: Logic to Protect Field

Post by langitluna »

Hi Vipul

Yes. Its work. Thank you very much.
Post Reply