You could use a roster and min to query whether an activity has been performed. Occurrence labels are used to make the CAPI text dynamic. This application will show the last question if the activity was ever performed, otherwise the question is skipped.
Search found 566 matches
- March 13th, 2023, 11:38 am
- Forum: Entry
- Topic: Logic to lookout in a number of previous response variable if No answer is choosen
- Replies: 3
- Views: 2826
- March 13th, 2023, 9:30 am
- Forum: Entry
- Topic: Calculate Area using gps
- Replies: 3
- Views: 2842
Re: Calculate Area using gps
To see an example take a look at the examples that gets installed with CSPro. There is one called geometry under data entry that I think you will find helpful.
- February 23rd, 2023, 6:13 pm
- Forum: Android
- Topic: Use Enter Key
- Replies: 3
- Views: 3635
Re: Use Enter Key
Under Options > Data Entry do you have "Automatically advance on selection" ticked?
- February 23rd, 2023, 4:43 pm
- Forum: Other
- Topic: OLD DICTIONARY TO NEW DICTIONARY
- Replies: 4
- Views: 4248
Re: OLD DICTIONARY TO NEW DICTIONARY
One option would be to open the CSDBs and save them as DAT files. Then you can open the old dictionary and update the dictionary names. Then rerun the reformat tool pointing to the corresponding dictionaries and DAT files. Then convert back to a CSDB.
- February 14th, 2023, 1:28 pm
- Forum: Other
- Topic: Sync Cspro data to cloud server
- Replies: 9
- Views: 31696
Re: Sync Cspro data to cloud server
The only difference I see is where the server is located. In my case, my server is on a shared host. The CSWeb setup is the same. Any differences would be specific to that shared host, OS, network, etc.
- February 13th, 2023, 4:10 pm
- Forum: Feature Requests
- Topic: HTML report
- Replies: 2
- Views: 9010
Re: HTML report
I made a few modifications to the existing report in the CAPI Census example. Here's a snippet of the report code. <!-- Report content --> <table class="table table-striped table-bordered"> <thead> <tr> <th>Name</th> <th>Relationship</th> <th>Sex</th> </tr> <? do numeric ctr = 1 while ctr ...
- February 2nd, 2023, 8:27 am
- Forum: Synchronization
- Topic: Synchronisation
- Replies: 1
- Views: 3294
Re: Synchronisation
The issue here is case id management. You need to make sure that the devices are making unique keys. If you create an interview with id "1" on device #1 and then create an interview with id "1" on device #2 you will have to have a duplicate on the server when you sync. My suggest...
- February 2nd, 2023, 8:17 am
- Forum: Synchronization
- Topic: Synchronisation with bluetooth
- Replies: 8
- Views: 2363
Re: Synchronisation with bluetooth
Can you attach the sync.log from each device and also let me know what version of CSEntry are running on each?
- January 9th, 2023, 10:21 am
- Forum: Android
- Topic: Backup and Restore (OTG )
- Replies: 3
- Views: 3235
Re: Backup and Restore (OTG )
Given what I wrote before you could make a change to the function CreateUniqueZipPath, so it returns just the file name. This will make constructing the destination path for the zip straightforward. function string CreateUniqueZipName() CreateUniqueZipName = maketext ( "DataBackup-%d.zip" ...
- January 5th, 2023, 5:21 pm
- Forum: Android
- Topic: Backup and Restore (OTG )
- Replies: 3
- Views: 3235
Re: Backup and Restore (OTG )
If you were synchronizing to a server, I would rather leverage synchronization to backup and restore data. However, I have written logic to backup and delete data files locally in the past. To restore the data you'd need more of less reverse the process. // ------------------ // ------------------ B...