Search found 1794 matches

by Gregory Martin
March 7th, 2018, 12:27 pm
Forum: Android
Topic: Date field
Replies: 2
Views: 3937

Re: Date field

The date field is limited in scope because we are using the default Android date control. 1) The thinking is that if you only want a year, you can just make it a text field (numeric length 4). You don't need a control for this. 3) This is simply the Android behavior. In fact, this is different on di...
by Gregory Martin
March 7th, 2018, 9:06 am
Forum: Android
Topic: Tick marks on numeric fields
Replies: 3
Views: 3497

Re: Tick marks on numeric fields

Probably not, as you're the only person to ever request this. :D One thing that you can do is make the field a combo box, which will then allow the user to click on a box and see the possible ranges (as defined by the value set). That's definitely not the same, but it allows you to give the intervie...
by Gregory Martin
March 7th, 2018, 9:03 am
Forum: Other
Topic: Changing to CSPro v7
Replies: 22
Views: 17560

Re: Changing to CSPro v7

The CSPro DB format is mostly useful if you want to use CSPro's data synchronization features. Some future development (e.g., storing images in a data file) may only occur in the CSPro DB format, so if you want to use the most up-to-date features, you will want to use CSPro DB. If you want to use Dr...
by Gregory Martin
March 6th, 2018, 1:37 pm
Forum: Entry
Topic: Dynamic values from "forcase function"
Replies: 6
Views: 4611

Re: Dynamic values from "forcase function"

It is likely a problem with how you are you specifying the file in the PFF. We have run many menu applications that use .csdb files.

Compare the PFF that is generated when you run the program with the one that is created by your menu program to see what the differences are.
by Gregory Martin
March 6th, 2018, 10:17 am
Forum: Android
Topic: Tick marks on numeric fields
Replies: 3
Views: 3497

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: 4611

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: 11210

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: 17560

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: 3021

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: 3668

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...