Edward,
I have a couple of quick questions that might help us to figure out what is causing the visit RowIds to be returned from your query instead of the Sequence Numbers.
- Are you querying each sub-study separately? or are you trying to do a top level query at the LabKey project level to get all of the data at once?
- Can you give us an example of the Rlabkey selectRows call you are using for the study data query? If we can see an example, we might be able to test it against some of our LabKey demo studies to see if they are showing similar behavior.
Thanks,
Cory Nathe