A software system automatically and dynamically generates a fully
functional user interface (UI) based upon, and connected directly to, an
underlying data model (as instantiated within a relational database
management system (RDBMS)). The UI derives from an automated
interrogation of the RDBMS, and comprises all mode displays (e.g.,
browse, search, edit, add) for all tables, and a full complement of
mechanisms--integrated directly into the mode displays--for representing,
navigating, and managing relationships across tables, regardless of the
complexity of the underlying RDBMS schema. It utilizes a hierarchical
"context stack" for suspending the working state of a particular table
while "drilling down" to work with related-table information and return
relevant changes to the base table. The embodiment further provides
methods to enhance and extend the internal representation of table
structures, constraints, relationships, and special requirements
("business rules") for improved revelation of the schema structure
through external interrogation.