3237_de-DE
Table in eine Tablebox bekommen?Ich dachte, das wäre sehr elementar, aber ich scheine das nicht herauszufinden. Ich möchte die Daten und Spaltennamen einer Tabelle in eine TableBox () in einem NewWindow () einfügen, das ich erstellt habe [kein Journal]. Die TableBox () - Informationen im Scripting Guide helfen nicht.
Anmerkung: Die Tabelle enthält gemischte Daten, daher kann Get As Matrix nicht zuerst geladen werden.
dt = aktuelle Datentabelle ();
Neues Fenster ("Bob",
TableBox ()
);
Ideen?Re: Tisch in eine Tablebox bekommen?Okay, umgesetzt. Lief wie am Schnürchen. Danke noch einmal.Re: Tisch in eine Tablebox bekommen?Ich habe keinen einfacheren Weg gefunden. Wenn Sie viele Spalten haben, können Sie den Code in einer Schleife generieren und dann eval (parse ()) verwenden.
Kein Hinweis auf den Abstand zwischen den Grenzen. Ich denke, es ist eine JMP-Funktion.Re: Tisch in eine Tablebox bekommen?Das ist etwas mehr Code, als ich erhofft hatte. Ich wünschte, es gäbe eine "getaslist" -Funktion, um eine Tabelle mit nicht-numerischen Daten zu fangen. Es macht jedoch die Arbeit sehr gut. Ich werde das einfügen! Danke eine Milliarde!
Gibt es Hinweise, warum in der Ausgabe die Grenzen zwischen Alter und Geschlecht getrennt sind?
kann nicht tippen
Nachricht wurde bearbeitet von: The ChaddRe: Tisch in eine Tablebox bekommen?Hier ist der Ansatz, den ich verfolge. Unsere Benutzer lieben die Schaltflächen zum Speichern und Schließen.
style = "font-size: 10pt; font-family:" Courier New "; Farbe: grün;"> / *
Beispiel Tablebox-Ausgabe * /
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;"> dt
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;"> =
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; color: rgb (0, 0, 221);"> öffnen
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;"> (
style = "font-size: 10pt; font-family:" Courier New "; Farbe: lila;"> "$ sample_data \ big
class.jmp "
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">)
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">;
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;"> name_list
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;"> =
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; color: rgb (0, 0, 221);"> spalte
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;"> (
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;"> dt
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: lila;"> "name"
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">)
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;"> <<
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
Werte erhalten
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">;
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;"> age_list
style = "">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;"> =
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; color: rgb (0, 0, 221);"> spalte
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;"> (
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;"> dt
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: lila;"> "age"
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">)
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;"> <<
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
Werte erhalten
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">;
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;"> sex_list
style = "">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;"> =
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; color: rgb (0, 0, 221);"> spalte
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;"> (
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;"> dt
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: lila;"> "sex"
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">)
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;"> <<
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
Werte erhalten
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">;
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;"> ht_list
style = "">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;"> =
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; color: rgb (0, 0, 221);"> spalte
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;"> (
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;"> dt
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: lila;"> "height"
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">)
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;"> <<
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
Werte erhalten
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">;
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;"> wt_list
style = "">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;"> =
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; color: rgb (0, 0, 221);"> spalte
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;"> (
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;"> dt
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: lila;"> "weight"
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">)
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;"> <<
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
Werte erhalten
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">;
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;"> bg_win
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;"> =
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; color: rgb (0, 0, 221);"> new
Fenster
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;"> (
style = "font-size: 10pt; font-family:" Courier New "; Farbe: lila;"> "Groß
Klasse
als Tablebox "
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "">
style = "font-size: 10pt; font-family:" Courier New "; color: rgb (0, 0, 221);"> hlist
Box
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;"> (
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "">
style = "font-size: 10pt; font-family:" Courier New "; color: rgb (0, 0, 221);"> -Taste
Box
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;"> (
style = "font-size: 10pt; font-family:" Courier New "; Farbe: lila;"> "Speichern
zu
MSWord "
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "">
bg_box
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;"> <<
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
Speichern Sie Msword (
style = "font-size: 10pt; font-family:" Courier New "; Farbe: lila;"> ""
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
Native )
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">;
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "">
)
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "">
style = "font-size: 10pt; font-family:" Courier New "; color: rgb (0, 0, 221);"> -Taste
Box
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;"> (
style = "font-size: 10pt; font-family:" Courier New "; Farbe: lila;"> "Close"
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
bg_win
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;"> <<
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
Fenster schließen )
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">;
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "">
)
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "">
bg_box
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;"> =
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; color: rgb (0, 0, 221);"> table
Box
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;"> (
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "">
style = "font-size: 10pt; font-family:" Courier New "; color: rgb (0, 0, 221);"> stringcolbox
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;"> (
style = "font-size: 10pt; font-family:" Courier New "; Farbe: lila;"> "Name"
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
Namensliste )
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "">
style = "font-size: 10pt; font-family:" Courier New "; color: rgb (0, 0, 221);"> numbercolbox
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;"> (
style = "font-size: 10pt; font-family:" Courier New "; Farbe: lila;"> "Age"
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
age_list )
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "">
style = "font-size: 10pt; font-family:" Courier New "; color: rgb (0, 0, 221);"> stringcolbox
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;"> (
style = "font-size: 10pt; font-family:" Courier New "; Farbe: lila;"> "Sex"
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
sex_list )
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "">
style = "font-size: 10pt; font-family:" Courier New "; color: rgb (0, 0, 221);"> numbercolbox
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;"> (
style = "font-size: 10pt; font-family:" Courier New "; Farbe: lila;"> "Height"
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
ht_list )
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "">
style = "font-size: 10pt; font-family:" Courier New "; color: rgb (0, 0, 221);"> numbercolbox
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;"> (
style = "font-size: 10pt; font-family:" Courier New "; Farbe: lila;"> "Gewicht"
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">,
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
wt_list )
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "">
)
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">)
style = "font-size: 10pt; font-family:" Courier New "; Farbe: navy;">;
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; font-family:" Courier New "; Farbe: grün;"> //
{Einfarbig, Mit Rand, Geprägt,
Abgeschrägt, Überschriftenseparator}
style = "font-size: 10pt; font-family:" Courier New "; Farbe: schwarz;">
style = "font-size: 10pt; Zeilenhöhe: 115%; font-family:" Courier New "; Farbe: schwarz;"> bg_box
style = "font-size: 10pt; Zeilenhöhe: 115%; font-family:" Courier New "; Farbe: navy;"> <<
style = "font-size: 10pt; Zeilenhöhe: 115%; font-family:" Courier New "; Farbe: schwarz;">
Tabellenstil ( Umrahmt )
style = "font-size: 10pt; Zeilenhöhe: 115%; font-family:" Courier New "; color: navy;">;
Comments
There are no comments yet