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
Show Function
-
Gregory Martin
- Posts: 1947
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Show Function
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);
numeric occurrenceNumber = seek(SEX = 2,@index);
-
raju
Re: Show Function
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
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
-
Gregory Martin
- Posts: 1947
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Show Function
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.