Search found 55 matches

by Don
October 18th, 2018, 8:55 pm
Forum: Entry
Topic: CSPro closes after entering a case
Replies: 7
Views: 4784

Re: CSPro closes after entering a case

This is on Windows. This is the code used to generate the pff file. I also attached the resulting pff file as a txt file. //Launches the Control sheet function LaunchControlSheet() //execpff("../ControlSheets/Listing.pff", stop); string pffFilename = Pathname(application) + "../Contro...
by Don
October 17th, 2018, 1:49 pm
Forum: Entry
Topic: CSPro closes after entering a case
Replies: 7
Views: 4784

Re: CSPro closes after entering a case

Thanks that stopped the entire application from closing after accepting the case. Now the secondary problem is that users want to enter multiple cases without having to go back to the menu. I added the line filewrite(pffFile,"AutoAdd=Yes"); in the launchControlSheet() function in the menu ...
by Don
October 17th, 2018, 12:08 pm
Forum: Entry
Topic: CSPro closes after entering a case
Replies: 7
Views: 4784

CSPro closes after entering a case

I created an app that persons can complete their listings (Control Sheets) on the computer. They can then upload to the FTP server then download to a tablet. I set it up to continuously add cases and go back to the menu app when it is stopped. However, when they complete a case and click accept, the...
by Don
September 24th, 2018, 2:39 pm
Forum: Tools
Topic: The server committed a protocol violation
Replies: 1
Views: 2736

The server committed a protocol violation

When using the location mapper plugin in the paradata viewer, the map is replaced with the message "Ther server committed a protocol violation. Section=ResponseStatusLine". I still see the GPS points but no map. I included a screenshot to illustrate. Is there a reason for this. I do rememb...
by Don
September 21st, 2018, 10:08 am
Forum: Android
Topic: Surpress case listing screen
Replies: 2
Views: 2504

Re: Surpress case listing screen

I wasn't aware of these options. Thank you very much. It works as expected.
by Don
September 20th, 2018, 1:28 pm
Forum: Android
Topic: Surpress case listing screen
Replies: 2
Views: 2504

Surpress case listing screen

On android, I would like to open my menu app after accepting a case. I have tried: including onexit=../Menu/Menu.pff in my questionnaire pff file. Putting execpff("../Menu/Menu.pff"); in the postproc of the questionnaire. Including an onstop function that calls execpff("../Menu/Menu.p...
by Don
September 4th, 2018, 12:23 pm
Forum: Android
Topic: Possible bug when updating current field from a user function
Replies: 4
Views: 3682

Re: Possible bug when updating current field from a user function

Ok I worked around this by prompting the user to run the getgps function before entering the LATITUDE or LONGITUDE fields. I also set those fields to protected so that there's no way that the user can run the function while in those fields.
by Don
September 3rd, 2018, 4:55 pm
Forum: Entry
Topic: Update a case from another application
Replies: 1
Views: 2004

Re: Update a case from another application

Never mind.
I just realised that I was trying to load and write cases to a csdb file in a different location. Once I pointed it to the correct location, it worked.
by Don
September 3rd, 2018, 4:46 pm
Forum: Entry
Topic: Update a case from another application
Replies: 1
Views: 2004

Update a case from another application

Hi I have been trying to add data to a case in my control sheet app, from the questionnaire app. I have been trying this code: PROC DATE postproc string idno = maketext("%V%V%V%V%3d%V",RNDNO,EDNO,PARNO,STRATUM,bldgno,HHNO); //stores ID of listing loadcase(LISTING_DICT,idno); errmsg("L...
by Don
September 3rd, 2018, 12:49 pm
Forum: Android
Topic: Possible bug when updating current field from a user function
Replies: 4
Views: 3682

Re: Possible bug when updating current field from a user function

Hi Josh,

Unfortunately, putting a reenter anywhere in the function doesn't seem to do anything.