Search found 2399 matches
- August 4th, 2016, 6:50 am
- Forum: Entry
- Topic: using getocclabel() in a roster
- Replies: 3
- Views: 4178
Re: using getocclabel() in a roster
Instead of using getocclabel() in your logic, try putting it directly in the CAPI text. For example: How many %getocclabel% do you own? CSPro will automatically call getocclabel for you and put it in the question text. This way you can avoid coding the itemname = getocclabel(SECTION_A). This should ...
- August 3rd, 2016, 7:13 am
- Forum: Entry
- Topic: Keep repeating variables in memory for current entry session
- Replies: 1
- Views: 2117
Re: Keep repeating variables in memory for current entry session
If by the current session you mean the time between opening the CSPro application and closing it then you can do this using global variables. Declare the variables in the PROC GLOBAL. Use numeric variables for numeric items and string variables for alphanumeric items. You can then copy the values fr...
- August 2nd, 2016, 6:39 am
- Forum: Entry
- Topic: No room for character object descriptor
- Replies: 1
- Views: 2777
Re: No room for character object descriptor
That error occurs when your program is trying to allocate more string or alpha objects in logic than can fit in memory. You should see if you can modify your program to use less string/alpha variables.
- August 1st, 2016, 7:43 am
- Forum: Entry
- Topic: create a separate file
- Replies: 17
- Views: 13591
Re: create a separate file
The line "enter MDR_Ext_FF;" sends you to the external form. Do you need the external form here? If all you want to do is write the variables from the first form to the external file you can remove the "enter MDR_Ext_FF;" and proceed directly with the writecase. Then you can remo...
- August 1st, 2016, 7:36 am
- Forum: Entry
- Topic: multiple select checkbox
- Replies: 6
- Views: 8652
Re: multiple select checkbox
You could simplify the code a little by using the pos function: numeric i; do i = 1 while i < length ( strip (CHECKBOX)) if pos (CHECKBOX[i: 1 ], CHECKBOX[i+ 1 ]) then errmsg ( "You cannot select option %s twice. Please review your selections." ,CHECKBOX[i: 1 ]); reenter ; endif ; enddo ; ...
- August 1st, 2016, 7:16 am
- Forum: Android
- Topic: Android sync error
- Replies: 2
- Views: 4685
Re: Android sync error
This error can happen for one of two reasons: 1) CSPro can't find the file on your device. You can check this using a file manager on the tablet and browsing to the directory /storage/emulated/0/csentry/SARA/Data to make sure that the files you are trying to sync are on the tablet. 2) Dropbox is not...
- July 28th, 2016, 7:02 am
- Forum: Editing
- Topic: Creating a simple lookout - For non programmers
- Replies: 1
- Views: 4159
Re: Creating a simple lookout - For non programmers
Lookup files and cascading menus are pretty advanced and definitely require some programming skills. Here are some lecture notes that cover lookup files and cascading questions that may help http://teleyah.com/cspro/DCJune2015/05- ... -entry.pdf
- July 27th, 2016, 5:10 pm
- Forum: Feature Requests
- Topic: Web data entry
- Replies: 2
- Views: 4025
Re: Web data entry
This is not something we plan to do in the near future. Maybe in a few years.
- July 27th, 2016, 7:16 am
- Forum: Editing
- Topic: Getting rid of previously entered data
- Replies: 1
- Views: 3744
Re: Getting rid of previously entered data
It looks like you have combined data that came from different versions of your dictionary. In other words some of the data in your file from earlier versions of your app does not match the current data format as defined by your dictionary so it shows up incorrectly as * and with other problems. In C...
Re: Logic
Search the forum for "ranking". You will find the following: http://www.csprousers.org/forum/viewtop ... 969&p=2555
You can also see an example at http://teleyah.com/cspro/DCJune2015/05- ... urvey5.zip
Look at the proc for MOST_IMPORTANT_CROP_RANKING
You can also see an example at http://teleyah.com/cspro/DCJune2015/05- ... urvey5.zip
Look at the proc for MOST_IMPORTANT_CROP_RANKING