Search found 1794 matches
- February 26th, 2018, 2:36 pm
- Forum: Android
- Topic: Two related questions in the same screen
- Replies: 3
- Views: 3889
Re: Two related questions in the same screen
This is a high priority for us, and it will likely come out in CSPro 7.2.
- February 26th, 2018, 2:34 pm
- Forum: Feature Requests
- Topic: PFF full options when running an application
- Replies: 1
- Views: 2842
Re: PFF full options when running an application
It's not exactly what you want, but from the CSPro Designer, you can select Tools -> PFF Editor, and that will open the editor with the PFF already opened. You can use Ctrl+R in the PFF Editor to run the program from that application. A favorite shortcut for me is Ctrl+Shift+R in the CSPro Designer,...
- February 26th, 2018, 2:23 pm
- Forum: Editing
- Topic: loop though
- Replies: 6
- Views: 6882
Re: loop though
This isn't the cleanest code, but you can use getvalue/setvalue. For example: do numeric ctr = 1 while ctr <= 4 setvalue ( maketext ( "X%d" ,ctr), getvalue ( maketext ( "V%d" ,ctr) + getvalue ( maketext ( "W%d" ,ctr)); setvalue ( maketext ( "Y%d" ,ctr), getval...
- February 26th, 2018, 2:13 pm
- Forum: Android
- Topic: DISPLAYING IMAGE ON TABLET
- Replies: 2
- Views: 3684
Re: DISPLAYING IMAGE ON TABLET
Unfortunately, the current version of CSEntry for mobile devices does not show the images in CAPI text (unlike the Windows desktop version).
The only way that you can show an image is by adding it to a value set or by using the execsystem/view command.
The only way that you can show an image is by adding it to a value set or by using the execsystem/view command.
- January 26th, 2018, 3:24 pm
- Forum: Entry
- Topic: A menu to choose the household to be interviewed
- Replies: 6
- Views: 6462
Re: A menu to choose the household to be interviewed
I'm confused. If you immediately get the value and clear it, then you will only get a value when the questionnaire returns control to the menu program.
Because it's cleared immediately, when starting the menu from the application listing screen (like at the beginning of the day), it will not be set.
Because it's cleared immediately, when starting the menu from the application listing screen (like at the beginning of the day), it will not be set.
- January 26th, 2018, 8:18 am
- Forum: Entry
- Topic: A menu to choose the household to be interviewed
- Replies: 6
- Views: 6462
Re: A menu to choose the household to be interviewed
Can't you do something like this?
string result = loadsetting("RESULT");
savesetting("RESULT","");
if result <> "" then
// do something with this result
endif;
savesetting("RESULT","");
if result <> "" then
// do something with this result
endif;
- January 26th, 2018, 8:17 am
- Forum: Entry
- Topic: How to Random Order Set of Questions
- Replies: 2
- Views: 3696
Re: How to Random Order Set of Questions
What you are doing won't work because you need to keep track of what has already been entered. For example, your logic in Q1 needs to know whether or not Q2...Q5 have been entered already. A few years ago I posted an example of randomizing the order of CSPro questions which you can find on the forum...
- January 24th, 2018, 10:44 am
- Forum: Other
- Topic: GPS in windows
- Replies: 1
- Views: 3009
Re: GPS in windows
There is no direct way. However, you could use execsystem to open IE/Chrome/Firefox though and pass in the URL that you want to load. This, for example, is the White House: https://www.google.com/maps/place/38.897651,-77.036512 You can use maketext to construct that string, with .../place/latitude,l...
- January 23rd, 2018, 10:44 am
- Forum: Synchronization
- Topic: FTP - SYNCDATA or SYNCFILE
- Replies: 5
- Views: 4837
Re: FTP - SYNCDATA or SYNCFILE
Syncdata does work with FTP servers. It won't send up a CSPro DB file, but will instead send a variety of files (like Dropbox) that can be reconstructed to a CSPro DB file. You can use Data Viewer to create a CSPro DB file from the cases uploaded to the FTP server.
- January 20th, 2018, 10:31 am
- Forum: Android
- Topic: Seeking command like save()
- Replies: 3
- Views: 4058
Re: Seeking command like save()
The userbar does work on Android. The options are visible when you click the button to the left of the notes button. Doing this is basically what a save function would do, though the case will still be marked as partially saved: savepartial ( clear ); You could also have the save simply do this: end...