Search found 2399 matches

by josh
March 17th, 2021, 8:44 pm
Forum: Entry
Topic: Use SetProperty instead of Set Attributes Statement on CSPRO 7
Replies: 1
Views: 573

Re: Use SetProperty instead of Set Attributes Statement on CSPRO 7

To make a field protected use:

Code: Select all

setproperty(FIELDNAME, "Protected","Yes");
To make it NOT protected use:

Code: Select all

setpropertyFIELDNAME, ("Protected","No") 
Full list of options is in the help for SetProperty https://www.csprousers.org/help/CSPro/s ... ction.html
by josh
March 17th, 2021, 9:02 am
Forum: Entry
Topic: Cannot include multiple variables in selcase function
Replies: 7
Views: 1143

Re: Cannot include multiple variables in selcase function

I would implement this using forcase with a where clause to find the appropriate cases in the data file and then display the result using errmsg or a dynamic value set.
by josh
March 17th, 2021, 8:08 am
Forum: Entry
Topic: Cannot include multiple variables in selcase function
Replies: 7
Views: 1143

Re: Cannot include multiple variables in selcase function

What exactly do you want to do? Maybe there is a different function that would help.
by josh
March 17th, 2021, 8:00 am
Forum: Synchronization
Topic: Bluetooth data synchronization CSPro 7.5
Replies: 10
Views: 1799

Re: Bluetooth data synchronization CSPro 7.5

Thank you for the very excellent test application. I was able to easily reproduce the problem. This is a bug that occurs because the server application opens the data file as read-only. We will fix it in the next release. In the meantime there is a workaround. If you add a writecase statement somewh...
by josh
March 17th, 2021, 7:22 am
Forum: Entry
Topic: Cannot include multiple variables in selcase function
Replies: 7
Views: 1143

Re: Cannot include multiple variables in selcase function

You can include multiple variables with the include clause:

Code: Select all

selcase(OCCUPATION_DICT, "Plantation") include(OCCUPATION_CODE,OCCUPATION_SUMMARY_LEVEL);
by josh
March 16th, 2021, 3:33 pm
Forum: Synchronization
Topic: Bluetooth data synchronization CSPro 7.5
Replies: 10
Views: 1799

Re: Bluetooth data synchronization CSPro 7.5

Can you post your application or send it to us at cspro@lists.census.gov? Also please send steps to reproduce the problem and let us know whether you are using Android for client and server or if it is Windows and Android.
by josh
March 16th, 2021, 3:24 pm
Forum: Android
Topic: Avoid/skip GPS on Laptop/computer
Replies: 2
Views: 505

Re: Avoid/skip GPS on Laptop/computer

You can use the getos() function to check if you are on Windows or Android and skip the GPS capture if you are on Windows: https://www.csprousers.org/help/CSPro/g ... ction.html
by josh
March 14th, 2021, 7:00 pm
Forum: Entry
Topic: Error (100101) Error connecting to server: Error 500
Replies: 14
Views: 1961

Re: Error (100101) Error connecting to server: Error 500

We made some changes since CSPro 7.1 to speed up the upload/download of cases that allows DataViewer to send larger numbers of cases in a single request. It is possible that this is overloading the server in your case. Previously DataViewer would send only 100 cases at a time, now it continues to do...
by josh
March 14th, 2021, 7:59 am
Forum: Entry
Topic: Error (100101) Error connecting to server: Error 500
Replies: 14
Views: 1961

Re: Error (100101) Error connecting to server: Error 500

It may just be the very large number of cases. I don't think we have ever tested upload with that much data. Will try to create a large test file to see if we can reproduce next week. I would recommend sticking to the older CSWeb for this survey and start with the newer one when a start a new survey...
by josh
March 12th, 2021, 4:43 pm
Forum: Entry
Topic: Error (100101) Error connecting to server: Error 500
Replies: 14
Views: 1961

Re: Error (100101) Error connecting to server: Error 500

I see a lot of errors about max_execution_time. Try increasing the limit in php.ini https://www.php.net/manual/en/info.conf ... ution-time