Search found 1790 matches

by Gregory Martin
March 6th, 2024, 1:23 pm
Forum: Other
Topic: EXTRACTION
Replies: 3
Views: 436

Re: EXTRACTION

Unless your .zip file is encrypted, you can do this without WinRAR by using the built-in function decompress: https://www.csprousers.org/help/CSPro/d ... ction.html
by Gregory Martin
March 4th, 2024, 9:31 am
Forum: Entry
Topic: Data is deleted (date) and text
Replies: 1
Views: 232

Re: Data is deleted (date) and text

If you are seeing ***** values in your data, it is generally how the special value DEFAULT is represented, and indicates that there is a numeric issue with the problem. This is usually because: A value is too large to represent in the field. For example, a two-digit item cannot store 123. You are st...
by Gregory Martin
February 27th, 2024, 5:09 pm
Forum: Android
Topic: Save data with pff
Replies: 6
Views: 231

Re: Save data with pff

You can turn off that prompt here: https://www.csprousers.org/help/CSPro/c ... tions.html

Uncheck "Confirm end-of-case." I usually do that on most projects, and if I want a confirmation, I add it as the last field on my form.
by Gregory Martin
February 26th, 2024, 5:31 pm
Forum: Android
Topic: stuck CSEntry app with intent
Replies: 1
Views: 124

Re: stuck CSEntry app with intent

It's true that only one instance of EntryActivity can be open at a time. When you say that they are closing the application by using Android keys, are you saying that they are going back to the Android home screen and then reentering your application? If they use the back button from within CSEntry,...
by Gregory Martin
February 26th, 2024, 10:15 am
Forum: Android
Topic: Passing Values to Roster via pff
Replies: 1
Views: 101

Re: Passing Values to Roster via pff

The current CSPro logic functions don't make it easy to split a string by a delimiter, but you can use a user-defined function to convert a list (or array) into a single string, and then convert it back. These functions use a unlikely-to-be-used delimiter, but you could change that character if ╳ do...
by Gregory Martin
February 26th, 2024, 9:16 am
Forum: Android
Topic: Save data with pff
Replies: 6
Views: 231

Re: Save data with pff

Are you generating the PFF from another CSPro application? If so, and you don't need any input from the user, you can simply construct the case in logic, with the data file's dictionary attached as an external dictionary, and then save the data using writecase: https://www.csprousers.org/help/CSPro/...
by Gregory Martin
February 26th, 2024, 9:03 am
Forum: Entry
Topic: Application startup error in CSEntry 8.0 android app
Replies: 10
Views: 985

Re: Application startup error in CSEntry 8.0 android app

Single quotes must be escaped. You can use the replace function: https://www.csprousers.org/help/CSPro/r ... ction.html
dict_text = replace(dict_text, "'", "''");
Let us know if this doesn't work.
by Gregory Martin
February 26th, 2024, 8:55 am
Forum: Other
Topic: CSPro 8 compile error when tr function has parentheses
Replies: 3
Views: 220

Re: CSPro 8 compile error when tr function has parentheses

This is embarrassing (since I'm the one who programmed this). You're right that this is a bug which occurs if you include a right parenthesis in the translated string literal. We'll fix it for CSPro 8.0.1. In the meantime, a workaround would be to use a different style of parenthesis,()instead of ()...
by Gregory Martin
February 26th, 2024, 8:35 am
Forum: Android
Topic: Urdu Font
Replies: 4
Views: 207

Re: Urdu Font

CSPro fully supports Unicode, so can you use the Unicode Urdu characters, rather than a specific Urdu font (that presumably wraps the ANSI character range)?

https://character-table.netlify.app/urdu/
by Gregory Martin
February 26th, 2024, 8:31 am
Forum: Feature Requests
Topic: More universal programming language
Replies: 2
Views: 263

Re: More universal programming language

This is actually sort of on the way. If you open CSCode in 8.0, you can see that you can run JavaScript, executed via QuickJS. Our plan (for 8.1) is to allow JavaScript to be included as part of an application. One of the goals of the newly introduced Action Invoker is to create a cross-language scr...