16 November 2010

Report Query using for To get record in fetch

------------
//Suud is Table(DS)
//qr is object for QueryRun class
------------
public boolean fetch()
{
boolean ret;
QueryRun qr;
;
qr = new QueryRun(this.query());//
// following statement is executes depends on count of records in table

while(qr.next())
{
Stud = qr.get(tablenum(Stud));// getting table num

while select Stud
{
this.send(Stud);
}
}
//ret = super();

return true;
}
-------

No comments:

Post a Comment

Give me the commetns and solutions

How to add the Display method in the form level in D365 F&O

 The below examle is to add the form -Data source level adding display method and assigning to form design control.