Silly javascript question, open a database

Hello people,

I am going blind and dumb.

I need to open a database and in that database a specific form.

This needs to open in a new browser window with no address bar, specific size, no scroll bars etc. It is for a training course.

Now, all I can use as an url is a normal url, server/database/page?openpage for instance. I can’t use a javascript in the original database.

This works, it opens the page, then an onload event opens a new page with the training in it, thru a little javascript.

But I do not want that first page to open. I would like a javascript to run the moment I open the database itself.

I use the following code in the page:

window.open (“./database/Start?openForm”, “training”,“location=0,toolbar=0,status=0,scrollbars=0, width=1017,height=679”)

I cannot get it to work without first opening the page. I really am looking at the screen blankly here, just don’t get it anymore. Must be friday.

Any ideas?

Thanks in advance.

Lykle Schepers

Subject: silly javascript question, open a database

You can change the launch properties of the database (for the web) to open a page or the “About Document”. Then on the page or about document put pass thru HTML that includes tags. Put your javascript inside the script tags.

The when you navigate to the database with a url database.nsf?open, your javascript will run.