View Single Post
 
Old February 17th, 2005, 10:59 PM
dlamarche dlamarche is offline
Authorized User
 
Join Date: Feb 2005
Location: Frankston South, Victoria, Australia.
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Humm Bob, thank you very much for the simplest answer I could dream of. I had not even think about the RunCommand method. Funny coz I do used it to save a record and other useful thing.

I really appreciate that you spent a few minutes answering this one.

Daniel

Here's the somple code that I can now use:

Private Sub Form_Load()
    If Me.OpenArgs = "NewEntry" Then
        Me.sforTesting.SetFocus
        DoCmd.RunCommand acCmdRecordsGoToNew
        DoCmd.GoToControl "FinDetailMontant"
    End If
End Sub



Daniel