The Rookie Rides Again - referencing a form in a tabpanel

Hi all,

So, let’s say that I’ve got a group of maintenance forms, and that I’ve set up a way to have those forms appear within a tabless tab panel on a “main” form of sorts. Each of the forms that show up within the tabpanel is able to maintain a table, so each form will need some record control buttons for add, delete, etc. I also would like to have the table entries show up in a list on the form, and when I do that, each row in the table gets its own add, delete, etc, button. So, I’m thinking that what I’d like to do is put the record control buttons outside of the tabpanel on the “main” form, and have those buttons control what’s going on on the form within the tabpanel. But, I’m so far not having any luck figuring out how to reference the form in the tabpanel in a general way that will work regardless of what form opens in the tabpanel. So far, my efforts end up with, say, NewRecord always trying to work with something on the main form rather than the form within the tabpanel.

Any thoughts on how I might do something like this? It could be that you just can’t, or that I just haven’t figured out the correct way to reference what’s in the form within the tabpanel. Let’s say I’m a bit Javascript challenged.

As always, any ideas would be appreciated. Thanks and have a good day.

Ron

What you want you clearly can see in the sample CRM that comes with the installation of Servoy. I am sure you will figure it out. If you don’t, I’ll get you some more tips. Good luck!

Oops, somehow I missed that. Thanks so much for the direction. Much appreciated.

Ron