home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases.ingres
- Path: sparky!uunet!wupost!darwin.sura.net!uvaarpa!cv3.cv.nrao.edu!mail-to-news-gateway
- From: drcoles@somnet.sandia.gov (Dwight R Coles)
- Subject: Re: Dynamic FRS
- Message-ID: <9208172154.AA18712@somnet.Sandia.GOV>
- Sender: root@nrao.edu (Operator)
- Organization: National Radio Astronomy Observatory
- Date: Mon, 17 Aug 1992 21:54:03 GMT
- Lines: 27
-
- > (Mark Jaeger replies)
- > (Ron Haukenfrers) writes:
- > >
- > > Does anyone know of a way to dynamically create a field in an ingres form?
- > > I would like to create a field at runtime because it's datatype, length
- > > and attributes are all derived at runtime.
- >
- > This question has certainly come up before, and the sad answer is...no.
- > With standard character-cell-based FRS, you just can't do it. You might
- > be able to reverse engineer the forms system catalogs (ii_object,
- > ii_forms, ii_fields, and ii_trim), and create a form on the fly that
- > way, but it's probably a whole lot of work and not certain to succeed.
- >
- Yep, this CAN be done! I reverse engineered the FRS system catalogs
- enough to build a dynamic QBF capability for engineering data display,
- where I didn't know until run time what the user wanted to display.
- It is a lot of work, but surprisingly, it ran quickly. In addition, it
- had the capability of printing nicely formatted reports, based upon the
- same meta-data about the fields/columns.
-
- You don't get to use compiled forms, because you end up writing new
- form definition data into the system catalogs (win some, loose some).
-
- If you need the reverse-engineering information about what is where,
- let me know.
-
- Dwight Coles drcoles@sandia.gov
-