<?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 Close data table before stop() gives I/O problem in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Close-data-table-before-stop-gives-I-O-problem/m-p/275633#M53488</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm receiving this error&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;I/O problem.&lt;BR /&gt;Unable to open in ReadWrite mode.&lt;BR /&gt;The system cannot find the file specified.&lt;/P&gt;&lt;P&gt;Test.jmp&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;When I run a script like this.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open Database(
		connection,
		query,
		"Test"
	);
	
	
	list = :aColumn &amp;lt;&amp;lt; Get Stored Values;
	

selection = Expr(

window = New Window ("Selection",
	&amp;lt;&amp;lt;Modal,
	PanelBox("Selection",
		rbox = RadioBox( list, value = rbox &amp;lt;&amp;lt; Get Selected;),
		value = rbox &amp;lt;&amp;lt; set(1);
		value = rbox &amp;lt;&amp;lt; Get Selected;			
	);
);

If( window == {Button( -1 ) }, 
	 Close(dt);
	 Stop();
);
	
);

selection;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I'm not to sure what I'm doing wrong?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 23:30:25 GMT</pubDate>
    <dc:creator>Herrera5238</dc:creator>
    <dc:date>2023-06-09T23:30:25Z</dc:date>
    <item>
      <title>Close data table before stop() gives I/O problem</title>
      <link>https://community.jmp.com/t5/Discussions/Close-data-table-before-stop-gives-I-O-problem/m-p/275633#M53488</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm receiving this error&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;I/O problem.&lt;BR /&gt;Unable to open in ReadWrite mode.&lt;BR /&gt;The system cannot find the file specified.&lt;/P&gt;&lt;P&gt;Test.jmp&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;When I run a script like this.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open Database(
		connection,
		query,
		"Test"
	);
	
	
	list = :aColumn &amp;lt;&amp;lt; Get Stored Values;
	

selection = Expr(

window = New Window ("Selection",
	&amp;lt;&amp;lt;Modal,
	PanelBox("Selection",
		rbox = RadioBox( list, value = rbox &amp;lt;&amp;lt; Get Selected;),
		value = rbox &amp;lt;&amp;lt; set(1);
		value = rbox &amp;lt;&amp;lt; Get Selected;			
	);
);

If( window == {Button( -1 ) }, 
	 Close(dt);
	 Stop();
);
	
);

selection;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I'm not to sure what I'm doing wrong?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:30:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Close-data-table-before-stop-gives-I-O-problem/m-p/275633#M53488</guid>
      <dc:creator>Herrera5238</dc:creator>
      <dc:date>2023-06-09T23:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Close data table before stop() gives I/O problem</title>
      <link>https://community.jmp.com/t5/Discussions/Close-data-table-before-stop-gives-I-O-problem/m-p/277744#M53950</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just wanted to share that I found that if I add No Save to the close statement I do not get an I/O error.&lt;/P&gt;&lt;P&gt;So once I changed my close statement from&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Close(dt);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;to&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Close(dt, No Save);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I had no error.&lt;/P&gt;&lt;P&gt;Not sure as to why but this resolved the issue I was experiencing on this post but it did.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 20:36:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Close-data-table-before-stop-gives-I-O-problem/m-p/277744#M53950</guid>
      <dc:creator>Herrera5238</dc:creator>
      <dc:date>2020-07-09T20:36:45Z</dc:date>
    </item>
  </channel>
</rss>

