Kbase 15102: 4GL access to table ( file ) names and field names in db
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/10/1998 |
|
4GL access to table ( file ) names and field names in db
To access the table names (or, in Version 6, file names) and field
names in the 4GL, use the metashema.
Hidden fields have names beginning with an underscore ("_"). These
can be omitted by testing for the existence of an underscore as the
first character in the fieldname:
FOR EACH _file, EACH _field OF _file:
IF SUBSTRING(_field._field-name, 1, 1) <> "_" THEN
DISPLAY _file._file-name _field._field-name.
END.
Metaschema is documented in Section 15.4.6 in the Version 6
"PROGRESS Programming Handbook" or Appendix B in the Version 7 SQL
Guide and Reference manual.
Progress Software Technical Support Note # 15102