Page 1 of 1

Error: Unfortunately, CSEntry has stopped. Version 7.2

Posted: February 24th, 2019, 1:00 am
by khurshid.arshad
Dear Team;

Thank you for new version with the Block option.

Unfortunately Stop() function is giving error. Please advice.
Thank you.
a.

Code: Select all

Function SendReceivelistingArea();

	{*******************************************}
	{***   SEND LISTING AREA TO ENUMERATOR  ****}
	{*******************************************}
	{***   IS FILE ALREADY CREATED OR NOT   ****}

	FindResult=fileexist(concat ("..\106_Ext_Data\AssignListing-", edit("9999999",Pro_Code), ".txt"));

	{*******************************************}
	{***        IF FILE IS NOT CREATED      ****}

	If Par_Designation =1 and FindResult=0 then
		errmsg ("Listing Area [...Not Assigned/Non affecté...].");
		move to PRO_SUP_ID
		//		stop(1);
	else

		{*******************************************}
		{***         SYNCH ASSIGN LISTING       ****}

		If 	Par_Designation=2 then 		//If Enumerator login
			filedelete(concat("..\106_Ext_Data\AssignListing-","*.txt"));
			If	syncserver (Bluetooth, "..") then 	// Get the Assigned Enumeration Area from the Supervisor
				syncdisconnect();
				errmsg ("Assigned Area Received [...%d...].",Pro_Code);
			[u]stop(1);[/u]
			else
				move to PRO_SUP_ID;
			endif;

		elseif Par_Designation=1 then		//If Supervisor login
			if syncconnect(Bluetooth) then	// Send the Assigned Enumeration Area to the Enumerator
				syncfile(PUT, "..\106_Ext_Data\AssignListing-" + edit("9999999",Pro_Code) + ".txt", "/106_Ext_Data/");
				syncdisconnect();
				errmsg ("Assigned Area Send [...%d...].",Pro_Code);

				move to PRO_SUP_ID;
			else
				move to PRO_SUP_ID;

			endif;
		endif;
	endif;
end;




Re: Error: Unfortunately, CSEntry has stopped. Version 7.2

Posted: February 24th, 2019, 1:03 am
by khurshid.arshad
please see Line number 27 in my code.

Best.
a.

Re: Error: Unfortunately, CSEntry has stopped. Version 7.2

Posted: February 25th, 2019, 12:22 pm
by khurshid.arshad
Dear Team;

Any update on my query.

Even my application is not working on tablet which was working on previous version.
Best.
a.

Re: Error: Unfortunately, CSEntry has stopped. Version 7.2

Posted: February 25th, 2019, 2:49 pm
by Gregory Martin
We've used stop in 7.2 without problem, so it's probably something related to how it is being used in your application. Can you send your application to cspro@lists.census.gov?

Re: Error: Unfortunately, CSEntry has stopped. Version 7.2

Posted: February 26th, 2019, 9:47 pm
by khurshid.arshad
Dear Gregory;

I have shared application on given email address.

Best.
a.

Re: Error: Unfortunately, CSEntry has stopped. Version 7.2

Posted: March 1st, 2019, 12:07 pm
by aaronw
Issue was fixed in CSEntry 7.2 (Android). You'll just need to re-download from Google Play Store.

Re: Error: Unfortunately, CSEntry has stopped. Version 7.2

Posted: March 2nd, 2019, 9:09 am
by khurshid.arshad
Thank you. It is working now.

Best.
a.