Choose Language Hide Translation Bar
Highlighted
Herrera5238
Level III

Close data table before stop() gives I/O problem

Hello,

 

I'm receiving this error

I/O problem.
Unable to open in ReadWrite mode.
The system cannot find the file specified.

Test.jmp

When I run a script like this.

dt = Open Database(
		connection,
		query,
		"Test"
	);
	
	
	list = :aColumn << Get Stored Values;
	

selection = Expr(

window = New Window ("Selection",
	<<Modal,
	PanelBox("Selection",
		rbox = RadioBox( list, value = rbox << Get Selected;),
		value = rbox << set(1);
		value = rbox << Get Selected;			
	);
);

If( window == {Button( -1 ) }, 
	 Close(dt);
	 Stop();
);
	
);

selection;

I'm not to sure what I'm doing wrong? 

 

Thank You


Daniel

Article Labels