dear forum
iam working on a survey questionare , with household I'd (unique I'd), county and sub county. I want the household I'd to pick the codes for county and subcounty automatically once I enter these fields. kindly assist.
thanks titus.
Automatic data capture
-
- Posts: 572
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
Re: Automatic data capture
Dear Titus
string AlphaQID ;
AlphaQID =Concat (Strip(Maketext("%01d",Q_1_1)), //"%01d" variable lenght is 1
Strip(Maketext("%01d",Q_1_2)), //"%01d" variable lenght is 1
Strip(Maketext("%02d",Q_1_4)), //"%02d" variable lenght is 2 with zero fill
Strip(Maketext("%02d",Q_1_6))); //"%01d" variable lenght is 2 with zero fill
UniqueId=tonumber(AlphaQID);
a.
string AlphaQID ;
AlphaQID =Concat (Strip(Maketext("%01d",Q_1_1)), //"%01d" variable lenght is 1
Strip(Maketext("%01d",Q_1_2)), //"%01d" variable lenght is 1
Strip(Maketext("%02d",Q_1_4)), //"%02d" variable lenght is 2 with zero fill
Strip(Maketext("%02d",Q_1_6))); //"%01d" variable lenght is 2 with zero fill
UniqueId=tonumber(AlphaQID);
a.
Re: Automatic data capture
Thanks Khurshid, let me try the command and see if it will work though iam new to cspro, mean while am trying to set some rooster numeric fields to allow a blank but in vain, kindly assist me please in case you have an idea.
thanks Titus
thanks Titus
-
- Posts: 572
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
Re: Automatic data capture
Dear Titus
Please use notappl option in value set and what do you mean vain.
a.
Please use notappl option in value set and what do you mean vain.
a.
Re: Automatic data capture
thanks khurshid for the quick response," in vain" means I did not succeed, so do I go to dictionary and add value set with label notappl? kindly advise?
-
- Posts: 572
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
Re: Automatic data capture
exactly
a.
a.
Re: Automatic data capture
Thanks khurshid, have tried that but I still get the error message, " out of range, please enter a valid value" please what cud be the issue.