I have three tablets. In these tablets the CSPro version is 7.5.0 and Android Version is 5.1.1.
One of them is working perfectly and other two are giving an error, when i try to run my listing application on the tablet.
Error (10102)
Could no open the data source
LISTIMG_DICT_NSER: Passwords must be at least 4 characters
Application Startup Error
There was an error and CSEntry could not open /storage/enulated/0/csentry/NSER_NR/103_Application/Listing_NSER/Listing_NSER.pff
I am using "User and Configuration Settings" for Data synchronization and password for data file. The steps are as follows:
Set Password
View->User and Configuration Settings->User Settings-> Attribute ="setpassword" -> Value ="1234"-> Add
Set URl for Data Synchronization
View->User and Configuration Settings->Configuration Settings-> Attribute="cswebxyz" -> Value ="url address" -> Add -> ok
I have Three Tier application:
Login -> Menu -> Test or Listing or HH_interview application;
After successfully login the syntax in the Menu Application is as follows to run the Listing Application
PROC PROCESSING_CODE_QUEST
Preproc
datapassword=loadsetting("setpassword");
Preproc
datapassword=loadsetting("setpassword");
Function ListingExercise();
if fileexist(concat ("..\106_Ext_Data\AssignListing-", edit("9999999", Pro_Code), ".txt")) then
Callsysparm = sysparm(); //Callsysparm = store system parameter from login screen
Par_Login_ID = tonumber(sysparm()[1:5]);
Callsysparm = concat(Callsysparm, "-", edit("9999999", PRO_CODE), "-", T_Block_N);
StringFileName =Concat("Listing-", edit("9999999", PRO_CODE), "-", edit ("99999",Par_Login_ID)) ;
listing_pff.setproperty("Version", "CSPro 7.5");
listing_pff.setproperty("AppType", "Entry");
listing_pff.setproperty("StartMode", "Add");
listing_pff.setproperty("FullScreen", "Yes");
listing_pff.setproperty("Lock", "Delete");
listing_pff.setproperty("Application", "..\103_Application\Listing_NSER\Listing_NSER.ent");
listing_pff.setproperty("InputData", "..\104_Data\Listing_NSER\" + StringFileName + ".csdbe|Password=" + encode(PercentEncoding,datapassword));
// listing_pff.setproperty("Paradata", "..\104_Data\Listing_NSER\" + StringFileName + ".cslog");
listing_pff.setproperty("Parameter", Callsysparm);
listing_pff.save("..\103_Application\Listing_NSER\Listing_NSER.pff");
listing_pff.exec();
else
errmsg ("[...%04d...] Area for Listing is not Assigned.",Pro_Code);
Move to PRO_SUP_ID; //add new line
// Move to PBN;
//stop(1);
endif;
end;
I need advice. if fileexist(concat ("..\106_Ext_Data\AssignListing-", edit("9999999", Pro_Code), ".txt")) then
Callsysparm = sysparm(); //Callsysparm = store system parameter from login screen
Par_Login_ID = tonumber(sysparm()[1:5]);
Callsysparm = concat(Callsysparm, "-", edit("9999999", PRO_CODE), "-", T_Block_N);
StringFileName =Concat("Listing-", edit("9999999", PRO_CODE), "-", edit ("99999",Par_Login_ID)) ;
listing_pff.setproperty("Version", "CSPro 7.5");
listing_pff.setproperty("AppType", "Entry");
listing_pff.setproperty("StartMode", "Add");
listing_pff.setproperty("FullScreen", "Yes");
listing_pff.setproperty("Lock", "Delete");
listing_pff.setproperty("Application", "..\103_Application\Listing_NSER\Listing_NSER.ent");
listing_pff.setproperty("InputData", "..\104_Data\Listing_NSER\" + StringFileName + ".csdbe|Password=" + encode(PercentEncoding,datapassword));
// listing_pff.setproperty("Paradata", "..\104_Data\Listing_NSER\" + StringFileName + ".cslog");
listing_pff.setproperty("Parameter", Callsysparm);
listing_pff.save("..\103_Application\Listing_NSER\Listing_NSER.pff");
listing_pff.exec();
else
errmsg ("[...%04d...] Area for Listing is not Assigned.",Pro_Code);
Move to PRO_SUP_ID; //add new line
// Move to PBN;
//stop(1);
endif;
end;
Thanks.
a.