CS0120 data to accpac finder in COM API

SUGGESTED

Is that possible to add CS0120 data to accpac finder in COM API, after browse the sql statement.

mDBLinkCmpRW.OpenView("CS0120", out csQry);
sSQL = "Select Name, Description from MYDB.dbo.Table";
csQry.RecordClear();
csQry.Browse(sSQL, true);
csQry.InternalSet(256);     // Refresh the View's MetaData

ViewFinder myfinder = new ViewFinder();

int[] DispArr = new int[5] { 1, 2, 3, 4, 5 };  // the array of field IDs that will be displayed in the finder’s columns
myfinder.Session = mAccpacsession;
myfinder.ViewID = "CS0120";
myfinder.DisplayFieldIDs = DispArr;
myfinder.ReturnFieldIDs = 1;
myfinder.Finder();

Parents Reply Children
No Data