<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Update Table script leaves empty column in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Update-Table-script-leaves-empty-column/m-p/712091#M89545</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I copied the following script from the Log window after updating the main table "...kopie" with the MacroREM column from update table "rem". The update works perfectly when executing manually, so I copied the script; however, when running the script, the MacroREM column is indeed created in the "kopie" main table, but left empty.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See image: after running this code in script, the main table created the MacroREM column, but has no values.&lt;/P&gt;&lt;P&gt;Is this a bug, or any other advice?&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// Update data tables
Data Table( "Master REMotion JMP kopie.jmp" ) &amp;lt;&amp;lt;
Update(
	With( Data Table( "rem" ) ),
	Match Columns(
		:Validated = :Validated, :Type = :Type, :Start = :Start, :End = :End,
		:ID = :ID, :SubType = :SubType
	),
	Add Columns from Update Table( :MacroREM ),
	Replace Columns in Main Table( None )
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Dec 2023 12:10:56 GMT</pubDate>
    <dc:creator>vcoppens</dc:creator>
    <dc:date>2023-12-22T12:10:56Z</dc:date>
    <item>
      <title>Update Table script leaves empty column</title>
      <link>https://community.jmp.com/t5/Discussions/Update-Table-script-leaves-empty-column/m-p/712091#M89545</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I copied the following script from the Log window after updating the main table "...kopie" with the MacroREM column from update table "rem". The update works perfectly when executing manually, so I copied the script; however, when running the script, the MacroREM column is indeed created in the "kopie" main table, but left empty.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See image: after running this code in script, the main table created the MacroREM column, but has no values.&lt;/P&gt;&lt;P&gt;Is this a bug, or any other advice?&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// Update data tables
Data Table( "Master REMotion JMP kopie.jmp" ) &amp;lt;&amp;lt;
Update(
	With( Data Table( "rem" ) ),
	Match Columns(
		:Validated = :Validated, :Type = :Type, :Start = :Start, :End = :End,
		:ID = :ID, :SubType = :SubType
	),
	Add Columns from Update Table( :MacroREM ),
	Replace Columns in Main Table( None )
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2023 12:10:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Update-Table-script-leaves-empty-column/m-p/712091#M89545</guid>
      <dc:creator>vcoppens</dc:creator>
      <dc:date>2023-12-22T12:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Update Table script leaves empty column</title>
      <link>https://community.jmp.com/t5/Discussions/Update-Table-script-leaves-empty-column/m-p/712101#M89547</link>
      <description>&lt;P&gt;Without having access to your data my only guess would be that the data used for matching doesn't exactly match. One of the possible reasons could be for example that your timestamps aren't exactly the same (if Start and End are times).&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2023 12:14:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Update-Table-script-leaves-empty-column/m-p/712101#M89547</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-12-22T12:14:55Z</dc:date>
    </item>
  </channel>
</rss>

