Search found 55 matches

by Don
August 30th, 2018, 3:08 pm
Forum: Android
Topic: Possible bug when updating current field from a user function
Replies: 4
Views: 3682

Possible bug when updating current field from a user function

Hi, I have an application where when the user gets to the latitude field, they are prompted to press "Get location" in the navbar. It calls a getlocation function with uses the gps to get the coordinates and then fills the latitude and longitude fields automatically. The problem is that th...
by Don
August 30th, 2018, 11:45 am
Forum: Other
Topic: Help with reporting function
Replies: 5
Views: 4413

Re: Help with reporting function

Just updating for posterity. My issue was that I needed to load the cases using forcase or loadcase before calling setreportdata(). Therefore I used the following code to loop through the cases and load the ones for the ED that I wanted. It loads the data for each case into an array and then that ar...
by Don
August 27th, 2018, 3:48 pm
Forum: Other
Topic: Help with reporting function
Replies: 5
Views: 4413

Re: Help with reporting function

Thanks, I'll email it to you.
by Don
August 24th, 2018, 1:11 pm
Forum: Other
Topic: Help with reporting function
Replies: 5
Views: 4413

Re: Help with reporting function

That seemed to solve part of the problem. I'm now seeing the static text from the template when I run it. However, I'm not seeing any of the data that should have replaced anything between the curly brackets. Is there anything else that I must do?
by Don
August 23rd, 2018, 4:40 pm
Forum: Other
Topic: Help with reporting function
Replies: 5
Views: 4413

Help with reporting function

Hi, I'm having trouble with the report and setreportdata functions. I created a report template and tried running a report, but I just get a blank web page. This is my template. <div id="cspro_report"></div> <script type="application/vnd.cspro.report-template" id=cspro_report_tem...
by Don
August 8th, 2018, 5:33 pm
Forum: Synchronization
Topic: Data downloads not working
Replies: 2
Views: 2603

Re: Data downloads not working

Hi Josh,

Thanks. The issue was that I was using %02d and I didn't zero fill my data dictionary.
by Don
August 8th, 2018, 4:12 pm
Forum: Synchronization
Topic: Data downloads not working
Replies: 2
Views: 2603

Data downloads not working

I'm trying to download data that is restricted to a particular ED to my tablet. I'm using the following code and although I'm not seeing any errors I'm not seeing any new cases on the tablet. Is there something that I am missing? PROC CHOOSE_ED Postproc //there's a CHOOSE_ROUND field that is filled ...
by Don
August 7th, 2018, 11:19 am
Forum: Tools
Topic: Error on location mapper plugin
Replies: 4
Views: 4901

Re: Error on location mapper plugin

Looking at the source code, the reason that you would get that error is if the SQL query (that is used to get information from the paradata log) returns no rows. If you don't mind sharing your paradata log, you can send it to greg@csprousers.org and I'll try to figure out why the query is failing. ...
by Don
August 7th, 2018, 11:18 am
Forum: Tools
Topic: Error on location mapper plugin
Replies: 4
Views: 4901

Re: Error on location mapper plugin

htuser wrote:Hi Don,
What's link do you use to download it?
Thanks in advance,
I'm not sure of the specific location. I downloaded it by going to View>Location mapper in the Paradata viewer. It prompted me to download and install it automatically.
by Don
August 3rd, 2018, 11:52 am
Forum: Android
Topic: Taking photos on the Navbar
Replies: 2
Views: 3063

Re: Taking photos on the Navbar

It works thanks!