OnJournalFileSelected event

Arguments
Argument Description Type
bstrJournalFile String
Controls applied to
Batch Journal
Syntax
BatchJournalControl1.OnJournalFileSelected(bstrJournalFile)
Example

{
    if( Lyt.Variables[Dsp.BatchJournalControl1.PreviousJournalFile] != bstrJournalFile ){
        Lyt.Variables[Dsp.BatchJournalControl1.PreviousJournalFile] = bstrJournalFile;
        Lyt.Variables[Dsp.BatchJournalControl1.PreviousExecutiveNode] = Dsp.BatchJournalControl1.ExecutiveNode;
        Lyt.Variables[Dsp.BatchJournalControl1.LastSelectedRow] = 0;
    }
}catch (e){
    DL.SubmitDiagnosticFailure(Dsp.BatchJournalControl1, "BatchJournalControl", "OnJournalFileSelected failed with error: " + e.message);
}