How to Save Data in Server from filed

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
Post Reply
khurshid.arshad
Posts: 572
Joined: July 9th, 2012, 11:32 am
Location: Islamabad, Pakistan

How to Save Data in Server from filed

Post 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.
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: How to Save Data in Server from filed

Post 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.
Bharadwaj

Re: How to Save Data in Server from filed

Post 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
khurshid.arshad
Posts: 572
Joined: July 9th, 2012, 11:32 am
Location: Islamabad, Pakistan

Re: How to Save Data in Server from filed

Post by khurshid.arshad »

Dear Grogery

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

Regards.

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

Re: How to Save Data in Server from filed

Post 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.
Attachments
SupervisorMenu.zip
(21.72 KiB) Downloaded 480 times
khurshid.arshad
Posts: 572
Joined: July 9th, 2012, 11:32 am
Location: Islamabad, Pakistan

Re: How to Save Data in Server from filed

Post by khurshid.arshad »

Gregory Martin.

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

Regards and take care.
Arshad
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: How to Save Data in Server from filed

Post 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.
Post Reply