Not teach you lol. Just saying this is what I put together as a result of this thread; might come in handy in the future for you - as I see - a regular poster. See the example db attachment in the link if you'd like
I was hoping you were going to teach me Good job though!
On reflection I think we may have some sample databases on the forum with the expand/collapse function which uses API calls instead of native code. And I did the same thing for someone on here but can't remember what the thread was called.
If you want to upload a solution, look in the Sample Databases section. Although your thread would have to be scrutinised by the moderators before it's accepted.