Dear Community,
I've been struggling for a while now, trying to have a Dialog ^TABLENAME reference filled in an Application Dialog Title.
It seems that it only reacts to a Current DataTable being already loaded when my app is launched.
But this is in fact the purpose of Dialog1, to chose what Data Table to open, starting from nothing:
The issue here is that even though Dialog1 script ends with opening a chosen Data Table, Dialog2 Title TABLENAME remains empty:
I already tried several syntaxes at the end of Dialog1 script, with no change
OnNext1 = Function( {},
file_path = FilePath << GetText();
If ( file_path != "",
//IST Text File
dt = Open(
file_path,
...
);
dt << CurrentDataTable();
CurrentDataTable( dt );
Dialog2 << CreateInstance( dt );
}
Any suggestion on how to push my "dt" Data Table into this ^TABLENAME reference, in a Dialog Title?
Thanks
Stéphane DELACROIX
Senior Simulation & Planning Engineer