Forum Post: Is it possible to retrieve a handle to the database table(s) referenced in a query...

  • Thread starter Thread starter romelwell
  • Start date Start date
Status
Not open for further replies.
R

romelwell

Guest
Setup (running OE 10.2b): DEFINE BUFFER EMPemployee FOR employee. DEFINE BUFFER EMPdepartment FOR department. DEFINE QUERY qryEmployee FOR EMPemployee, EMPdepartment. DEFINE hdlDBTable AS HANDLE. ... hdlDBTable = QUERY qryEmployee:HANDLE:GET-BUFFER-HANDLE (1): WHAT GOES HERE . QUESTION: What I am ultimately trying to retrieve are handles to the DB tables ('Employee', 'Department') referenced by the buffers in the query object. For example, if I use QUERY qryEmployee:HANDLE:GET-BUFFER-HANDLE (1):NAME, the output value is 'EMPemployee'. I am not concerned with the name of the associated buffer, rather a handle to the underlying DB table. Thanks in advance for any advice you care to share.

Continue reading...
 
Status
Not open for further replies.
Back
Top