Hallo an alle,
Ich habe diesen Nachrichtenfehler:
Name nicht aufgelöst: prod_n beim Zugriff auf oder Auswertung von "prod_n"
...

Hier ist mein Programm:
If( prod_n == 3,
Include( "Utils/utils_data.jsl" );
Include( "Utils/utils_menu.jsl" );
// Table des limites
limite_table = load_limit_table(D);
// Table principale
main_table = load_main_table(D);
Current Data Table( RAW_DATA_TABLE );
New Window( "Test",
V List Box(
coltstst = RAW_DATA_TABLE <<
Column Switcher(:Name("Y"),list),
graph = RAW_DATA_TABLE <<
Control Chart Builder(
Size( 534, 450 ),
Show Two Shewhart Charts( 0 ),
Show Control Panel( 0 ),
Sort by Row Order( 1 ),
Show Limit Summaries( 0 ),
Variables( Y( :"Y" ),Subgroup( :X ), Phase(:"Version")),
Get Limits(LIMIT_TABLE),
),
N = N Items( phaseLevels );
// On met en forme les lignes
For( i = 1, i <= N Items( phaseLevels ), i++,
graph << SendToReport(
Dispatch(
{},
"Control Chart Builder",
OutlineBox,
{Set Title( "Représentation graphique" )},
FrameBox( 2 ),
{
DispatchSeg( Line Seg( Eval(3*i+N-2) ), {Line Color( "Medium Light Green" ),Line Style( "Dotted" ), Line Width( 1.5 )} ),
DispatchSeg( Line Seg( Eval(3*i+1+N-2) ), {Line Color( "Medium Light Orange" ), Line Style( "Dotted" ), Line Width( 2.5 )}),
DispatchSeg( Line Seg( Eval(3*i+2+N-2) ), {Line Color( "Medium Light Red" ), Line Style( "Dotted" ), Line Width( 2.5 )})
}
)
)
)
);
);
coltstst << Link Platform( table );
coltstst << Link Platform( Cadreall );
coltstst << Link Platform( graph );
ncols = n items (coltstst << get list);
for each ({i}, 1::ncols,
cadreall << journal;
table << journal;
graph << Journal;
coltstst << next;
);
RAW_DATA_TABLE <<JOURNAL></JOURNAL>Das Programm funktioniert gut, aber ich bekomme immer diese Meldung.
Haben Sie einen Vorschlag, mir zu helfen?
Sebastian
Der Grund für diesen Fehler ist, dass zum Zeitpunkt der Ausführung der spezifischen Codezeile prod_n nicht im Speicher vorhanden ist.Möglicherweise möchten Sie vor der If()-Klausel hinzufügen
If( isEmpty( prod_n ), prod_n = .);
Super es funktioniert! Vielen Dank!