Condition in CAPI Does not Work in CSPro 7.7 for me

Discussions about CSEntry
Post Reply
munirmdee1
Posts: 83
Joined: August 17th, 2015, 9:32 am
Location: Dar es Salaam, Tanzania

Condition in CAPI Does not Work in CSPro 7.7 for me

Post by munirmdee1 »

Hi CSPro Users,

I'm developing an application here using CSPro 7.7, I' facing a small problem.
Its about putting a condition in CAPI Questions, I have a question which is "How long have you been living in this area?", now I would like it to change to "How long has she/he been living in this area?" only if a variable current_user <>curocc().

So if current_user = curocc() the question should be "How long have you been living in this area?"
And if current_user <> curocc() the question should be "How long has she/he been living in this area?"

But those condition don't work, I tried to troubleshoot but I couldn't get a solution, I need help there, but when I was using CSPro 7.6 those condition worked fine. Soon I moved to CSPro 7.7 they don't work.

Is there something new with version 7.7 or something is wrong with my syntax?

Thanks in advance.
[color=#800000][size=85][i][b]Munir Mdee
Software Developer (Data Processing)
National Bureau of Statistic (NBS)
Jakaya Kikwete Road,
P.O.Box 2683,
Dodoma,TANZANIA
Mob: +255 755 740090
Email: munir.mdee@nbs.go.tz
munirmdee@gmail.com[/b][/i][/size][/color]
sherrell
Posts: 407
Joined: April 2nd, 2014, 9:16 pm
Location: Washington, DC

Re: Condition in CAPI Does not Work in CSPro 7.7 for me

Post by sherrell »

Hi Munir,

Are you using the January 12th release of 7.7? If so, this was a bug (see this post: viewtopic.php?f=1&t=4777)

We have since corrected it with the Feb 7th release of 7.7.1, which you can download here: https://www.csprousers.org/downloads/

If you still encounter this problem in 7.7.1, then please send us your app so we can test it out.

thnx, Sherrell
Post Reply