How can I print design table info into a sketch's text?

I have a part shaped like a wrench with a certain opening that works on a certain machine setting. I have text on the wrench that is to state the machine setting and the opening.

I have a design table with the different openings listed. How do I make the text in the sketch that will be on my part link to my design table? What code do I write? I tried a few things like but that didn't link.

SolidworksSketching