Search found 982 matches

by Gregory Martin
May 24th, 2018, 5:13 pm
Forum: Entry
Topic: Random selection from Roster
Replies: 3
Views: 21

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));
by Gregory Martin
May 24th, 2018, 9:40 am
Forum: Editing
Topic: Roster loses data when editing
Replies: 4
Views: 1500

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?
by Gregory Martin
May 24th, 2018, 9:39 am
Forum: Tools
Topic: Export to Excel (Comma delimeted) creates new columns with commas in a text field
Replies: 2
Views: 14

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...
by Gregory Martin
May 24th, 2018, 9:38 am
Forum: Editing
Topic: forcase statement
Replies: 2
Views: 14

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
by Gregory Martin
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: 33

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;
by Gregory Martin
May 23rd, 2018, 7:10 am
Forum: Entry
Topic: Scrip Editor
Replies: 9
Views: 59

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

Uncomment the opening and closing "NotepadPlus" tags.
by Gregory Martin
May 22nd, 2018, 6:54 am
Forum: Entry
Topic: Scrip Editor
Replies: 9
Views: 59

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.
by Gregory Martin
May 21st, 2018, 6:42 pm
Forum: Entry
Topic: Search and Edit Cases
Replies: 2
Views: 26

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...
by Gregory Martin
May 21st, 2018, 6:40 pm
Forum: Entry
Topic: Scrip Editor
Replies: 9
Views: 59

Re: Scrip Editor

Close Notepad++, open Windows Explorer, and enter this in the address bar:

%AppData%\Notepad++

Paste the userDefineLang.xml file in that folder.

Restart Notepad++. Do you see the languages?
by Gregory Martin
May 21st, 2018, 8:34 am
Forum: Android
Topic: variables to capture gps coordinates
Replies: 2
Views: 19

Re: variables to capture gps coordinates

Latitude and longitude are numeric values. Personally, when using a decimal character in my dictionary, I make the fields length 14 and set the number of decimals to 9. That way you can safely store the maximum and minimum longitudes, which go from -180 to 180.

Go to advanced search