Skip to main content
Participant
April 4, 2010
Question

Repeat Region in a Repeat Region

  • April 4, 2010
  • 1 reply
  • 464 views

Hi Guys and Gals,

Im in the process of building my portfolio, and im having trouble basically putting a repeat region in a repeat region…. I shall try to explain.

I’ll be having a list of projects 'repeating' down the page, sorted ascending by project_id. 1, 2, 3 etc

At the same time, I will have images being generated from a different db table on the same db. Each image has a project_id according to which project their from. And I want them to be displayed in the same box as its project. Hence needing a second repeat region…

I’ll most likely filter them out using an if statement… its just getting a repeat region inside a repeat region to work which is the problem.

Ive explored nested Repeat Regions in the past, but thats only been from drawing from one db table... so having no luck at the moment.

Any help would be greatly appreciated.

David

This topic has been closed for replies.

1 reply

Participating Frequently
April 4, 2010

Can't you just  join the project and image tables together in your sql statement and use one repeat region?

mannouchAuthor
Participant
April 4, 2010

I would if I had a fixed amount of images per project.

Participating Frequently
April 5, 2010

>I would if I had a fixed amount of images per project.

Sorry, I still don't understand. Maybe you could explain what you are trying to do in a little more detail. Why does the number of images per project prevent you from using a single recordset and repeating region?