Search found 1653 matches

by Gregory Martin
September 26th, 2022, 8:06 am
Forum: Other
Topic: getDeviceID returns different values on the same device
Replies: 2
Views: 23

Re: getDeviceID returns different values on the same device

If you only expect one person to log in on any given device, you could use the getusername function: https://www.csprousers.org/help/CSPro/getusername_function.html However, that isn't purely unique because the person could be logged in on multiple machines. The uuid function will return a unique va...
by Gregory Martin
September 19th, 2022, 12:37 pm
Forum: Synchronization
Topic: Synchronizing to different servers from same tablet
Replies: 2
Views: 192

Re: Synchronizing to different servers from same tablet

The syncing of applications was designed with the assumption that the server stays the same for subsequent synchronizations. The development team will discuss whether the Clear Credentials action will clear the server information for CSPro 8.0. In the meantime, if you really need to use multiple ser...
by Gregory Martin
September 19th, 2022, 12:18 pm
Forum: Entry
Topic: Language with Value Set Name
Replies: 8
Views: 224

Re: Language with Value Set Name

You'll want to add those languages to your dictionary as well: https://www.csprousers.org/help/CSPro/m ... aries.html

Then you can set language-specific labels for items / values / etc.
by Gregory Martin
September 16th, 2022, 8:23 am
Forum: Entry
Topic: Modification of data for partial save cases
Replies: 2
Views: 160

Re: Modification of data for partial save cases

If you have a menu program, you can control what cases people are allowed to modify. When you're populating the list of eligible cases, you can check if the case is partial before adding it to your list of cases to display: if ispartial (MY_DICT) then // ... Alternately, you can do this in your data...
by Gregory Martin
September 14th, 2022, 9:37 am
Forum: Other
Topic: CSPro Crashes When Generating New Forms
Replies: 2
Views: 70

Re: CSPro Crashes When Generating New Forms

This is indeed a bug. I've fixed it, but the fix will only come out in CSPro 8.0. In the meantime, you can fix the problem by deleting your value set for STRUCTURE_USE, which consists of only blank text. Alternatively, instead of deleting it, if you are intending to use that question for a multiple ...
by Gregory Martin
September 14th, 2022, 9:23 am
Forum: Other
Topic: Using close function twice loses the filename
Replies: 2
Views: 119

Re: Using close function twice loses the filename

The explanation for this is that the last filename is retained, but a dictionary is never fully closed, so there is always a current filename, which sometimes happens to be blank. What happens is: 1) First close. The old filename (a real one) is retained and the dictionary is set to data source type...
by Gregory Martin
September 14th, 2022, 9:18 am
Forum: Entry
Topic: Make alphanumeric questions compulsory
Replies: 8
Views: 290

Re: Make alphanumeric questions compulsory

You can write a function and then call it in every location where you want to made this check. For example: function EnsureNotBlank( string value, numeric min_length = 1 ) if length ( strip (value)) < min_length then errmsg ( "You must enter text of length %d+ for field %s" , min_length, g...
by Gregory Martin
September 14th, 2022, 8:33 am
Forum: Entry
Topic: Upper Case
Replies: 1
Views: 82

Re: Upper Case

You can control how text is entered with the Upper Case flag: https://www.csprousers.org/help/CSPro/c ... rties.html

However, that won't change existing data. If you want to be 100% sure the text is capitalized, you can add logic:
PROC XXX

    XXX = toupper(XXX);
by Gregory Martin
September 6th, 2022, 9:18 am
Forum: Android
Topic: QR Reader barcode.read
Replies: 2
Views: 300

Re: QR Reader barcode.read

The problem, when I looked at your barcode before, was that it was encoded in ISO-8859-1 text, whereas most barcodes are encoded using UTF-8. CSEntry uses barcode reading code provided by Google as part of the Android system, and as you can see here, people have been complaining about its lack of su...
by Gregory Martin
September 1st, 2022, 7:41 am
Forum: Android
Topic: Running in Windows
Replies: 1
Views: 202

Re: Running in Windows

CSEntry's Deploy Application option is only implemented on Android, so there is no direct way to get the application off the server on Windows.

We've discussed implementing Deploy Application on Windows, but figured it was not a feature many would use, so it's been on the back burner for a while.