Search found 1799 matches
- March 6th, 2018, 9:57 am
- Forum: Entry
- Topic: Dynamic values from "forcase function"
- Replies: 6
- Views: 4645
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...
- March 6th, 2018, 9:53 am
- Forum: Entry
- Topic: Auto serial number generation
- Replies: 13
- Views: 11414
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...
- March 6th, 2018, 9:49 am
- Forum: Other
- Topic: Changing to CSPro v7
- Replies: 22
- Views: 18550
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...
- March 6th, 2018, 9:42 am
- Forum: Feature Requests
- Topic: getlabel by position
- Replies: 1
- Views: 3155
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...
- March 6th, 2018, 9:40 am
- Forum: Feature Requests
- Topic: Numbered messages in CAPI questions text
- Replies: 3
- Views: 3770
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...
- March 5th, 2018, 2:34 pm
- Forum: Android
- Topic: No SD Card – No Error
- Replies: 3
- Views: 3653
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;
errmsg("A SD card is not present.");
endif;
- March 5th, 2018, 11:16 am
- Forum: Entry
- Topic: Moving a field to a form
- Replies: 1
- Views: 2026
Re: Moving a field to a form
Thanks for reporting this. We've fixed it for the CSPro 7.1 release.
- March 5th, 2018, 9:57 am
- Forum: Entry
- Topic: Multiple questions in data entry on desktop
- Replies: 9
- Views: 7725
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 ...
- March 2nd, 2018, 3:15 pm
- Forum: Other
- Topic: Notification when a post is answered
- Replies: 4
- Views: 5694
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.
2) Select "User Control Panel."
3) Click "Board preferences."
4) Select "Edit notification options."
You'll see options there.
- March 2nd, 2018, 3:13 pm
- Forum: Feature Requests
- Topic: Numbered messages in CAPI questions text
- Replies: 3
- Views: 3770
Re: Numbered messages in CAPI questions text
Those features just haven't been implemented as no one has requested them to date. Most users don't use the message file unless they are doing batch edits, in which case you don't usually use accept and there is no CAPI text. However, with multiple language message files, more people may use these n...