Page 1 of 1

How to Save Data in Server from filed

Posted: October 25th, 2012, 6:57 am
by khurshid.arshad
Gregory

We are going to conduct a survey for 45,000 households in one province. Total number of district are 10 and in 4 district we have connectivity problem. We will use offline option in these 4 district
There is any possibility that enumerator save data in our server by the end of the day but in same folder and same file. After the conformation he removes the data from laptop or smart phone. And same exercise he will do every day. I want only one file against each enumerator.

Regards.

Re: How to Save Data in Server from filed

Posted: October 31st, 2012, 11:31 am
by Gregory Martin
This is possible, but you'll have to write a lot of logic to accomplish it. You'll have to use some of the file functions, like filecopy, filedelete, and fileexist to move data back and forth when a connection exists. This may be best accomplished by writing a wrapper program around your data entry program. This program would check whether the network connection exists, and if so if would write out a PFF using a file on the network for data entry. If not, the PFF file would point to a file on the local machine. The program could also check if there are any files that have been keyed to the local machine and then it would move them to the server.

This is all possible, but you'll have to spec out each step of your program and make sure that all pieces work in a complementary manner.

Re: How to Save Data in Server from filed

Posted: November 1st, 2012, 11:13 am
by Bharadwaj
Dear Grogery

Really this response is very useful for us. As we are trying for something like this. If you can share any file which contains this kind of logic, would be grateful to us. You can send the same to my gmail ID: bharadwajsvsrk@gmail.com.

Thanks in advance.

Regards

Bharadwaj

Re: How to Save Data in Server from filed

Posted: November 2nd, 2012, 12:43 pm
by khurshid.arshad
Dear Grogery

Thanks. I will share logic with you when i start work.

Regards.

arshad

Re: How to Save Data in Server from filed

Posted: November 6th, 2012, 4:10 pm
by Gregory Martin
See attached for an application used to keep track of keyed census data. This is a rather complicated example, but you can work through it to figure out how you might want to design your system.

Re: How to Save Data in Server from filed

Posted: November 8th, 2012, 12:16 pm
by khurshid.arshad
Gregory Martin.

Thanks for this porgrame. Any update for Advance training on CSPro.

Regards and take care.
Arshad

Re: How to Save Data in Server from filed

Posted: November 13th, 2012, 12:00 pm
by Gregory Martin
Hopefully the advanced CSPro training will take place this upcoming year, maybe in May or June. We should know by the end of November if it will happen.