Hi guys,
I have a RunBaseBatch class which mainly will be running on batch. But this class will also available on a form for manual run.
As far as I know, to "identify" whether this class is called by a form or not, I need to have this statement :
if (callerForm.name() == formstr(MyForm))
{
.....
}
Question is how to reach the form control as well ? because after this class is ran completely (when it is called from the FORM), I will need to direct the TabPage of MyForm. So in that form I have two TabPage : Detail and Overview Grid, just like SalesTable form when we open first time will be the grid list and we can click SalesId then it will switch to Detail TabPage. So I want to direct the form to always viewing the TabPage that contain/display the GridList right after my RunBaseBatch completed.
Thanks