Search found 6 matches

by groverlynn
May 9th, 2018, 7:29 am
Forum: Editing
Topic: Roster loses data when editing
Replies: 4
Views: 6352

Re: Roster loses data when editing

Hi, I'm having the same Problem. Have you solved this?
by groverlynn
May 9th, 2018, 6:10 am
Forum: Android
Topic: data lost in modify mode
Replies: 4
Views: 5052

Re: data lost in modify mode

Is it possible your dictionary changed from the time you collected data to the time you opened the data in modify mode? I would take a close look at your data and current dictionary. That's impossible. I open it in modify mode right after I save the case. Nothing's changed in the dictionary. Also, ...
by groverlynn
May 7th, 2018, 11:24 am
Forum: Android
Topic: data lost in modify mode
Replies: 4
Views: 5052

data lost in modify mode

In my program, after I save a case and open to modify it again (through a menu program by invoking .pff files with modify mode), the data in check-boxes and rosters are lost. All other data are all fine. Can anyone tell me how to solve this?
by groverlynn
April 29th, 2018, 1:08 pm
Forum: Entry
Topic: locate function fails
Replies: 5
Views: 4429

Re: locate function fails

If the relational operators are < or <=, then the file is positioned at the case with the largest key which satisfies the condition. If the relational operators are > or >=, then the file is positioned at the case with the smallest key which satisfies the condition. However, if GEO_CODE+LISTER cont...
by groverlynn
April 29th, 2018, 1:04 pm
Forum: Entry
Topic: locate function fails
Replies: 5
Views: 4429

Re: locate function fails

There are other ways to do this. For example, you could use the set last statement (see here: http://www.csprousers.org/help/CSPro/set_last_statement.html): set last(SURVEY_DICT); loadcase (SURVEY_DICT); You could also get a list of the keys and then load the last one, like this: PROC GLOBAL list s...
by groverlynn
April 26th, 2018, 5:50 am
Forum: Entry
Topic: locate function fails
Replies: 5
Views: 4429

locate function fails

I want to write a logic to locate the last case in the data, case ID prefix being GEO_CODE and LISTER. Here is my code if locate(TPL_HH_DICT, <, GEO_CODE+LISTER) then loadcase(TPL_HH_DICT); HH_NO = HH + 1; else HH_NO = 99; //I intend to use HH_NO = 1, but just to see if the locate works, I use 99 he...