Search found 1743 matches

by josh
December 10th, 2018, 9:37 am
Forum: Entry
Topic: CSpro crashed-unable to open .ent application now
Replies: 4
Views: 233

Re: CSpro crashed-unable to open .ent application now

I don't see anything wrong with the application you sent. If you get it into a bad state again please send us the bad version.
by josh
December 10th, 2018, 8:14 am
Forum: Entry
Topic: CSpro crashed-unable to open .ent application now
Replies: 4
Views: 233

Re: CSpro crashed-unable to open .ent application now

Please send the app to cspro@lists.census.gov
by josh
December 9th, 2018, 10:31 pm
Forum: Android
Topic: Run Firefox with execsystem on Android Application ?
Replies: 2
Views: 197

Re: Run Firefox with execsystem on Android Application ?

On Android, execsystem works differently than on Windows desktop. You can use execsystem with the "html:" option. For a web page on a remote server use "html:" followed by the url, for example execsystem ( "html:http://csprousers.org" ) . For a local html file y...
by josh
December 6th, 2018, 7:50 am
Forum: Android
Topic: it.sauronsoftware.ftp4j.FTPException
Replies: 1
Views: 158

Re: it.sauronsoftware.ftp4j.FTPException

You can ignore the it.sauronsoftware.ftp4j.FTPException part of the message. That is the library we use for FTP. The important part of the message is The system cannot find the file specified . This means that the filename and/or directory path you provided to the syncfile function is incorrect or t...
by josh
December 6th, 2018, 7:47 am
Forum: Android
Topic: Checkbox list
Replies: 2
Views: 241

Re: Checkbox list

From the CSPro help page on checkboxes: The length of the field must be a multiple of the maximum length of a response. For example, if each response code is one character and you have five responses, then a field of length five would allow for the selection of all responses. A field of length two w...
by josh
November 28th, 2018, 9:10 am
Forum: Entry
Topic: count the number of digits entered in a field
Replies: 3
Views: 308

Re: count the number of digits entered in a field

Alternatively you can just test if the number is less than the smallest 9 digit number:

if PHONE_NUMBER < 100000000 then


This won't work if a phone number can start with zero but neither will the solution using log. If the number can start with zero you need to use alpha.
by josh
November 28th, 2018, 8:31 am
Forum: Entry
Topic: count the number of digits entered in a field
Replies: 3
Views: 308

Re: count the number of digits entered in a field

If the phone number is entered as an alphanumeric variable you can use the length function to see how long it is.
by josh
November 28th, 2018, 7:37 am
Forum: Other
Topic: Multi select Options at their actual positions
Replies: 8
Views: 470

Re: Multi select Options at their actual positions

My apologies, it seems that passing an array to a function in this way does not work correctly in CSPro version 7.1. I have been using a beta version of 7.2 in which it does. The logic I posted for using a function will work in version 7.2 but not in version 7.1. For version 7.1 you will have to hav...
by josh
November 28th, 2018, 7:24 am
Forum: Android
Topic: sum of variables
Replies: 2
Views: 228

Re: sum of variables

sum is for calculating the sum of a column in a roster. For what you are you just need to use the "+" operator:

PROC A
preproc
A = B + C;
errmsg(" the total is : %d", A );
by josh
November 27th, 2018, 9:46 am
Forum: Tools
Topic: Exporting using multiple languages
Replies: 3
Views: 2527

Re: Exporting using multiple languages

If instead of doing the export from the export data tool, you do the export from a batch application you can control the language used by calling setlanguage() in the batch app. You can use the export data tool to get the logic to use for the batch application. Here are the steps: 1) Setup all the e...

Go to advanced search