How to find the Table name if field name is known (Progress4GL)

Below query will be used to find the Table name if field name is known. We have taken the example of field idh_part.
/**************************************************/

find first _field no-lock where _Field-name = "idh_part" .
if avail _field then do:
   find first _file no-lock where RECID(_File) = _Field._File-Recid .
      if avail _file then
            DISPLAY _File-name _Field-name.

    end.
/*************************************************/

Comments

Popular posts from this blog

Progress 4GL interview questions for QAD technology

QAD interview questions for SE and Eb2 version

Use of API in QAD EE