Search found 1803 matches
- May 21st, 2024, 7:40 am
- Forum: Android
- Topic: convert csdbe to csdb
- Replies: 2
- Views: 41
Re: convert csdbe to csdb
You can also look at an example of removing encryption using JavaScript: https://www.csprousers.org/help/CSPro/C ... rekey.html
- May 17th, 2024, 7:57 am
- Forum: Android
- Topic: csv using filewrite
- Replies: 3
- Views: 104
Re: csv using filewrite
The extra character is likely the UTF-8 BOM. Files created using the File object add those three characters at the beginning of the file. You can get around this by using the CSV Data Source: https://www.csprousers.org/help/CSPro/data_source_csv.html The property encoding=UTF-8 will not write the BO...
- May 13th, 2024, 8:30 am
- Forum: Android
- Topic: Language settings on accept
- Replies: 4
- Views: 127
Re: Language settings on accept
The accept function expects strings, not numbers, so you need to convert those numbers to strings. You can do this with either the maketext or tr functions. For example:
numeric manual_choice = accept(tr(100), tr(101), tr(102));
- May 13th, 2024, 8:28 am
- Forum: Android
- Topic: Cspro 7.7.3 file access problem
- Replies: 4
- Views: 87
Re: Cspro 7.7.3 file access problem
Take a look here: https://www.csprousers.org/help/CSPro/a ... tions.html
There is an example of copying files outside of the csentry directory.
There is an example of copying files outside of the csentry directory.
- May 1st, 2024, 3:27 pm
- Forum: Editing
- Topic: Function to return the count of categories
- Replies: 3
- Views: 2581
Re: Function to return the count of categories
You can use the working storage dictionary to create an item, e.g., Categories. Then, in post-calc logic, you can set the value of that cell to relationshipHashMap.length(). Here is some reading that may help you do this: https://www.csprousers.org/help/CSPro/table_logic_tablogic.html https://www.cs...
- May 1st, 2024, 3:07 pm
- Forum: Tools
- Topic: relative paths in production runner
- Replies: 5
- Views: 3621
Re: relative paths in production runner
I haven't used the Production Runner in many years, but when I created it, it was supposed to work with relative or absolute paths. When it looks for a file, the algorithm: 1) Checks if the file exists as an absolute path. If so, it uses it. 2) If not, it calculates a relative path based on the file...
- May 1st, 2024, 2:41 pm
- Forum: Tabulation
- Topic: Save tables in excel format
- Replies: 2
- Views: 640
Re: Save tables in excel format
This may not help you much, but you can export the first table in a .tbw file to .html from the command line: "C:\Program Files (x86)\CSPro 8.0\TblView.exe" input.tbw /EXPT /HTML output.html On my machine, I can open this file using: "C:\Program Files\Microsoft Office\root\Office16\EX...
- May 1st, 2024, 2:21 pm
- Forum: Editing
- Topic: set records to blank
- Replies: 1
- Views: 201
Re: set records to blank
Have you tried to use the "group" name instead of the record name? That is, delete SECTION_101_EDT instead of SECTION_101. Although the error message says that you should be able to delete a record, the record modification functions (insert/delete/sort/etc.) should generally be used on the...
- May 1st, 2024, 1:59 pm
- Forum: Entry
- Topic: CSDB to SQL Database
- Replies: 4
- Views: 1744
Re: CSDB to SQL Database
The CSPro DB file is a SQLite file, so you can open that file in a program such as DB Browser for SQLite and then export the database. (In that tool, you select File -> Export -> Database to SQL file.) Then you should be able to import that SQL file in MariaDB.
- April 24th, 2024, 8:14 am
- Forum: Editing
- Topic: Function to return the count of categories
- Replies: 3
- Views: 2581
Re: Function to return the count of categories
One option is to use a HashMap to keep track of your values, and then count the number of keys in the HashMap, which will tell you how many unique values were added. For example: HashMap relationshipHashMap; PROC PROGRAM_FF errmsg ( "There were %d relationship codes" , relationshipHashMap....