Page 1 of 1

Show Function

Posted: May 22nd, 2013, 2:48 am
by rameshpal99
Dear Sir,

I am using show function for female gender from rooster then i am select the 1st women in show dialog box but she is in rooster 2nd person & my selection is 1st person in rooster.

Please check the problem.

Thanks

Re: Show Function

Posted: May 24th, 2013, 7:07 am
by Gregory Martin
The show function returns the index of the selected value in the show box, not the occurrence number of the selected entry. You could use the seek person to search for the person. Something like this:
numeric index = show(PERSON_REC,RELATIONSHIP,SEX,AGE,where SEX = 2);
numeric occurrenceNumber = seek(SEX = 2,@index);

Re: Show Function

Posted: May 25th, 2014, 1:39 am
by raju
Dear Sir,

I am store the value of select from the rooster with this command. I am select line number 2 but store in the variable line number 1.

Please check the issue.

Best wishes

Raju

Re: Show Function

Posted: May 28th, 2014, 2:54 pm
by Gregory Martin
I would have to see your code to know what is occurring your program. We have not received any reports of the show command not working, so I suspect that there may be a problem with your code. You can email us at csprousers@gmail.com.