Answered How to Display a RowID of any record of database Table?

reynold12

New Member
Hello All,

Could anyone please answer, that How can I see the rowid of any particular record of any database table?

I am using OpenEdge 11.1 and Windows server 2008.

Is it possible to view the rowid using display statement or any other way ??

Thanks.
 

Cringer

ProgressTalk.com Moderator
Staff member
Not 100% sure what you want, but this code snippet might help?

Code:
find first address no-lock. 
def var lv-c as char no-undo. 
lv-c = string(rowid(address)).
message lv-c  view-as alert-box.

find address no-lock 
  where rowid(address) eq to-rowid(lv-c).
 

Rob Fitzpatrick

ProgressTalk.com Sponsor
How about

Code:
find mytable where /* some condition */.
display recid(mytable).

More to the point, what do you want to do with the recid/rowid once you have it?
 
Top