<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.ecibemet.com/index.php?action=history&amp;feed=atom&amp;title=PdcDataGrids.GetGridByName</id>
	<title>PdcDataGrids.GetGridByName - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.ecibemet.com/index.php?action=history&amp;feed=atom&amp;title=PdcDataGrids.GetGridByName"/>
	<link rel="alternate" type="text/html" href="http://wiki.ecibemet.com/index.php?title=PdcDataGrids.GetGridByName&amp;action=history"/>
	<updated>2026-05-06T18:20:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://wiki.ecibemet.com/index.php?title=PdcDataGrids.GetGridByName&amp;diff=1396&amp;oldid=prev</id>
		<title>Mike: Created page with &quot;== Declaration == GetGridByName(GridName as String,IndexName as String) as PdcDataGrid  == Description ==   == Notes == This method returns the grid corresponding with the...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.ecibemet.com/index.php?title=PdcDataGrids.GetGridByName&amp;diff=1396&amp;oldid=prev"/>
		<updated>2012-05-21T13:06:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Declaration == GetGridByName(GridName as String,IndexName as String) as &lt;a href=&quot;/index.php/PdcDataGrid&quot; title=&quot;PdcDataGrid&quot;&gt;PdcDataGrid&lt;/a&gt;  == Description ==   == Notes == This method returns the grid corresponding with the...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Declaration ==&lt;br /&gt;
GetGridByName(GridName as String,IndexName as String) as [[PdcDataGrid]]&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
This method returns the grid corresponding with the given name.&lt;br /&gt;
The lines in the grid are sorted by the applied columnname (second parameter).&lt;br /&gt;
&lt;br /&gt;
== Code example ==&lt;br /&gt;
This code example shows the gridname only if the activewindowkey is &amp;quot;PB&amp;quot;. This is the delivery note screen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;vb&amp;quot;&amp;gt;&lt;br /&gt;
dim activegrid&lt;br /&gt;
&lt;br /&gt;
  if pdc.Windows.ActiveWindow.WindowKey = &amp;quot;PB&amp;quot; then&lt;br /&gt;
    set activegrid = pdc.Windows.ActiveWindow.Datagrids.GetGridByName(&amp;quot;PDCGrid1&amp;quot;, &amp;quot;PR_POS&amp;quot;)&lt;br /&gt;
    if IsValid(activegrid) then&lt;br /&gt;
      msgbox activegrid.GridName&lt;br /&gt;
    end if&lt;br /&gt;
    set activegrid = nothing&lt;br /&gt;
  end if&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Availability ==&lt;br /&gt;
Available since April 2010 (from version 4.1)&lt;/div&gt;</summary>
		<author><name>Mike</name></author>
	</entry>
</feed>