Hi, I have 2 suggestion about this.
First, you can write temptable_ds.executequery() after you get new temptable. Second, you can get all values in temptable first, then innerjoin with salesline. I hope, i didn't understand wrong your question. On Dec 14, 2007 3:28 AM, tangolp <[EMAIL PROTECTED]> wrote: > Hello, > > I have 2 grids on the same form. The top grid contains SalesLine > records. The bottom grid contains external data which is bound to a > temptable. I have no problem to display the SalesLine data in the top > grid. What I wanted to do was that when the user clicked on a record - > SalesLine - or on a grid row, a process will populate the temporary > table with external data by a calling a store procedure. I was able to > achieve this task by calling the Active mehtod. Everything is working > fine with the exception of refreshing the grid which bound to the > temptable. I checked the process by inserting info() statement in a > function to see if the records are inserted correctly in the temptable > and they did. Now the problem is to refresh the grid to display the > current data. For some reason, it always displayed the data that were > return in the FormRun.init(). Can someone help me? Thanks! > > > -- Ahmet TÜTÜNCÜLER [Non-text portions of this message have been removed]

