Dear Enkhbayar
When you skip data in System control you will see that Q2 is in gray color. It means that when you finish your data entry of the current ID, it removes all the data of gray color. You don't need to write "Notappl" in System control.
a.
Search found 572 matches
- January 3rd, 2017, 8:56 am
- Forum: Entry
- Topic: junk data in skipped vars
- Replies: 5
- Views: 3819
- January 3rd, 2017, 7:45 am
- Forum: Entry
- Topic: Syntax If on Occurrences Variable
- Replies: 26
- Views: 19073
Re: Syntax If on Occurrences Variable
Dear langitluna
a.
Code: Select all
Numeric Q1Ans, CountQ1;
Q1Ans=Q1;
CountQ1 =count(Q1 where Q1= Q1Ans);
if CountQ1>1 then
errmsg ("This value has been entered");
reenter;
else
endif;
- January 3rd, 2017, 7:35 am
- Forum: Entry
- Topic: junk data in skipped vars
- Replies: 5
- Views: 3819
Re: junk data in skipped vars
Dear Enkhbayar
Use system control and for detail information see "Operator vs. System Controlled" in CSPro help.
a.
Use system control and for detail information see "Operator vs. System Controlled" in CSPro help.
a.
- January 2nd, 2017, 6:08 am
- Forum: Entry
- Topic: Logic to Protect Field
- Replies: 5
- Views: 5058
Re: Logic to Protect Field
Code: Select all
if Q1=1 then
Q2=notappl;
skip to Q3;
else
endif;
- December 20th, 2016, 6:45 am
- Forum: Entry
- Topic: Syntax If on Occurrences Variable
- Replies: 26
- Views: 19073
Re: Syntax If on Occurrences Variable
Dear langitluna
After a small change in josh syntax.
I hope it works for you.
a.
After a small change in josh syntax.
Code: Select all
PROC FQ1
numeric i, linenumber;
if FQ1 = 0 then skip to Q2;endif;
linenumber=FQ1;
do i = 1 while i <= 100
if FQ1(i) = linenumber then
Q1(linenumber) = 1;
else
endif;
enddo;
I hope it works for you.
a.
- December 20th, 2016, 2:51 am
- Forum: Entry
- Topic: Syntax If on Occurrences Variable
- Replies: 26
- Views: 19073
Re: Syntax If on Occurrences Variable
It means that if you are going to enter 4 on 8th occurrence in (FQ1000 rooster) then 4th occurrence answer automatically convert from 0 to 1 in (Q1000 rooster).
You have already mentioned that your entry is not in sequence.
a.
You have already mentioned that your entry is not in sequence.
a.
- December 19th, 2016, 11:35 pm
- Forum: Entry
- Topic: Syntax If on Occurrences Variable
- Replies: 26
- Views: 19073
Re: Syntax If on Occurrences Variable
Dear langitluna
Can you explain that why occurrence 4 =0 and occurrence 5=1.
thanks.
a.
Can you explain that why occurrence 4 =0 and occurrence 5=1.
thanks.
a.
- December 19th, 2016, 8:56 am
- Forum: Entry
- Topic: Excel to CSPro - Dictionary Macro
- Replies: 5
- Views: 4814
Re: Excel to CSPro - Dictionary Macro
Dear langitluna; Dictionary Macros is for editing in Dictionary names and labels and Value sets instead additions. The shortest way which i know is: 1. Add only Records in cspro then 2. Go to Dictionary Macros 3. Add number of items in each record under "items to Records" option (for guida...
- December 9th, 2016, 5:34 am
- Forum: Entry
- Topic: Radio buttons preference and Message prompts
- Replies: 2
- Views: 3601
Re: Radio buttons preference and Message prompts
Dear Boikgwadi
In my one project i am using this syntax for radio option.
a.
In my one project i am using this syntax for radio option.
Code: Select all
PROC GLOBAL
function settype()
setcapturetype(ABC,1);
setcapturetype(DEF,1);
end;
PROC ABC
Preproc
settype();
PROC DEF
Preporc
settype();
a.
- December 8th, 2016, 4:18 am
- Forum: Android
- Topic: How to fulfill URI
- Replies: 3
- Views: 3838
Re: How to fulfill URI e.g. ftp://server/path
Dear Komin;
Through ftp you will get 20 different files on your server, but if you are using Version 7 then you can get one file on your web server. You can download "CSPro 7" and instructions from the link: http://www.csprousers.org/.
a.
Through ftp you will get 20 different files on your server, but if you are using Version 7 then you can get one file on your web server. You can download "CSPro 7" and instructions from the link: http://www.csprousers.org/.
a.