I’ve been trying to figure this out and at this point I’m just trying to get a basic repeater working. I am trying to generate a list of customers and sites from two queries and display them in the repeater. Later I will attempt to link the checkboxes to code that will update a table.
Customer Name Tag - Dataset - Event driven - Select Distinct customername from table
Site Name Tag - Dataset - Event driven - Select sitename from table
Site Count Tag - Integer - Event driven - Select Count(*) from table (returns correct number)
CheckBox template - 3 custom properties:
- customername dataset bound to Customer Name tag value
- sitename dataset bound to Site Name tag value
- id integer bound to Site Count tag value
text is bound to expression combining customername and sitename.
1 template repeater:
I’ve dropped the checkbox template on it and the template path is correct. Dataset repeat behavior. The template parameters match up, sort of. All of the customers and sites are listed, but when I put in the ID (it actually works without the ID, but I added it thinking it would help) and it just repeats 0’s in the Dataset Viewer.
The repeater is currently displaying ‘Dataset[144R x 1C], Dataset[1328R x 1C]’ over and over. I have been able to get it to display the Customer Name and Site Name by binding the template directly to queries, but it repeats the first names over and over.
I’ve uploaded pics of the tag browser, dataset viewer and template repeater. Maybe this isn’t what it was designed for? In the meantime, I’m going to rewatch the template repeater videos and try and figure out what is going on behind the scenes - maybe that will help.
I know I’m missing something, but I’ve been working on this for the better part of 3 days with not much significant progress, so any guidance would be appreciated.
Edit - deleted pics