Re: HELP: Power Objects
Date: 1995/11/22
Message-ID: <bazaar-2211951647530001_at_192.0.2.1>#1/1
In article <48qk5l$22h_at_pcnet2.pcnet.net>, Sman Hansrisuk <smanhans_at_pcnet.com> wrote:
>I am a new user of Oracle. Can anyone tell me what I'am doing wrong?
>I have an ammplication to a form using:
>
>In the click()method code I inserted this myform.OpenWindow()
>
>When I try to run it I always get
>
>BAS-01010: Object value required
>
>Even in the samples that come with the software behave the same way.
>Please help. Thanks
>
>Sman
If you are running a form (as opposed to running the whold application) then won't be able to test this out, because a locally running form doesn't know about any other forms. You must run the whole application.
If you haven't already, you need to open the main form when the application is run. To do this, open the application window. In the properties window (for the application) in the OnLoad() method, you should open the form that is the main window (form) for the application with the frmMain.OpenWindow() message (substituting the name of your form for "frmMain" of course). When the main window form opens, then you should be able to click on the button that has the other OpenWindow() message in the click() method.
If this isn't clear, email me and I'll attempt to explain further.
jay (bazaar_at_netcom.com)
-- +---------------------------+ | Jay M. Martin | | Macintosh Developer & | | Integration Consultant | | bazaar_at_netcom.com | +---------------------------+Received on Wed Nov 22 1995 - 00:00:00 CET