I have a few tables which reference unique datasets so I should be able to leverage groupings in tables w/ no issues; however I seem to be encountering the following when I compile.
[rsInvalidToggleItem] The table ‘table7’ has ‘ProgramName’ as a toggle item. Toggle items must be text boxes that share the same scope as the hidden item or are in a scope that contains the hidden item, and cannot be contained within the current report item unless current grouping scope has a Parent.
Over a year later; but, if anyone else is looking for the answer... This error happens when you rename the textbox that is the toggle item from e.g. 'ProgramName' to e.g. textbox18. I got the error when I moved (cut and then re-inserted) the item to a new place in my table. Suddenly, I got the error. It took a while, but I finally figured out that I could change the name of the textbox from 'textbox18' back to e.g. 'ProgramName' textbox and the report would work again.
This worked for me. I was getting an error about my table1 having an invalid toggle item. The GUIs were of no help, and I was really pulling my hair out! Finally I went into the code and pulled out the highlighted section below: