Re: Newbie FORMS Question
Date: 1998/01/09
Message-ID: <01bd1d28$5a0de7c0$764c1bcc_at_toddo.gcr1.com>#1/1
Ed,
A form is not chained to a database table. A form is composed of blocks, which usually are (but do not have to be) based on a database table (i.e., the items in the block correspond to columns in the table). If a block is based on a table, it is called a base table block. Otherwise, it is called a control block.
To accomplish what you want, create a separate form for your main menu and for each sub-module. The main menu form will have one control block containing a button for each sub-module. In the When-Button-Pressed trigger for each button, issue a CALL_FORM, OPEN_FORM, or NEW_FORM command to invoke the appropriate form for that sub-module. There are slight differences between the functionality of these three commands; the Forms 4.5 documentation explains them adequately.
Each sub-module form may contain multiple base table and/or control blocks.
Hope this helps.
Todd Owers
Ed Jennings <e.jennings_at_domain-tech.com> wrote in article
<34B626DD.3111_at_domain-tech.com>...
> I'm not new to Oracle, but I've never used FORMS before. I have an
> application that is divided into sub-modules. I want the opening screen
> to be a series of buttons that allows the user to choose which module to
> enter. I find FORMS confusing in this regard. It appears that each
> form needs to be chained to a table (or maybe not). Can someone send me
> an example of how this is accomplished, or at leat explain the
> mechanics. My FORMS class is many weeks away and I can't wait.
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Ed Jennings
> Database Engineer
> DOMAIN technologies, Inc.
> e.jennings_at_domain-tech.com
>
> The opinions expressed are my own and not those of DOMAIN technologies.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
Received on Fri Jan 09 1998 - 00:00:00 CET