I like to pass to "QueryRun" a View. if I put this line I have error in visual studio :
ProjPostTransView = queryRun.get(tablenum(ProjPostTransView));
but if I put this line I don't have any error :
custTable = qeuryRun.get(tablenum(CustTable));
this last line don't generate error because I feel "table" to "queryrun". and now I need to past a "View" not table.