<?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=PdcDataGrid</id>
	<title>PdcDataGrid - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.ecibemet.com/index.php?action=history&amp;feed=atom&amp;title=PdcDataGrid"/>
	<link rel="alternate" type="text/html" href="http://wiki.ecibemet.com/index.php?title=PdcDataGrid&amp;action=history"/>
	<updated>2026-05-06T14:29:56Z</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=PdcDataGrid&amp;diff=2978&amp;oldid=prev</id>
		<title>TC at 13:20, 26 June 2017</title>
		<link rel="alternate" type="text/html" href="http://wiki.ecibemet.com/index.php?title=PdcDataGrid&amp;diff=2978&amp;oldid=prev"/>
		<updated>2017-06-26T13:20:34Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:20, 26 June 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l16&quot;&gt;Line 16:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[PdcDataGrid.GridName]]&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[PdcDataGrid.GridName]]&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[PdcDataGrid.SelectedValues]]&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[PdcDataGrid.SelectedValues]]&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[PdcDataGrid.SelectionKey]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[PdcDataGrid.SelectionKey&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&amp;lt;br /&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[PdcDataGrid.TableName&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Notes ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Notes ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>TC</name></author>
	</entry>
	<entry>
		<id>http://wiki.ecibemet.com/index.php?title=PdcDataGrid&amp;diff=1375&amp;oldid=prev</id>
		<title>Mike: Created page with &quot;== Methods == PdcDataGrid.FirstRecord&lt;br /&gt; PdcDataGrid.GetField&lt;br /&gt; PdcDataGrid.GetFile&lt;br /&gt; PdcDataGrid.GetImage&lt;br /&gt; PdcDataGrid.LastRecord&lt;br /&gt; [[...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.ecibemet.com/index.php?title=PdcDataGrid&amp;diff=1375&amp;oldid=prev"/>
		<updated>2012-05-21T12:48:40Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Methods == &lt;a href=&quot;/index.php/PdcDataGrid.FirstRecord&quot; title=&quot;PdcDataGrid.FirstRecord&quot;&gt;PdcDataGrid.FirstRecord&lt;/a&gt;&amp;lt;br /&amp;gt; &lt;a href=&quot;/index.php/PdcDataGrid.GetField&quot; title=&quot;PdcDataGrid.GetField&quot;&gt;PdcDataGrid.GetField&lt;/a&gt;&amp;lt;br /&amp;gt; &lt;a href=&quot;/index.php/PdcDataGrid.GetFile&quot; title=&quot;PdcDataGrid.GetFile&quot;&gt;PdcDataGrid.GetFile&lt;/a&gt;&amp;lt;br /&amp;gt; &lt;a href=&quot;/index.php/PdcDataGrid.GetImage&quot; title=&quot;PdcDataGrid.GetImage&quot;&gt;PdcDataGrid.GetImage&lt;/a&gt;&amp;lt;br /&amp;gt; &lt;a href=&quot;/index.php/PdcDataGrid.LastRecord&quot; title=&quot;PdcDataGrid.LastRecord&quot;&gt;PdcDataGrid.LastRecord&lt;/a&gt;&amp;lt;br /&amp;gt; [[...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Methods ==&lt;br /&gt;
[[PdcDataGrid.FirstRecord]]&amp;lt;br /&amp;gt;&lt;br /&gt;
[[PdcDataGrid.GetField]]&amp;lt;br /&amp;gt;&lt;br /&gt;
[[PdcDataGrid.GetFile]]&amp;lt;br /&amp;gt;&lt;br /&gt;
[[PdcDataGrid.GetImage]]&amp;lt;br /&amp;gt;&lt;br /&gt;
[[PdcDataGrid.LastRecord]]&amp;lt;br /&amp;gt;&lt;br /&gt;
[[PdcDataGrid.Locate]]&amp;lt;br /&amp;gt;&lt;br /&gt;
[[PdcDataGrid.NextRecord]]&amp;lt;br /&amp;gt;&lt;br /&gt;
[[PdcDataGrid.PriorRecord]]&amp;lt;br /&amp;gt;&lt;br /&gt;
[[PdcDataGrid.RecordCount]]&lt;br /&gt;
&lt;br /&gt;
== Properties ==&lt;br /&gt;
[[PdcDataGrid.BoF]]&amp;lt;br /&amp;gt;&lt;br /&gt;
[[PdcDataGrid.EoF]]&amp;lt;br /&amp;gt;&lt;br /&gt;
[[PdcDataGrid.FieldNames]]&amp;lt;br /&amp;gt;&lt;br /&gt;
[[PdcDataGrid.GridName]]&amp;lt;br /&amp;gt;&lt;br /&gt;
[[PdcDataGrid.SelectedValues]]&amp;lt;br /&amp;gt;&lt;br /&gt;
[[PdcDataGrid.SelectionKey]]&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
This property returns the active datagrid in the active window.&lt;br /&gt;
&lt;br /&gt;
== Code example ==&lt;br /&gt;
This code example loops trough the records in the grid and shows wheter or not they are selected.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;vb&amp;quot;&amp;gt;&lt;br /&gt;
Sub SelectieTest&lt;br /&gt;
dim activegrid&lt;br /&gt;
dim inttel&lt;br /&gt;
dim geselecteerd&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;
&lt;br /&gt;
      activegrid.FirstRecord&lt;br /&gt;
      do while not activegrid.EoF&lt;br /&gt;
        geselecteerd = false&lt;br /&gt;
        for inttel= 0 to activegrid.selectedValues.Count -1&lt;br /&gt;
          if activegrid.SelectedValues.Item(inttel) = activegrid.GetField(activegrid.SelectionKey) then&lt;br /&gt;
            geselecteerd = true&lt;br /&gt;
            exit for&lt;br /&gt;
          end if&lt;br /&gt;
        Next&lt;br /&gt;
&lt;br /&gt;
        if geselecteerd then&lt;br /&gt;
          msgbox &amp;quot;Regel &amp;quot; &amp;amp; activegrid.GetField(&amp;quot;PR_POS&amp;quot;) &amp;amp; &amp;quot; is geselecteerd.&amp;quot;&lt;br /&gt;
        else&lt;br /&gt;
          msgbox &amp;quot;Regel &amp;quot; &amp;amp; activegrid.GetField(&amp;quot;PR_POS&amp;quot;) &amp;amp; &amp;quot; is niet geselecteerd.&amp;quot;&lt;br /&gt;
        end if&lt;br /&gt;
        activegrid.NextRecord&lt;br /&gt;
      loop&lt;br /&gt;
    end if&lt;br /&gt;
    set activegrid = nothing&lt;br /&gt;
  end if&lt;br /&gt;
End Sub&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>