Display currently imported records in a form

Hi All,

I have a excel import program to insert record into custom table. Post insertion, a screen will be displayed. Currently, that form shows all the records from custom table. This form should show only the imported record. How can I show only the currently imported record in the form ? Could it be done by passing ‘dataset’ or ‘record’ to the form ?

Regards,

Raghav.

You can use args class to open a form and even pass a record to open the form with that record

static void openSalesTable(Args _args)

{

Args args = new Args();

FormRun formRun;

SalesTable salesTable = SalesTable::find(‘SO-100009’);

;

args.name(formstr(SalesTable));

args.record(salesTable);

formRun = classfactory.formRunClass(args);

formRun.init();

formRun.run();

formRun.wait();

}