<?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 Fast way to replace selected entries with a new value in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Fast-way-to-replace-selected-entries-with-a-new-value/m-p/917360#M107698</link>
    <description>&lt;P&gt;A user selects some rows and a column and wants to replace the selected entries with a new values via the GUI.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
colname = "column with values between 1 and 10";
dt = new table("test", add rows(5000000), new column ("c",Character,  set each Value(Char(random integer(10)))));
dt &amp;lt;&amp;lt; Select Where( :c == "7" ) &amp;lt;&amp;lt; select columns (1);
newname = "column with values between 1 and 10, 7=X";
newvalue="X";
:c &amp;lt;&amp;lt; set name( newname);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The score is based on time. Every click, every keystroke, every double click and every calculation counts in fractions of a second.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Dec 2025 22:45:03 GMT</pubDate>
    <dc:creator>hogi</dc:creator>
    <dc:date>2025-12-03T22:45:03Z</dc:date>
    <item>
      <title>Fast way to replace selected entries with a new value</title>
      <link>https://community.jmp.com/t5/Discussions/Fast-way-to-replace-selected-entries-with-a-new-value/m-p/917360#M107698</link>
      <description>&lt;P&gt;A user selects some rows and a column and wants to replace the selected entries with a new values via the GUI.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
colname = "column with values between 1 and 10";
dt = new table("test", add rows(5000000), new column ("c",Character,  set each Value(Char(random integer(10)))));
dt &amp;lt;&amp;lt; Select Where( :c == "7" ) &amp;lt;&amp;lt; select columns (1);
newname = "column with values between 1 and 10, 7=X";
newvalue="X";
:c &amp;lt;&amp;lt; set name( newname);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The score is based on time. Every click, every keystroke, every double click and every calculation counts in fractions of a second.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2025 22:45:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fast-way-to-replace-selected-entries-with-a-new-value/m-p/917360#M107698</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-12-03T22:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Fast way to replace selected entries with a new value</title>
      <link>https://community.jmp.com/t5/Discussions/Fast-way-to-replace-selected-entries-with-a-new-value/m-p/917389#M107699</link>
      <description>&lt;P&gt;Copy &amp;amp; Paste&lt;/P&gt;
&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6385920107112w734h540r753" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6385920107112" data-account="6058004218001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6058004218001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6385920107112w734h540r753');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.jmp.com/t5/video/gallerypage/video-id/6385920107112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2025 22:53:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fast-way-to-replace-selected-entries-with-a-new-value/m-p/917389#M107699</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-12-03T22:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Fast way to replace selected entries with a new value</title>
      <link>https://community.jmp.com/t5/Discussions/Fast-way-to-replace-selected-entries-with-a-new-value/m-p/917391#M107701</link>
      <description>&lt;P&gt;&lt;STRONG&gt;linked Subset&lt;/STRONG&gt;: type &amp;amp; &lt;STRONG&gt;Fill to end&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;It takes forever—better make sure you’ve got a full pot of coffee ready!&lt;/P&gt;
&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6385920725112w742h540r6" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6385920725112" data-account="6058004218001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6058004218001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6385920725112w742h540r6');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.jmp.com/t5/video/gallerypage/video-id/6385920725112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2025 22:59:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fast-way-to-replace-selected-entries-with-a-new-value/m-p/917391#M107701</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-12-03T22:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Fast way to replace selected entries with a new value</title>
      <link>https://community.jmp.com/t5/Discussions/Fast-way-to-replace-selected-entries-with-a-new-value/m-p/917392#M107702</link>
      <description>&lt;P&gt;Name Selection in Column:&lt;BR /&gt;It's accessible right via the column header -&amp;nbsp;sooo cool!&lt;BR /&gt;I am sure there is a hidden trick to pick THE selected column as the target column - but I did not find it yet ...&lt;/P&gt;
&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6385923271112w608h540r758" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6385923271112" data-account="6058004218001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6058004218001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6385923271112w608h540r758');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.jmp.com/t5/video/gallerypage/video-id/6385923271112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Dec 2025 08:26:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fast-way-to-replace-selected-entries-with-a-new-value/m-p/917392#M107702</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-12-04T08:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Fast way to replace selected entries with a new value</title>
      <link>https://community.jmp.com/t5/Discussions/Fast-way-to-replace-selected-entries-with-a-new-value/m-p/917393#M107703</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Name Selection in Column -&amp;nbsp;&lt;/SPAN&gt;with an auxiliary column:&lt;/P&gt;
&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6385920130112w718h540r259" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6385920130112" data-account="6058004218001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6058004218001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6385920130112w718h540r259');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.jmp.com/t5/video/gallerypage/video-id/6385920130112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2025 23:17:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fast-way-to-replace-selected-entries-with-a-new-value/m-p/917393#M107703</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-12-03T23:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Fast way to replace selected entries with a new value</title>
      <link>https://community.jmp.com/t5/Discussions/Fast-way-to-replace-selected-entries-with-a-new-value/m-p/917394#M107704</link>
      <description>&lt;P&gt;Why not Recode?&lt;/P&gt;
&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6385924299112w810h540r718" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6385924299112" data-account="6058004218001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6058004218001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6385924299112w810h540r718');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.jmp.com/t5/video/gallerypage/video-id/6385924299112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P&gt;It works fine for simple replacements. However, in general, the selected rows won't correspond to a specific value in the target column.&lt;BR /&gt;So, the demo case is not ideal. Sorry.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Dec 2025 08:29:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fast-way-to-replace-selected-entries-with-a-new-value/m-p/917394#M107704</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-12-04T08:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Fast way to replace selected entries with a new value</title>
      <link>https://community.jmp.com/t5/Discussions/Fast-way-to-replace-selected-entries-with-a-new-value/m-p/917395#M107705</link>
      <description>&lt;P&gt;And how to select rows? -&amp;gt; take care there are no variable inside the search expression !&lt;/P&gt;
&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6385925089112w716h540r163" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6385925089112" data-account="6058004218001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6058004218001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6385925089112w716h540r163');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.jmp.com/t5/video/gallerypage/video-id/6385925089112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2025 23:37:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fast-way-to-replace-selected-entries-with-a-new-value/m-p/917395#M107705</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-12-03T23:37:10Z</dc:date>
    </item>
  </channel>
</rss>

