Two programs running simultaneously for the same respondent ID

Discussions about editing and cleaning data
Post Reply
mmhill
Posts: 19
Joined: August 5th, 2014, 3:26 pm

Two programs running simultaneously for the same respondent ID

Post by mmhill »

I have a program (#1) that calls in a few variables from static data collected by a different program (#2). The program calling in the variables includes a dictionary file and list of IDs for the second program. The arrangement has worked for a long time. The new issue is the need to have the entire #2 survey record opened while reviewing the #1 survey record for any given case. Is this possible? Would a menu be involved? And how much programming effort would that take?

Thank you,
Mary Jane Hill
Gregory Martin
Posts: 1946
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Two programs running simultaneously for the same respondent ID

Post by Gregory Martin »

Hello Mary Jane,

I assume you've attached dictionary #2 to program #1 as an external dictionary and are using loadcase to load a specific case. When you now refer to wanting to open #2 while reviewing #1, is #2 going to be opened only for reading, or is expectation that the user may modify data?

If you're not worried about modifying data in #2, I think you could:

1) Use the questionnaire view in program #1 to show the contents of #2 (after you have done loadcase):

https://www.csprousers.org/help/CSPro/v ... naire.html
https://www.csprousers.org/help/CSPro/C ... ction.html

This will show the contents of #2 to the user without needing to create an extra program.

2) Create a data entry program for #2 and launch it from #1 using ExecPff or the Pff.exec function. If you are using CSPro DB files, you should be able to have them open in both programs.
Post Reply