cancel
Showing results for 
Search instead for 
Did you mean: 

Including variable in table title

mh97
Contributor
0 Kudos

Hi,

I have a model where a table is presented, then the user selects a line in the table and details are presented for that customer. I would like to include the customer name (which is an input / output of the data service generating the detail table), in the title of the resulting detail table, i.e.: "Details for Mike's Wonderful Widgets" instead of "Details for Customer".

Can this be done in VC, and if so, how?

Thanks for any suggestions,

Margaret

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

here is the solution.

Drag a form to the story board.

change its visability to Transparent.

Add plain text to the form.

In the label add the formula "My customer is" & @xx

where XX is the customer field.

Delete the table title.

Place the table inside the form and the plain text above it.

Regards,

asaf

mh97
Contributor
0 Kudos

That did the trick!

Getting it to look pretty is a bit of a chore, but your method does work.

Thanks!

Former Member
0 Kudos

I find you help very useful, but I don't understand the last operation that I can do:

what does "place the tabel inside the form and the plain text above it" mean?

I try to do this operation, but I cannot put the table in the form?!

Can you please help me?

Thank you

Elena

Former Member
0 Kudos

Hi Elena,

you can resize the form so that you can drag the table inside the form (overlay).

Best regards,

Marcel

Former Member
0 Kudos

I think I understand my problem:

I try to do this operation in design tab and not in the layout tab.

Now I understand!!!!!

Thank you very much!!

Elena

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Margaret,

I think this is impossible. However, you could add an expression box containing a variable. Load the text to be displayed into the variable, put the expression box above the table. It's not a perfect solution, but it should work.

Best regards,

Benni