Dears,
i am overriding the JumpRef() method on my form using the below code
public void jumpRef()
{
FormRun formRun;
Args args = new Args();
super();
args.lookupTable(tableNum(XXX));
args.lookupField(fieldNum(XXX,ZZ));
args.lookupValue(XXX.ZZ);
args.lookupRecord(XXX::find(XXX.ZZ));
args.name(formStr(YYY));
formRun = ClassFactory.formRunClass(args);
formRun.init();
formRun.run();
formRun.wait();
formRun.detach();
}
the issue is when i click on the ID in the List form to open the new form, it doesn't select automatically the selected ID in the new form but always the new form is selecting the first ID.
i found out that the query range used on the new form is affecting the jumpref() cause after commenting the query range code everything worked just fine.
Any idea how to use Jumpref with QueryBuildRange ?
if any other requirement are necessary please tell me.
Regards,