November 21, 201510 yr I'm using repeating Variables to use with finding applicable records to use and then print using a loop. I'm having a problem with the variable I use in the find to pick up the second repetition of a variable. So it steps previous to these, $$PrescriberID and $$PrescriberID[2] exist as seen in the Dataviewer as do the two cases for $$ClientID. But in using the debugger, $FindHCP and $FindClient keep being set with the first instance, not the second on the second go through when $LoopCounter is 2. Why isn't this working? Thanks for any help you can provide. Pat
November 21, 201510 yr The GetRepetition() function works with repeating fields, not with repeating variables (that aren't really repeating). Instead of : GetRepetition ( $$variable ; $counter ) use: $$variable[$counter] Edited November 21, 201510 yr by comment
November 21, 201510 yr Author Thank you! I did not know that, and it worked, so I appreciate the information. Pat
Create an account or sign in to comment