<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<meta http-equiv="X-UA-Compatible" value="IE=9" />
<title>CreateTableFromList Method</title>
<script src="script/jquery-1.7.2.min.js" type="text/javascript" id="mshs_support_script"></script>
<script src="script/jquery-ui-1.8.18.custom.min.js" type="text/javascript"></script>
<link rel="styleSheet" type="text/css" href="stylesheets/jquery-ui-1.8.18.custom.css" />
<link rel="styleSheet" type="text/css" href="stylesheets/jquery.qtip.css" />
<link rel="styleSheet" type="text/css" href="stylesheets/dx.com.2012.css" data-mshv2-stylesheet="/stylesheets/dx.com.2012.mshv2.css" />
<script src="script/dx.com.jqueryplugins.2012.min.js" type="text/javascript"></script>
<script src="script/dx.com.2012.js" type="text/javascript"></script>
<meta name="Microsoft.Help.Id" content="VISUMLIB~IActChainList~CreateTableFromList"/>
<meta name="Description" content="This method creates a user-defined table from the list and copies its content." />
<meta name="Microsoft.Help.TocParent" content="VISUMLIB~IActChainList_methods"/>
<meta name="Microsoft.Help.ContentType" content="Reference" />
<link rel="styleSheet" type="text/css" href="stylesheets/hs-tabstrip.css"></link>
<link rel="styleSheet" type="text/css" href="stylesheets/slimbox2.css"></link>
<link rel="styleSheet" type="text/css" href="stylesheets/hs-jquery-common.css"></link>
<link rel="styleSheet" type="text/css" href="stylesheets/hs-jquery-slimbox.css"></link>
<link rel="styleSheet" type="text/css" href="stylesheets/hs-jquery-expand.css"></link>
<link rel="styleSheet" type="text/css" href="stylesheets/hs-expandcollapse.css"></link>
<link rel="styleSheet" type="text/css" href="stylesheets/hs-boxes.css"></link>
<link rel="styleSheet" type="text/css" href="stylesheets/customstyles.css"></link>
<link rel="styleSheet" type="text/css" href="ptv/ptv.css" />
<script src="script/hs-tabstrip.js" type="text/javascript"></script>
<script src="script/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="script/slimbox2.js" type="text/javascript"></script>
<script src="script/hs-jquery-common.js" type="text/javascript"></script>
<script src="script/jquery-expand.js" type="text/javascript"></script>
<script src="script/hs-expandcollapse.js" type="text/javascript"></script>
<script src="script/jquery.fitvids.js" type="text/javascript"></script>
<script src="script/swfobject.js" type="text/javascript"></script>
</head>
<body>
<div class="BreadcrumbsContainer"><table><tr><td>>>
<a href="VISUMLIB_P.html">Visum - COM</a>
> <a href="VISUMLIB~IActChainList.html">IActChainList </a>
> <a href="VISUMLIB~IActChainList~CreateTableFromList.html">CreateTableFromList Method</a></td></tr></table></div>
<div id="BeforeHeaderContent">
</div>
<div id="HeaderContent">
<img class="logoimage" src="images/PTV_small.jpg" border="0"></img>
<div id="PageTitle"><div id="PageTitleText">CreateTableFromList Method</div></div>
</div>
<div id="AfterHeaderContent">
<!-- Spacing --> <span id="ToggleAllSectionsLink" class="FunctionLink">
<label id="CollapseAllLabel">Collapse All</label>
<label id="ExpandAllLabel" style="display: none;">Expand All</label>
</span>
</div>
<div id="TableDefinitionNamePopupContent" class="PopupContent">
<BR>
</div>
<div id="FromRowPopupContent" class="PopupContent">
<BR>
</div>
<div id="ToRowPopupContent" class="PopupContent">
<BR>
</div>
<div id="BodyContent">
<div class="SectionHeading" id="descriptionSectionHeading"><span class="SectionHeadingIcon"><!-- --></span><span class="SectionHeadingText">Summary</span></div><div id="descriptionSectionContent" class="SectionContent"><div class="DescriptionContent">This method creates a user-defined table from the list and copies its content.</div></div>
<div class="SectionHeading" id="syntaxSectionHeading"><span class="SectionHeadingIcon"><!-- --></span><span class="SectionHeadingText">Syntax</span></div><div id="syntaxSectionContent" class="SectionContent"><div class=LanguageSpecific id=Syntax_VB><table class="syntaxtable" width="100%" cellpadding="0" cellspacing="0"><tr><th>Visual Basic</th></tr><tr><td><pre><pre><span style="color: #0000FF; ">Public</span> <span style="color: #0000FF; ">Function</span> CreateTableFromList( _
<span style="color: #0000FF; ">ByVal</span> <i><a class="PopupLink" id="TableDefinitionNamePopupLink" data-popupcontentsource="#TableDefinitionNamePopupContent" data-popupshowevent="click mouseenter">TableDefinitionName</a></i> <span style="color: #0000FF; ">As</span> <span style="color: #0000FF; ">String</span>, _
<span style="color: #0000FF; ">Optional</span> <span style="color: #0000FF; ">ByVal</span> <i><a class="PopupLink" id="FromRowPopupLink" data-popupcontentsource="#FromRowPopupContent" data-popupshowevent="click mouseenter">FromRow</a></i> <span style="color: #0000FF; ">As</span> <span style="color: #0000FF; ">Integer</span> = 0, _
<span style="color: #0000FF; ">Optional</span> <span style="color: #0000FF; ">ByVal</span> <i><a class="PopupLink" id="ToRowPopupLink" data-popupcontentsource="#ToRowPopupContent" data-popupshowevent="click mouseenter">ToRow</a></i> <span style="color: #0000FF; ">As</span> <span style="color: #0000FF; ">Integer</span> = 0 _
) <span style="color: #0000FF; ">As</span> <a href="VISUMLIB~ITableEntries.html">ITableEntries</a></pre></pre></tr></table></div></div>
<div class="SectionHeading" id="parametersSectionHeading"><span class="SectionHeadingIcon"><!-- --></span><span class="SectionHeadingText">Parameters</span></div><div id="parametersSectionContent" class="SectionContent"><table><tr><th>Name</th><th>Value type</th><th>Description</th></tr>
<tr><td>TableDefinitionName</td><td>String</td><td><BR></td></tr>
<tr><td>FromRow</td><td>Integer</td><td><BR></td></tr>
<tr><td>ToRow</td><td>Integer</td><td><BR></td></tr>
</table></div>
<div class="SectionHeading" id="exampleSectionHeading"><span class="SectionHeadingIcon"><!-- --></span><span class="SectionHeadingText">Examples</span></div><div id="exampleSectionContent" class="SectionContent"><BR>
<div class="SectionHeading" id="examplesSubexamples-SectionHeading"><span class="SectionHeadingIcon"><!-- --></span><span class="SectionHeadingText SubSectionHeading">-</span></div><div id="examplesSubexamples-SectionContent" class="SectionContent">
<div class="TabContainer">
<ul>
<li class="FilteredContentPython">
<a href="#TabContent-51e636b2-a67e-4b93-90ff-a38b23ded114">Python</a>
</li>
</ul>
<div id="TabContent-51e636b2-a67e-4b93-90ff-a38b23ded114" class="FilteredContentPython">
<pre>linkList = Visum.Lists.CreateLinkList
linkList.AddKeyColumns()
<span style="color: #008000; "># creates a table with the columns No, Link-No, FromNodeNo, ToNodeNo
</span>linkList.CreateTableFromList(<span style="color: #800000; ">'LinkTable'</span>, fromRow = 0, toRow = 2)
linkList.CopyListToTable(<span style="color: #800000; ">'LinkTable'</span>, fromRow = 3, toRow = 0)
</pre>
</div>
</div>
</div>
</div>
<div class="SectionHeading" id="seealsoSectionHeading"><span class="SectionHeadingIcon"><!-- --></span><span class="SectionHeadingText">See Also</span></div><div id="seealsoSectionContent" class="SectionContent"><p id=dxseealsocontent><a href="VISUMLIB~IActChainList.html">IActChainList </a>
| <a href="VISUMLIB~IActChainList.html">IActChainList Members</a>
</p>
</p></div>
</div>
<div id="FooterContent">
<div style="float: left">
<p class="copyrightfooter">Copyright � 2024 PTV Planung Transport Verkehr GmbH</p>
</div>
<img style="float: right;" src="images/PTV_small.jpg" />
</div>
</body>
</html>