Change the Data Being shown by a group


I have a customer data type that has profiles as a sub data type. There is also a field in the customer data type called “activeprofile.” When the form opens, the active profile displays in the profile tab.

There are other profiles that are represented by the repeating group at the top of the page. What I want to do is change the data source for the group in the tab button. I’ve written a workflow item to change the data being displayed in the group in the tab, but nothing happens. Does anyone have any idea how to do what I’m trying?