Re: Button disappears when form run...

From: DA Morgan <damorgan_at_exesolutions.com>
Date: Fri, 20 Dec 2002 15:37:50 -0800
Message-ID: <3E03A9CE.268CBFA3_at_exesolutions.com>


Karsten Farrell wrote:

> pixelmeow wrote:
> > On Thu, 19 Dec 2002 21:48:27 GMT, in comp.databases.oracle.tools,
> > Karsten Farrell <kfarrell_at_belgariad.com> scribbled:
> >
> >
> >>pixelmeow wrote:
> >>
> >>>Hello, all.
> >>>
> >>>I am trying to learn Forms 4.5 (on win98se) on Oracle 8.1.5 (on
> >>>winnt4) while I work on an application. At the moment, all I have to
> >>>do is put two buttons on a form, and make the code that opens another
> >>>form when either button is pushed.
> >>>
> >>>I've got the buttons on the form, and have got some code (that doesn't
> >>>work correctly yet) in the triggers, and when I run this form itself I
> >>>can see the buttons. But this form is called from the menu of the
> >>>main form, and when I run the program that way, I can't see the
> >>>buttons (or any other changes I make).
> >>>
> >>>I don't know what I've done wrong; is there some way to set this up so
> >>>that when I run the main form from inside Forms I can be certain it
> >>>runs the form I'm editing? I'm saving between running and coding,
> >>>have made certain I'm saving to the correct directory on the correct
> >>>drive, but am so frustrated...
> >>>
> >>>TIA...
> >>
> >>Does the main form simply call your form by name (relative path or a
> >>specific path)? Do you know what FORMS45_PATH is set to? Look in the
> >>registry (under HKLM\oracle\software\home<n>) or in your local client's
> >>environment variables.
> >
> >
> > The main form has one page that is the logon to the database, another
> > page that is just a picture to attach the menu to. The menu is
> > another form, and I'm sorry that I don't know enough about this yet to
> > tell you how the menu is called, but I do know that the trigger for
> > the menu item calls the form I'm editing by name. Not path.
> > Specifically, "NAME_CALL_FORM('FORMNAME');". This procedure reads:
> >
> > PROCEDURE name_call_form(form_name in varchar2) IS
> > BEGIN
> > call_form(form_name,no_hide,Do_replace);
> > END;
> >
> > I tried renaming this and using No_replace, just to see what would
> > happen, and I didn't notice a change.
> >
> > I also tried cutting the buttons from the block they are on and
> > pasting them to other blocks, but I must just not know how to
> > manipulate this editor the right way. I was not able to paste them
> > anywhere else, the "paste" option was grayed out. I was able to do
> > this the other day, and learned about how the block applies the
> > multiplicity of the objects on it to *all* the objects on it... (why
> > are there suddenly 9 push_buttons???)
> >
> > I'm also looking around the internet for tutorials, all of which are
> > pretty straightforward, but since I'm not building from scratch, I'm
> > not sure how to find what I need.
> >
> > As to the registry, it reflects the Oracle_Home that I've searched
> > already for like file names. No luck there, there is no other file
> > with this name and I haven't figured out yet how to point the relative
> > form name to a particular file.
> >
> > Thanks for your help so far. :-)
> I've never met anyone who liked the Forms IDE except those who've never
> used any other IDE. Your comment about 9 push_buttons brought a smile to
> my face. Laughing with you, not at you. How many times have I wanted to
> do something very simple in Forms ... only to end up more frustrated
> than I get with some drivers (?) on the freeways.
>
> Don't take this wrong, I'm not trying to talk down to you ... but you
> did compile your form after you made changes, right? Did you try to
> supply the path? You might replace the call_form with a new_form to see
> if it's something the child form is inheriting from the parent.
>
> There isn't much in the way of how-to books on Forms (I guess everyone
> has gone to Java and the web). Do you have a copy of the Developer/2000
> Forms book by Lulushi? It's a very fat book with very little substance,
> but does have some useful tips in it.
>
> Sorry I can't be of more help. Remote debugging is tough ... maybe
> that's why I've never worked in tech support. :)

Time for change. I've worked in a number of IDEs. At least a half-dozen and a few of them for years. And the only problem I have with the Forms IDE is that sometimes I forget where a particular option is located.

So while you've never met me ... you are aware of at least one person that think's it is a very good environment. Part of what I especially like is the way inheritence and polymorphism are implemented.

Dan Morgan Received on Sat Dec 21 2002 - 00:37:50 CET

Original text of this message