Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 73760

Populating a temp table datasource in Query Object

$
0
0

I am trying to populate a datasource in a Query object in the AOT. The table is a temp table and I placed the code to populate the table in the init method of the query object


public void init()
{
 TmpTable tmpTableInstance;
 int counter;
 
 while select stuff
 {
  tmpTableInstance.clear();
  ....do stuff...
  tmpTableInstance.insert();
  counter++;
 }

 //At this point I display an infolog for the counter and it is 59 so I have definitely inserted records.
 this.setCursor(tmpTableInstance);
 super();
}


However when I use my query object in a listpage form there is no data there at all. Any ideas? I want to use a listpage for ease in deployment to EP and maintain only one form.

Thanks in advance for your help. I relaly need to get this figured out! :)


Sincerely,
Anna P

 


Viewing all articles
Browse latest Browse all 73760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>