Search found 1790 matches

by Gregory Martin
March 6th, 2018, 10:17 am
Forum: Android
Topic: Tick marks on numeric fields
Replies: 3
Views: 3486

Re: Tick marks on numeric fields

No, there is not. The tickmarks were traditionally used to coordinate during a key-from-paper operation, so we never thought about adding them to the touch-friendly environment. Unfortunately, that does lead to a result where interviewers do not know the size of the field / how many decimal digits a...
by Gregory Martin
March 6th, 2018, 9:57 am
Forum: Entry
Topic: Dynamic values from "forcase function"
Replies: 6
Views: 4591

Re: Dynamic values from "forcase function"

One option would be to have a flag in your BRANCH_DICT that indicates whether or not that value was selected previously. If that were the case, then your loop would look like this: forcase BRANCH_DICT where TAX_ID = XTAX_ID and SELECTED = 0 do Then, after the selection of the BRANCH_ID, you would do...
by Gregory Martin
March 6th, 2018, 9:53 am
Forum: Entry
Topic: Auto serial number generation
Replies: 13
Views: 11122

Re: Auto serial number generation

You can loop through your roster to identify eligible women, or you can also use the seek function. This code, for example, will identify the eligible women: numeric indexEligible = seek (SEX = 2 and AGE in 12 : 49 and LIVE_IN_HH = 1 ); while indexEligible > 0 do errmsg ( "Person #%d is eligibl...
by Gregory Martin
March 6th, 2018, 9:49 am
Forum: Other
Topic: Changing to CSPro v7
Replies: 22
Views: 17373

Re: Changing to CSPro v7

CSPro is backwards compatible, for the most part, so your programs will not have to change when you move to CSPro 7.0. CSPro 7.0 should run your programs in the same way that CSPro 6.3 did. However, if you want to sync your data with Dropbox, then you will have to: 1) Use the CSPro DB data file form...
by Gregory Martin
March 6th, 2018, 9:42 am
Forum: Feature Requests
Topic: getlabel by position
Replies: 1
Views: 2970

Re: getlabel by position

There has been discussion about adding enhanced value set operations in a future release. For now, you can skip over unused values by checking if getlabel returns blank. This code would allow you to only process the values in your value set: do ctr = minvalue (FIELD_NAME) while ctr <= maxvalue (FIEL...
by Gregory Martin
March 6th, 2018, 9:40 am
Forum: Feature Requests
Topic: Numbered messages in CAPI questions text
Replies: 3
Views: 3631

Re: Numbered messages in CAPI questions text

In CSPro 7.1, you can use a function in the CAPI text in the same way that you use variables. So your text could be something like this: %GetCapiText% With a function: function string GetCapiText() GetCapiText = "Dynamic CAPI text!" ; end ; I'm not 100% sure, but I think that getsymbol() w...
by Gregory Martin
March 5th, 2018, 2:34 pm
Forum: Android
Topic: No SD Card – No Error
Replies: 3
Views: 3520

Re: No SD Card – No Error

I don't have a device with a SD card so I can't test this, but the dircreate function should return 1 if a directory exists, so this might work:
if dircreate(pathname(CSEntryExternal)) = 0 then
    errmsg("A SD card is not present.");
endif;
by Gregory Martin
March 5th, 2018, 11:16 am
Forum: Entry
Topic: Moving a field to a form
Replies: 1
Views: 2000

Re: Moving a field to a form

Thanks for reporting this. We've fixed it for the CSPro 7.1 release.
by Gregory Martin
March 5th, 2018, 9:57 am
Forum: Entry
Topic: Multiple questions in data entry on desktop
Replies: 9
Views: 7103

Re: Multiple questions in data entry on desktop

This is an example of how to set the property in logic: PROC FIELD_NAME preproc setproperty (FIELD_NAME, "CanEnterOutOfRange" , "NoConfirm" ); postproc if not FIELD_NAME in 1 , notappl then errmsg ( "Must be 1 or blank" ); reenter ; endif ; You can also assign blank as ...
by Gregory Martin
March 2nd, 2018, 3:15 pm
Forum: Other
Topic: Notification when a post is answered
Replies: 4
Views: 5181

Re: Notification when a post is answered

1) Click on your username (under the search bar).

2) Select "User Control Panel."

3) Click "Board preferences."

4) Select "Edit notification options."

You'll see options there.