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.
/*************************************************/
/**************************************************/
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