Just create a script that goes to the layout that you want ( you can set this in the file options as well ) , and then a new record command.
Go to Layout [ "YourLayout" ]
New Record / Request
Although I dont really agree that an opening script should really be creating a new record...
Thanks for the response. In hindsight you're probably right, I don't want to keep creating new blank records. Is there a way to open the database in "search" mode. At this point, when I open the database, I have an opening menu layout. Once I click on one of the options, i.e. "Clients", how do I set it up so it goes to the Client layout in search mode?
Make the button go to the layout and then enter find mode.
You can also define a series of global fields and use them to build a "search" layout. The user then enters search criteria in browse mode, clicking a button to trigger a script. The script then uses the values in the global fields to build the necessary find requests, performs the find, sorts the new found set and does any other steps needed to handle the results of the performed find.
I am creating a database of test scores, and the only thing I want my users to do is to enter new records (or in some cases, finish an incomplete one). In that case, wouldn't it be right to have it open up to New Record?
Personally, I would have the Dbase open to a search layout as described by Phil.
That layout would have the search globals on it, as well as a "Find an existing test" button and a "Create a new test" button.
Opening onto this type of layout bypasses the issue of opening to an exisiting test and allows you to control who can see which tests (should you want to build that function in later). It also bypasses the issue of creating new records every time you log on.
Thank you! Now I just have to figure out how to define a series of global fields and use them to build a "search" layout! This has been a big learning curve for me, but I really appreciate the help.