pff file in android cspro application

Discussions about CSEntry
Post Reply
manojsoni
Posts: 23
Joined: November 22nd, 2012, 11:55 pm
Location: Jaipur, India

pff file in android cspro application

Post by manojsoni »

Dear Sir

In cspro android application,
in pff file, in DataEntryInit section
If I write Lock=Modify,Verfify
Modification and Verification should be closed for a case.
It works in window
Any idea in android.
Thanks and Regards

Manoj
Gregory Martin
Posts: 1947
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: pff file in android cspro application

Post by Gregory Martin »

Manoj,

You are correct that the PFF Lock attributes were not yet implemented for CSEntry for Android. I just implemented them, so the next beta (or release) will support locking Add or Modify mode. The Android application does not support Verify mode at all.
paridadeep295
Posts: 20
Joined: July 12th, 2014, 12:54 pm

Re: pff file in android cspro application

Post by paridadeep295 »

Dear Sir,

i am a user of cspro in windows but today i have learned about cspro android and try it but i have not found .pff file to run with my tab. pls explain about .pff. its auto generate or need to creat ?. if need to create pls explain how its? your help will very helpful for me.

Regards
Dilip kumar parida.
Gregory Martin
Posts: 1947
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: pff file in android cspro application

Post by Gregory Martin »

When you run your data entry application on Windows, a .pff file will automatically be created by CSEntry, the Windows-based data entry tool. You copy this file, along with the .pen file, to your Android device and then you will be able to run your data entry application on your mobile device.

See more here: http://www.csprousers.org/beta/AndroidB ... 140326.pdf

And take a look at the sample application: http://www.csprousers.org/beta/MetroSurvey.7z

You'll find both a .pff and .pen file in that sample application.
paridadeep295
Posts: 20
Joined: July 12th, 2014, 12:54 pm

Re: pff file in android cspro application

Post by paridadeep295 »

Dear Sir,

Thanks for reply and i was done it. sorry for late reply but i have another problem please help me. i have three variable name as a,b and c but all three are with 50 occurrence a = name of the crop, B = how many days working in this crop and c = how many hours did you work in a usual day. logic is if b = 0 then skip to next crop. i want to sum of " c " how many hour worked in all crop but its not working if b = 0 i mean if missing c field. please help me.

i inform you that its prepared for laptop/desktop.

thanks in advance.
Dilip kumar parida.
Oxford policy management.
Gregory Martin
Posts: 1947
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: pff file in android cspro application

Post by Gregory Martin »

The problem is that skipped values have the special value notappl, not 0. If you want to sum up the C values, counting skipped fields as 0, then you have three options:

1) Use the sum function, which will count up the values, counting special values as 0.
numeric summedTotal = sum(C);
2) Use logic to only add valid values:
numeric summedTotal,counter;

do counter = 1 while counter <= 50

    
if C(counter) <> notappl then
        
inc(summedTotal,C(counter));
    
endif;

enddo;
3) Temporarily have CSPro treat special values as 0:
set behavior() specialvalues(zero) on;

numeric summedTotal,counter;

do counter = 1 while counter <= 50
    
inc(summedTotal,C(counter));
enddo;

set behavior() specialvalues(zero) off;
paridadeep295
Posts: 20
Joined: July 12th, 2014, 12:54 pm

Re: pff file in android cspro application

Post by paridadeep295 »

Thank you very much Sir.
Post Reply