Search found 2399 matches

by josh
February 11th, 2021, 7:08 am
Forum: News
Topic: CSPro Users Forum Back Online
Replies: 7
Views: 11187

Re: CSPro Users Forum Back Online

Next time please create a new post rather than responding to an entirely unrelated topic. To choose the eligible household member you can add logic after the roster to loop through the roster and test each row to see if it contains an eligible member. To do this use a while loop (https://www.csprous...
by josh
February 11th, 2021, 7:00 am
Forum: Entry
Topic: regex matching "?
Replies: 3
Views: 2298

Re: regex matching "?

Using \" doesn't work but using single quotes should work so you could do: regexmatch(line, '".*\t.*"') Alternatively you can use two consecutive double quotes inside the string. CSPro interprets that as just one double quote. regexmatch(line, """.*\t.*"""...
by josh
February 10th, 2021, 8:00 pm
Forum: Entry
Topic: Saved GPS reading is retained even after taking a new GPS reading
Replies: 12
Views: 5577

Re: Saved GPS reading is retained even after taking a new GPS reading

Problem might be here: POLE_LATITUDE = gps(latitude); savesetting("POLE_LONGITUDE", maketext("%v",POLE_LONGITUDE)); POLE_LONGITUDE = gps(longitude); savesetting("POLE_LONGITUDE", maketext("%v",POLE_LONGITUDE)); You probably want POLE_LATITUDE in the first call...
by josh
February 10th, 2021, 4:57 pm
Forum: Entry
Topic: Saved GPS reading is retained even after taking a new GPS reading
Replies: 12
Views: 5577

Re: Saved GPS reading is retained even after taking a new GPS reading

Your application logic always loads the saved GPS coordinates and uses those without looking to see if the pole number changed. You could save the pole number as well using savesetting() and then only use the saved values when the saved pole number is the same as the pole number that was entered. I ...
by josh
February 9th, 2021, 8:36 am
Forum: Android
Topic: Manual .csdb generation
Replies: 3
Views: 2553

Re: Manual .csdb generation

Since the csdb file is an sqlite database you could theoretically convert it to JSON and then convert it back. There are libraries to write SQLite databases from Java. You can open the csdb file in one of the free SQLite viewers to see what it looks like and base your code on that. However, if you u...
by josh
February 7th, 2021, 10:05 am
Forum: Synchronization
Topic: error 301 connecting to the server
Replies: 8
Views: 4168

Re: error 301 connecting to the server

We fixed that bug with the long id items in version 7.5.1 back in early December. If you are still seeing it with the latest version please send us an app we can use to reproduce the problem. Note that the fix was in CSPro (Android and Desktop), not in CSWeb.
by josh
February 4th, 2021, 7:28 am
Forum: Android
Topic: Open .pff
Replies: 2
Views: 1713

Re: Open .pff

Try launching CSEntry using the package name. Here is an example: https://github.com/CSProDevelopment/CSE ... ivity.java
by josh
January 29th, 2021, 6:17 pm
Forum: Synchronization
Topic: error 301 connecting to the server
Replies: 8
Views: 4168

Re: error 301 connecting to the server

A 301 error is probably not a CSWeb problem or a database problem but more likely a problem with the Apache configuration. That is where I would start. Either that or when you reinstalled the CSWeb files you put them in the wrong directory. I doubt switching versions will change anything.
by josh
January 21st, 2021, 2:16 pm
Forum: Feature Requests
Topic: rename item function in batch program
Replies: 2
Views: 2314

Re: rename item function in batch program

There isn't a simple way to do this right now. You can convert the data file to text, rename the items in the dictionary and then convert back to csdb using the modified dictionary.
by josh
January 21st, 2021, 2:13 pm
Forum: Entry
Topic: csweb 7.3 to 7.5
Replies: 1
Views: 1131

Re: csweb 7.3 to 7.5

You can't upgrade from CSWeb 7.3 to 7.5. You need to remove the 7.3 installation and install version 7.5. You can't reuse the same database. You will either need to delete the old database, or use a new database.