Search found 1791 matches
- November 28th, 2023, 2:19 pm
- Forum: Android
- Topic: installing an apk from csentry
- Replies: 1
- Views: 7313
Re: installing an apk from csentry
We haven't changed anything in CSPro related to this, so it's related to Google's continual locking down of the Android ecosystem. According to this, https://medium.com/@vishtech36/installing-apps-programmatically-in-android-10-7e39cfe22b86, Installing applications might be possible if we requested ...
- November 27th, 2023, 10:50 am
- Forum: Android
- Topic: ADDING SHAPE FILE FOR ENUMERATION ARE
- Replies: 3
- Views: 7905
Re: ADDING SHAPE FILE FOR ENUMERATION ARE
Nothing has changed since that post except for the ability to display/collect vector geometry as GeoJSON. However, that means that you can convert your shapefile to GeoJSON and then display it on a map: https://www.csprousers.org/help/CSPro/Map_addGeometry_function.html There are quite a few resourc...
- November 20th, 2023, 8:45 am
- Forum: Tools
- Topic: Read Only Database
- Replies: 1
- Views: 6398
Re: Read Only Database
That message occurs when you try to open a CSPro DB (SQLite) file in read/write mode without the permissions to do so. What is the location of the file that you are trying to associate with HPQF2_DICT? Make sure that it is located in a directory to which you have write access.
Re: Filecopy
Let's say that I have a subdirectory, Images, located in the directory where my application is. CSPro evaluates paths based on the application directory, so if you wanted to copy all files in Images to a backup directory named after the current timestamp, you might have code like this: // create a b...
- October 23rd, 2023, 11:24 am
- Forum: Entry
- Topic: Error in search (selcase)
- Replies: 4
- Views: 11006
Re: Error in search (selcase)
You are allowing the multiple selection of cases: CaseFound = selcase (TABLA_DICT, "" ) where pos ( strip (BUSCAR), INGREDIENTE) = 1 include (INGREDIENTE, ID_GRUPO, ID_AUP) multiple ; // <-------------- If you do that, you have to iterate over the selected cases to determine what to proces...
- October 18th, 2023, 7:33 am
- Forum: Entry
- Topic: Survey duration error
- Replies: 2
- Views: 7279
Re: Survey duration error
Your calculation is done PROC UPLOAD_PICTURES_ID, so it's only recording the time to fill the ID field. You want to move it into the level procedure so that it is executed prior to data entry, and then after the case is entered. PROC UPLOAD_PICTURES_LEVEL preproc surveyStartTime = timestamp (); post...
- October 16th, 2023, 12:29 pm
- Forum: Other
- Topic: Data Viewer
- Replies: 1
- Views: 2611
Re: Data Viewer
You're right that the password is displayed. I'll modify Data Viewer for CSPro 8.0 so that it does not display any attributes specified in the connection string.
- October 2nd, 2023, 7:55 am
- Forum: Entry
- Topic: Prefill roster columns from external files
- Replies: 2
- Views: 3567
Re: Prefill roster columns from external files
First, you need to attach the external dictionary to your application: File -> Add Files, select code.dcf. When you run your program, you will associate CODE_DICT with external.csdb. Then you can loop over all cases where the province matches: PROC APP_DICT.PROVINCE numeric numSchools; forcase CODE_...
- September 29th, 2023, 5:15 pm
- Forum: News
- Topic: New Version of CSPro
- Replies: 3
- Views: 3900
Re: New Version of CSPro
We've released the first CSPro 8.0 beta: https://www.csprousers.org/beta A lot of the documentation is not complete, and there are a couple incomplete features that will be finished before the actual release, but it is something that you can play with. You can read more about this version here: http...
- September 29th, 2023, 5:09 pm
- Forum: Entry
- Topic: ValueSet.Randomize Function
- Replies: 4
- Views: 2963
Re: ValueSet.Randomize Function
You're setting a custom value set for P2A, so it won't be using P2A_VS1. You should randomize r:
PROC P2A
Preproc
ValueSet r=P2A_VS1;
r.remove(P2);
seed(timestamp());
r.Randomize(Exclude(8,9));
setvalueset(P2A,r);
Preproc
ValueSet r=P2A_VS1;
r.remove(P2);
seed(timestamp());
r.Randomize(Exclude(8,9));
setvalueset(P2A,r);