Despite the fact that you give the Record Source as Outward (which I assume is a Table) your Form is, in fact, Unbound...because all of the Controls, as shown on your screenshot of the Design View, are Unbound! And hence, you cannot go to a New Record...because Unbound Forms have no Records! They only contain Controls that you can enter data into...you are not creating a 'record.'
To do what I think you want...you need to send your data to the Table, via your
CurrentDb.Execute "INSERT INTO Outward...
statement...then simply clear the Controls on your Form.
But as isladogs asked...why are you using an Unbound Form?
Why not simply give each of your Unbound Controls a Control Source from your Record Source, i.e. Outward?
Using Unbound Forms really does away with the basic function of Access, which is to facilitate RAD (Rapid Application Development) and should only be attempted by very experienced Access developers, and then only when/if a legitimate purpose requires it, and most situations don’t! You don't need Unbound Forms to
- Do Data Validation
- Prevent Duplicate Records
- Do Formatting of Data before it's Saved
- Decide whether or not to actually Save a New or Edited Record
which are the most common reasons given. Nor are they needed for another dozen reasons I've seen people give!
Several developers I know, experienced in Visual Basic database development and Access development, estimate that development, using Unbound Forms, by highly experienced developers, takes two to three times as long, using Unbound Forms, as it does when using Access and Bound Forms. That’s because with Bound Forms the Access Gnomes do the vast majority of the heavy lifting; with Unbound Forms the developer has to write code for everything...even the most mundane tasks!
Bottom line is…with Bound Forms you end up writing code for a few specialized situations, such as #1-#4, as listed above…and with Unbound Forms you have to write code for virtually everything that needs to be done!
If you insist on using Unbound Forms, you'd be far better off using a straight VB or C++ front end with a SQL Server or Oracle back end.
- You can create an EXE file which gives total protection to your code/design
- You can distribute the db to PCs without a copy of Access being on board
- Your data security is far, far better than anything you can do in Access
Don't misunderstand me...there are a few, specialized situations, where an Unbound Form is preferable...but anyone who routinely uses them for everything, has simply made a bad choice in deciding to work in Access.
Linq ;0)>
The problem with making anything foolproof...is that fools are so darn ingenious!
All posts/responses based on Access 2003/2007