Search found 1794 matches
- June 4th, 2018, 8:09 pm
- Forum: Synchronization
- Topic: Synchronizing paradata files
- Replies: 4
- Views: 3719
Re: Synchronizing paradata files
If you only care about the amount of time spent on a form, how about only enabling the message event and then adding code like this: PROC FORM1 onfocus logtext ( "Entering %p" ); killfocus logtext ( "Exiting %p" ); If you run this SQL query, you'll see the names of the forms as w...
- May 26th, 2018, 9:24 am
- Forum: Tools
- Topic: Export to Excel (Comma delimeted) creates new columns with commas in a text field
- Replies: 4
- Views: 4660
Re: Export to Excel (Comma delimeted) creates new columns with commas in a text field
Because the \n is in the data file, it will end up in the exported data unless you remove that cell from the value before exporting. You could remove it in a batch application.
- May 24th, 2018, 5:13 pm
- Forum: Entry
- Topic: Random selection from Roster
- Replies: 6
- Views: 5354
Re: Random selection from Roster
How about using the random function?
seed(systime());
numeric occurrence_to_select = random(1, count(NAME));
errmsg("I selected %s", NAME(occurrence_to_select));
numeric occurrence_to_select = random(1, count(NAME));
errmsg("I selected %s", NAME(occurrence_to_select));
- May 24th, 2018, 9:40 am
- Forum: Editing
- Topic: Roster loses data when editing
- Replies: 4
- Views: 6418
Re: Roster loses data when editing
I would try using CSPro 7.1.2, which was released this week. We fixed some bugs related to data loss with partial saves. Perhaps that is what impacted your application?
- May 24th, 2018, 9:39 am
- Forum: Tools
- Topic: Export to Excel (Comma delimeted) creates new columns with commas in a text field
- Replies: 4
- Views: 4660
Re: Export to Excel (Comma delimeted) creates new columns with commas in a text field
CSPro cannot export to a .csv format that "escapes" commas, so your best option is to export to "tab delimited" or "semicolon delimited" formats. Excel can read these, and then you won't have problems with your commas. If you have semicolons in your file, then you could...
- May 24th, 2018, 9:38 am
- Forum: Editing
- Topic: forcase statement
- Replies: 2
- Views: 3349
Re: forcase statement
By default it should be giving you the cases in ascending sorted order. If it is not, that is a bug, and I would like to see your application.
If you want the cases in reverse sorted order, you can do this:
http://www.csprousers.org/help/CSPro/se ... ement.html
If you want the cases in reverse sorted order, you can do this:
http://www.csprousers.org/help/CSPro/se ... ement.html
- May 24th, 2018, 9:34 am
- Forum: Entry
- Topic: How to check if GPS is on, on Android phone before running GPS Function
- Replies: 3
- Views: 2885
Re: How to check if GPS is on, on Android phone before running GPS Function
Won't this work?
if gps(open) = 0 then
errmsg("Please turn on the GPS");
reenter;
endif;
errmsg("Please turn on the GPS");
reenter;
endif;
- May 23rd, 2018, 7:10 am
- Forum: Entry
- Topic: Scrip Editor
- Replies: 9
- Views: 5836
Re: Scrip Editor
I'm not sure. This works on all of my machines. Perhaps you can try this:
https://stackoverflow.com/questions/125 ... 6#18283356
https://stackoverflow.com/questions/125 ... 6#18283356
Uncomment the opening and closing "NotepadPlus" tags.
- May 22nd, 2018, 6:54 am
- Forum: Entry
- Topic: Scrip Editor
- Replies: 9
- Views: 5836
Re: Scrip Editor
You either have to:
1) Have a file open with the extension .apc or .pff.
2) Select the Language menu and select one of the CSPro options that should appear at the bottom.
1) Have a file open with the extension .apc or .pff.
2) Select the Language menu and select one of the CSPro options that should appear at the bottom.
- May 21st, 2018, 6:42 pm
- Forum: Entry
- Topic: Search and Edit Cases
- Replies: 2
- Views: 2582
Re: Search and Edit Cases
The only thing that you can do with the main dictionary is get a list of IDs (function keylist) or check if a case exists (function locate). You can't access the data. Some people use menu programs to control access to the data entry program, and from that program you could access all of the details...