Components to show db relationship

Hi,

I need to show database relationship scheme like in MS Access or in your Data Modeler:



What TMS components can I use to achive?

  • what TMS components can I use to achive this?

You should be able to use TMS Diagram Studio for this.
See: http://www.tmssoftware.com/site/diagram.asp 

I tried to use that but don't know how to even start.. The thing is that I need to create these relations in runtime. Do you have any example regarding this?

Hi Zeljko,


have you seen the following tips? This one is a snippet for creating a block in diagram programatically: http://tmssoftware.com/site/diagram.asp?s=faq&show=149. And this one creates a linke between the two blocks: http://tmssoftware.com/site/diagram.asp?s=faq&show=150. From this basic setup you can already create blocks and add links between them. Then of course you need to improve your logic calculating block positino, adding text to the blocks, etc.

Will try. Thanks.