Search found 565 matches

by aaronw
October 21st, 2020, 6:16 pm
Forum: Synchronization
Topic: sync audio file
Replies: 2
Views: 1731

Re: sync audio file

An audio file is like any other file and you'll use syncfile to synchronize it. The one caveat is they may be large. To associate the audio file with the case, construct the file name from the id items. string audio_file = maketext ( "%v-background-audio.m4a" , HOUSEHOLD_ID); background.sa...
by aaronw
October 20th, 2020, 2:39 pm
Forum: Entry
Topic: Issues changing valueset name with Dictionary macro
Replies: 3
Views: 1810

Re: Issues changing valueset name with Dictionary macro

For the first issue try refreshing the UI after pasting in the value set. For instance, select another dictionary item and then the previous one. For the second issue, I recommend selecting "All Languages." You'll copy all the value sets, but you'll only modify the primary value set. I'll ...
by aaronw
October 20th, 2020, 9:39 am
Forum: Entry
Topic: Agricultural parcel delineation with Map Object
Replies: 4
Views: 2109

Re: Agricultural parcel delineation with Map Object

You're are not going to be able to wrap the JS in CSPro logic. Your best bet is to create basemaps that include the boundaries.
by aaronw
October 19th, 2020, 11:22 am
Forum: News
Topic: CSPro 7.5 released
Replies: 0
Views: 31591

CSPro 7.5 released

New versions of CSPro, CSEntry, and CSWeb have been released!
by aaronw
October 19th, 2020, 11:18 am
Forum: Feature Requests
Topic: Using logic engine in Notepad++
Replies: 1
Views: 2028

Re: Using logic engine in Notepad++

The compiler output does display external logic file names and line number of errors which is handy.
shared.PNG
shared.PNG (1.72 KiB) Viewed 1944 times
by aaronw
October 19th, 2020, 10:59 am
Forum: Entry
Topic: Add occurrence label in a blank roster
Replies: 1
Views: 1250

Re: Add occurrence label in a blank roster

I'm not certain what is causing the refresh without looking at your logic. However, try setting the occurrences labels in a single shot in the roster or forms. PROC ANIMAL_ROSTER preproc list string animals = "Chameleon" , "Fosa" , "Lemur" ; do numeric i = 1 while i <= ...
by aaronw
September 10th, 2020, 6:57 pm
Forum: Entry
Topic: too many occurrences of record or group in a dictionary
Replies: 14
Views: 5651

Re: too many occurrences of record or group in a dictionary

I took a look at showat() and showcp(). Both functions include loops that appear to me to be the same. If that's the case, and both calculations are independent, try doing both calculations in a single loop. Not sure this will have a noticeable impact, but you could move count (ACH_DICT.ACH) outside...
by aaronw
September 9th, 2020, 6:33 pm
Forum: Entry
Topic: too many occurrences of record or group in a dictionary
Replies: 14
Views: 5651

Re: too many occurrences of record or group in a dictionary

I'll take a look, but let me know a specific field this affects and the dictionary you're looping through.
by aaronw
September 8th, 2020, 11:21 am
Forum: Entry
Topic: too many occurrences of record or group in a dictionary
Replies: 14
Views: 5651

Re: too many occurrences of record or group in a dictionary

The issue looks to be you're doing writecase inside your loop. I moved the last assignment and the writecase out of the loop. Now when I modify the data and run the batch application I don't get the warning. Check your data though. Also, since you're only writing to ACHCASE_DICT I don't see a reason...
by aaronw
September 4th, 2020, 10:41 am
Forum: Editing
Topic: GM calculation
Replies: 8
Views: 5464

Re: GM calculation

How many decimal places are you including?