How to get rowid of currently selected row of dynamic browse

Posted by dnessapkota10 on 29-Jan-2013 06:06

I have created one dynamic borwse using dynamic query and buffer. And I made one updateable column. Now, what I need to do is to fetch the rowid of currently selected row.

What could be the solution?

Thanks in advance,

Dinesh

All Replies

Posted by rbf on 29-Jan-2013 06:18

Hi Dinesh,

The currently selected row is simply the record currently in your record buffer.

HTH

-peter

Posted by dnessapkota10 on 29-Jan-2013 23:28

Hi Peter,

What I need is rowid of currently modified cell of a row, where record buffer contains all the row. How can I fetch rowid of randomly updated row. How could I related this randomly selected row with the row of my current record buffer?

Expecting helpful code if possible.

Thanks,

Dinesh

Posted by rbf on 30-Jan-2013 02:34

Hi Dinesh,

dnessapkota10 wrote:

Hi Peter,

What I need is rowid of currently modified cell of a row, where record buffer contains all the row. How can I fetch rowid of randomly updated row. How could I related this randomly selected row with the row of my current record buffer?

Expecting helpful code if possible.

Thanks,

Dinesh

I am not sure I can follow you.

The record buffer always contains a single row at the time.

When you connect a browse (through a query) to the record buffer, the record buffer always contains the currently selected record in the browse.

Does that make sense to you?

Posted by dnessapkota10 on 30-Jan-2013 23:19

Thanks Peter,

I have fetched the current rowid by using following code,

Your reply helps me lot.

v-ok = v-query:get-current.
 
v-currentbuffer = v-query:get-buffer-handle(1).

/*v-currentbuffer:rowid*/

Regards,

Dinesh

This thread is closed