Hi Guys,
Iam still working on the Cspro Program, now trying to make some numeric fields (rooster) to accept blanks in order to avoid entering non applicable rows. I have tried the "set behaviour command" also "notappl for value set" but non has worked, kindly assist me do this guys.
Thanks,
Titus.
Allowing Blanks for Numeric Fields
-
- Posts: 572
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
Re: Allowing Blanks for Numeric Fields
Dear Titus
Please see age variable in attached file.
a.
Please see age variable in attached file.
a.
- Attachments
-
- titus.rar
- (2.98 KiB) Downloaded 385 times
Re: Allowing Blanks for Numeric Fields
Thanks Khurshid for shairing the sample, the age variables works the way i want, i have done the same to record 2.9 (item 2.9.2) as well as record 4.4 table but it does not work. Kindly see attached file and advise accordingly.
thank you.
titus.
thank you.
titus.
- Attachments
-
- Khurshid.rar
- (56.62 KiB) Downloaded 331 times
Re: Allowing Blanks for Numeric Fields
Hi Titus,
Try the following:
This way you will allow to enter notappl values on your QNS292 field. And since notappl value is blank, you will be able to leave this field blank.
For more information search set behavior() canenter function at CSPro Help.
Hope this can help you.
Regards
Try the following:
Code: Select all
PROC QNS292
Preproc
set behavior() canenter(notappl) on (noconfirm);
Postproc
set behavior() canenter(notappl) off (noconfirm);
For more information search set behavior() canenter function at CSPro Help.
Hope this can help you.
Regards
Re: Allowing Blanks for Numeric Fields
Thanks so much khurshid, the command had worked very well. Now am done with the instrument, iam to copy the files to 10 tablets for data capture in field then to be exported to one spss for analysis, I tried renaming the files ( using enumerator names) and it disconnected everything. i can't open the forms anymore. kindly advise.
Thank you in advance
Titus.
Thank you in advance
Titus.