Search found 2035 matches
To make sure it works when you go back you should put your logic in the onfocus rather than in the preproc. Also make sure that the your valueset variable is local (declared inside the proc) or if it is declared globally then remove the old values by calling valueset.clear() by before adding in the ...
- February 24th, 2020, 5:36 pm
- Forum: Synchronization
- Topic: Finding User Synch History
- Replies: 1
- Views: 33
The cspro_sync_history has syncs by device. Each row represents a sync session for a device. A session represents a single call to syncdata() so one session can sync multiple cases in the same dictionary (or none). The device field is a unique id for each device. You can use getdeviceid() in CSPro l...
- February 23rd, 2020, 10:24 pm
- Forum: News
- Topic: Variable(s) length do not agree with dictionary ID length
- Replies: 2
- Views: 69
That error means that the length of the variable you are passing to loadcase does not match the length of the id-items for the dictionary you are trying to load the case from. In your case the variable INTERVIEWER_MENU is a different length from the id-items of HOUSEHOLD_DICT. Loadcase works by taki...
- February 23rd, 2020, 10:20 pm
- Forum: Entry
- Topic: Remove a Value based on a Previous Selection in a roster.
- Replies: 4
- Views: 129
In Arjuns example FAVORITE_COLOR is a previous selection. In your case, since there are multiple previous selections you will need to loop to remove all the previous selections. Loop from 1 to the current row of the roster (use currocc() function to get the current row) and remove the value chosen a...
In system controlled mode any field that is skipped is assigned notappl. A skipped field has been skipped so by definition it should be blank. If you try to do otherwise in data entry you will run into a lot of issues. Just go with it. If you really need them to be other values record them in batch ...
- February 17th, 2020, 11:38 am
- Forum: Synchronization
- Topic: Publish and Deploy
- Replies: 6
- Views: 170
Si vous verifiez le dossier CSPro/apps dans Dropbox avec l'interface web (https://www.dropbox.com/home/CSPro/apps) est-ce que vous y vouez le fichier .zip et le fichier .csds de votre application? If faudra aussi regardez le ficher sync.log dans le repertoire CSEntry de la tablette pour voir s'il n'...
Probablement le compte Dropbox que vous utilisez sur votre tablette est different du compte utilisez sur votre post Windows. Comme CSPro sauvegarde le compte Dropbox après la premiere synchronization, on oublie des fois le compte q'on utilise. Vous pouvez supprimez le compte sauvegarder pour changer...
- February 12th, 2020, 11:35 am
- Forum: Android
- Topic: using maps without listing form
- Replies: 3
- Views: 127
If you look in the examples directory there is a second mapping example called Listing Menu with Map. It uses the map object in logic (https://www.csprousers.org/help/CSPro/maps.html) to display map similar to the one in the case listing.