cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
OneNorthJMP
Level V

Adding Tabulate Table into journal

I try to add a tabulate table into my journal for reporting. But i been stuck in JSL with error and the tabulate table is not able to add into journal. Please advise what am i missing? 

 

Names Default To Here( 1 );
Clear Symbols();
Clear Log();
Close All( Data Tables, NoSave );
Close All( Journals, NoSave );

//Journal
nw = New Window( "Reports",
	<<Journal,
	hlb = H List Box(
		lub = Lineup Box( N Col( 1 ) )
	)
);

lub << Append ( sb = Spacer Box( size (10, 500), color ("White") ) );
lub << Append( tb = Text Box( "VENUS SMIC CYCLING REPORT " || Short Date( Today() ) ));
tb << Set Font Size( 20 ) << Set Font Style( "Bold" ) << Justify Text( "Center" );
tb << set width(1500) << set wrap((1500));
lub << Append( Page Break Box() );


//*************************************
dt_source = Open( "TEST.jmp" );

dt_source:hardbin << Data Type( Character );

dt_source << New Column( "FFT", "Character", "Norminal", 
	Formula(
		If( :hardbin == 1,
			"Pass;1",
			Char( :Name( "failtest_name,0,0" ) || ";" || Char( :Name( "failtest_number,0,0" ) ) )
		)
	)	
);


obj_table = dt_source << Tabulate(
	Show Control Panel( 0 ),
	Add Table(
		Column Table( Grouping Columns( :Wafer ) ),
		Row Table(
			Grouping Columns( :hardbin, :BinName, :FFT ),
			Statistics( Name( "% of Total" ) )
		)
	)
);

lub << Append( obj_table ); // where i got the error
1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Adding Tabulate Table into journal

You need to reference the report object from the Tabulate

lub << Append( Report( obj_table ) );
Jim

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: Adding Tabulate Table into journal

You need to reference the report object from the Tabulate

lub << Append( Report( obj_table ) );
Jim
OneNorthJMP
Level V

Re: Adding Tabulate Table into journal

Thanks Nelson. It work