Copy Table from previous case

Discussions about CSEntry
Post Reply
rameshpal99
Posts: 8
Joined: January 10th, 2014, 5:57 am

Copy Table from previous case

Post by rameshpal99 »

Dear Sir,

I am create a program. In this program 2 case add with same respondent. I am entered household information table only for one case and using second case for respondent line number selecting.


Regards
Ramesh Pal
Gregory Martin
Posts: 1796
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Copy Table from previous case

Post by Gregory Martin »

There is no way to directly access the information from one case while entering another case. Why are you separating the data that you are entering into two cases instead of keeping it as one case?

If you want to share data between cases, you are best advised to maintain an external file that will contain this shared file. You can read from and write to this file from anywhere in your program, so that is a good way to pass data back and forth. You can look at the CSPro functions loadcase and writecase to learn more about this.
Post Reply