Search found 1804 matches
- April 16th, 2024, 10:15 am
- Forum: Android
- Topic: get value from android os data
- Replies: 2
- Views: 1499
Re: get value from android os data
If you are using paradata, you can query the paradata log. That Build.MANUFACTURER value is logged in the device_info table, device_manufacturer column. You can query the paradata log using the paradata function, or the Sqlite.exec action: https://www.csprousers.org/help/CSPro/CS_Sqlite_exec.html ht...
- April 16th, 2024, 10:10 am
- Forum: Feature Requests
- Topic: Batch application on Android
- Replies: 1
- Views: 990
Re: Batch application on Android
We will support this at some point, as it would be very valuable, but as we are a very small programming team, it keeps getting pushed down the road. Some people have simulated a batch application by running an entry application that has the dictionary attached as an external dictionary, and then us...
- April 16th, 2024, 9:52 am
- Forum: Entry
- Topic: cursor location in Data Entry
- Replies: 1
- Views: 830
Re: cursor location in Data Entry
Take a look at the settings for data entry PFFs: https://www.csprousers.org/help/CSPro/run_production_data_entry.html 1) What you could do is define a custom parameter and then, if it is defined, use it to skip to a specific field. For example: PROC YOUR_LEVEL preproc if sysparm ( "StartingFiel...
- April 15th, 2024, 10:32 am
- Forum: Entry
- Topic: HTMLdialog hide buttons
- Replies: 6
- Views: 1198
Re: HTMLdialog hide buttons
What is your resolution setting? https://www.windowscentral.com/how-set-custom-display-scaling-setting-windows-10 If 125%, try at 100% and see if it you still have a problem. Regardless, these HTML dialogs were designed with screen resolution in mind, so we'll have to take a look and see if we can i...
- April 15th, 2024, 10:30 am
- Forum: Entry
- Topic: How to identify the usage of the arrow keys
- Replies: 6
- Views: 1313
Re: How to identify the usage of the arrow keys
Regarding the OnKey function, which does indeed work only on Windows, you can use the OnKey Character Map to determine the keystrokes for left, right, etc.:
https://www.csprousers.org/help/CSPro/o ... r_map.html
https://www.csprousers.org/help/CSPro/o ... r_map.html
- April 15th, 2024, 10:29 am
- Forum: Tools
- Topic: Export To Stata: 2+ Multiple-Occurence Records
- Replies: 1
- Views: 1499
Re: Export To Stata: 2+ Multiple-Occurence Records
Exporting data from cases where multiple records contain multiple occurrences is always tricky. Your best options are: 1) Change the Output... to "All in One Record." 2) Keep "As Separate Records" but run multiple exports, one for each repeating record, and then combine the data ...
- April 11th, 2024, 9:20 am
- Forum: Android
- Topic: Stranging behaviour of multi language CAPI application: Showing previous case value set and CAPI Text
- Replies: 4
- Views: 902
Re: Stranging behaviour of multi language CAPI application: Showing previous case value set and CAPI Text
I'm not sure if this is fully the issue, but when I was testing your code, there were some issues after changing from English to Hindi and then trying to change back to English. The reason is that you are using two codes for English. In the dictionary, English is defined with the name "EN."...
- April 11th, 2024, 9:15 am
- Forum: Entry
- Topic: How to identify the usage of the arrow keys
- Replies: 6
- Views: 1313
Re: How to identify the usage of the arrow keys
On Windows, you can also keep track of all keys:
numeric lastKeystroke;
function OnKey(keystroke)
lastKeystroke = keystroke;
exit keystroke;
end;
Then you can look at lastKeystroke to determine if the last pressed key was an Enter, left arrow, tab, right arrow, etc.function OnKey(keystroke)
lastKeystroke = keystroke;
exit keystroke;
end;
- April 8th, 2024, 10:46 am
- Forum: Entry
- Topic: How to generate plus code(postman) from latitude and longitude (GPS)
- Replies: 2
- Views: 799
Re: How to generate plus code(postman) from latitude and longitude (GPS)
There is no built-in functionality within CSPro to do this, but you could likely create your own algorithm to do this by looking at Google's source code for calculating these. For example: https://github.com/google/open-location-code/tree/main/js Perhaps we'll include support for Plus Codes in a fut...
- March 21st, 2024, 9:13 am
- Forum: Entry
- Topic: Urgent Assistance Needed: Script Overflow Issue Causing Program Shutdown!
- Replies: 5
- Views: 7159
Re: Urgent Assistance Needed: Script Overflow Issue Causing Program Shutdown!
Typically you do this with a lookup file. You create a lookup file, typically in Excel, that maps the IDSTUDENT value to the depto, muni, etc. variables. This makes it easier to maintain your mappings, will speed up your program immensely, and will avoid the problem of the script overflow. Take a lo...