Income and expenditure odk

hi, kindly help on how to go about this. i have income data which are all integers. so i have programmed odk to sum all at the end. After there is also expenditure which odk automatically sums up (calculate....note scenario).

Now my problem is that i want odk to be able to restrain the user so that any figure (value) generated must not exceed income.

eg.

total income = 1000
total expenditure = 2000

in this case expenditure should not exceed expenditure.

Kindly help on how to go about it

Hi there,

On the screen that shows the final number, add a constraint that
${total_expenditure} <= ${total_income}. Then add a constraint_message
for them to go back and check the numbers.

Yaw

··· On Fri, Nov 11, 2016 at 12:43 PM, wrote: > hi, kindly help on how to go about this. i have income data which are all integers. so i have programmed odk to sum all at the end. After there is also expenditure which odk automatically sums up (calculate....note scenario). > > Now my problem is that i want odk to be able to restrain the user so that any figure (value) generated must not exceed income. > > eg. > > total income = 1000 > total expenditure = 2000 > > in this case expenditure should not exceed expenditure. > > > Kindly help on how to go about it > > -- > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en > > --- > You received this message because you are subscribed to the Google Groups "ODK Community" group. > To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/d/optout.

I'm displaying it with a note type variable in the end. So I should add
this constraint in the note type row ?

··· On Friday, 25 November 2016 11:44:12 UTC+5:30, Yaw Anokwa wrote: > > Hi there, > > On the screen that shows the final number, add a constraint that > ${total_expenditure} <= ${total_income}. Then add a constraint_message > for them to go back and check the numbers. > > Yaw > > On Fri, Nov 11, 2016 at 12:43 PM, <adamson...@gmail.com > wrote: > > hi, kindly help on how to go about this. i have income data which are > all integers. so i have programmed odk to sum all at the end. After there > is also expenditure which odk automatically sums up (calculate....note > scenario). > > > > Now my problem is that i want odk to be able to restrain the user so > that any figure (value) generated must not exceed income. > > > > eg. > > > > total income = 1000 > > total expenditure = 2000 > > > > in this case expenditure should not exceed expenditure. > > > > > > Kindly help on how to go about it > > > > -- > > -- > > Post: opend...@googlegroups.com > > Unsubscribe: opendatakit...@googlegroups.com > > Options: http://groups.google.com/group/opendatakit?hl=en > > > > --- > > You received this message because you are subscribed to the Google > Groups "ODK Community" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to opendatakit...@googlegroups.com . > > For more options, visit https://groups.google.com/d/optout. >

If I am not mistaken that should work. I will double check this when I
return to my PC.

I'm displaying it with a note type variable in the end. So I should add
this constraint in the note type row ?

Hi there,

On the screen that shows the final number, add a constraint that
${total_expenditure} <= ${total_income}. Then add a constraint_message
for them to go back and check the numbers.

Yaw

hi, kindly help on how to go about this. i have income data which are all
integers. so i have programmed odk to sum all at the end. After there is
also expenditure which odk automatically sums up (calculate....note
scenario).

Now my problem is that i want odk to be able to restrain the user so that
any figure (value) generated must not exceed income.

eg.

total income = 1000
total expenditure = 2000

in this case expenditure should not exceed expenditure.

Kindly help on how to go about it

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com

Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.

To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit...@googlegroups.com.

··· On Fri, Nov 25, 2016, 10:33 AM Varun Kumar wrote: On Friday, 25 November 2016 11:44:12 UTC+5:30, Yaw Anokwa wrote: On Fri, Nov 11, 2016 at 12:43 PM, wrote:

For more options, visit https://groups.google.com/d/optout.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

"Like a camera I use the negative to develop..uDig"
"Success is the ability to go from one failure to another with no loss of
enthusiasm"
---------------------------------------------------------------------------------------------------------->
OutSourceRox
Roxroy K. Bollers
GIS & IT Service Provider
tel. 592.685.2737
.........................................................
Follow Us On
Facebook
Google+
Twitter: @drbollers

Varun,

It should work. Try it and report back.

Yaw

··· On Fri, Nov 25, 2016 at 5:07 PM, Roxroy Bollers wrote: > If I am not mistaken that should work. I will double check this when I > return to my PC. > > On Fri, Nov 25, 2016, 10:33 AM Varun Kumar wrote: >> >> I'm displaying it with a note type variable in the end. So I should add >> this constraint in the note type row ? >> >> >> >> On Friday, 25 November 2016 11:44:12 UTC+5:30, Yaw Anokwa wrote: >>> >>> Hi there, >>> >>> On the screen that shows the final number, add a constraint that >>> ${total_expenditure} <= ${total_income}. Then add a constraint_message >>> for them to go back and check the numbers. >>> >>> Yaw >>> >>> On Fri, Nov 11, 2016 at 12:43 PM, wrote: >>> > hi, kindly help on how to go about this. i have income data which are >>> > all integers. so i have programmed odk to sum all at the end. After there is >>> > also expenditure which odk automatically sums up (calculate....note >>> > scenario). >>> > >>> > Now my problem is that i want odk to be able to restrain the user so >>> > that any figure (value) generated must not exceed income. >>> > >>> > eg. >>> > >>> > total income = 1000 >>> > total expenditure = 2000 >>> > >>> > in this case expenditure should not exceed expenditure. >>> > >>> > >>> > Kindly help on how to go about it >>> > >>> > -- >>> > -- >>> >>> > Post: opend...@googlegroups.com >>> > Unsubscribe: opendatakit...@googlegroups.com >>> >>> > Options: http://groups.google.com/group/opendatakit?hl=en >>> > >>> > --- >>> > You received this message because you are subscribed to the Google >>> > Groups "ODK Community" group. >>> >>> > To unsubscribe from this group and stop receiving emails from it, send >>> > an email to opendatakit...@googlegroups.com. >>> >>> > For more options, visit https://groups.google.com/d/optout. >> >> -- >> -- >> Post: opendatakit@googlegroups.com >> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> Options: http://groups.google.com/group/opendatakit?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "ODK Community" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to opendatakit+unsubscribe@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. > > -- > --- > "Like a camera I use the negative to develop..uDig" > "Success is the ability to go from one failure to another with no loss of > enthusiasm" > ----------------------------------------------------------------------------------------------------------> > OutSourceRox > Roxroy K. Bollers > GIS & IT Service Provider > tel. 592.685.2737 > ......................................................... > Follow Us On > Facebook > Google+ > Twitter: @drbollers > ------------------------------------------- > > -- > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "ODK Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to opendatakit+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/d/optout.

I don't think this works.

PFA the attached code and screenshots.

Thanks,
Varun

testing_women.xls (53.5 KB)

··· On Saturday, 26 November 2016 12:04:31 UTC+5:30, Yaw Anokwa wrote: > > Varun, > > It should work. Try it and report back. > > Yaw > > On Fri, Nov 25, 2016 at 5:07 PM, Roxroy Bollers <rkbo...@gmail.com > wrote: > > If I am not mistaken that should work. I will double check this when I > > return to my PC. > > > > On Fri, Nov 25, 2016, 10:33 AM Varun Kumar <varunk...@gmail.com > wrote: > >> > >> I'm displaying it with a note type variable in the end. So I should add > >> this constraint in the note type row ? > >> > >> > >> > >> On Friday, 25 November 2016 11:44:12 UTC+5:30, Yaw Anokwa wrote: > >>> > >>> Hi there, > >>> > >>> On the screen that shows the final number, add a constraint that > >>> ${total_expenditure} <= ${total_income}. Then add a constraint_message > >>> for them to go back and check the numbers. > >>> > >>> Yaw > >>> > >>> On Fri, Nov 11, 2016 at 12:43 PM, wrote: > >>> > hi, kindly help on how to go about this. i have income data which > are > >>> > all integers. so i have programmed odk to sum all at the end. After > there is > >>> > also expenditure which odk automatically sums up (calculate....note > >>> > scenario). > >>> > > >>> > Now my problem is that i want odk to be able to restrain the user so > >>> > that any figure (value) generated must not exceed income. > >>> > > >>> > eg. > >>> > > >>> > total income = 1000 > >>> > total expenditure = 2000 > >>> > > >>> > in this case expenditure should not exceed expenditure. > >>> > > >>> > > >>> > Kindly help on how to go about it > >>> > > >>> > -- > >>> > -- > >>> > >>> > Post: opend...@googlegroups.com > >>> > Unsubscribe: opendatakit...@googlegroups.com > >>> > >>> > Options: http://groups.google.com/group/opendatakit?hl=en > >>> > > >>> > --- > >>> > You received this message because you are subscribed to the Google > >>> > Groups "ODK Community" group. > >>> > >>> > To unsubscribe from this group and stop receiving emails from it, > send > >>> > an email to opendatakit...@googlegroups.com. > >>> > >>> > For more options, visit https://groups.google.com/d/optout. > >> > >> -- > >> -- > >> Post: opend...@googlegroups.com > >> Unsubscribe: opendatakit...@googlegroups.com > >> Options: http://groups.google.com/group/opendatakit?hl=en > >> > >> --- > >> You received this message because you are subscribed to the Google > Groups > >> "ODK Community" group. > >> To unsubscribe from this group and stop receiving emails from it, send > an > >> email to opendatakit...@googlegroups.com . > >> For more options, visit https://groups.google.com/d/optout. > > > > -- > > --- > > "Like a camera I use the negative to develop..uDig" > > "Success is the ability to go from one failure to another with no loss > of > > enthusiasm" > > > ----------------------------------------------------------------------------------------------------------> > > > OutSourceRox > > Roxroy K. Bollers > > GIS & IT Service Provider > > tel. 592.685.2737 > > ......................................................... > > Follow Us On > > Facebook > > Google+ > > Twitter: @drbollers > > ------------------------------------------- > > > > -- > > -- > > Post: opend...@googlegroups.com > > Unsubscribe: opendatakit...@googlegroups.com > > Options: http://groups.google.com/group/opendatakit?hl=en > > > > --- > > You received this message because you are subscribed to the Google > Groups > > "ODK Community" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to opendatakit...@googlegroups.com . > > For more options, visit https://groups.google.com/d/optout. >