Entering new record on form

Ask a Question related to Microsoft Access, Design and Development.

  1. #1

    Default Entering new record on form

    How do I make the form go to a new record as I open it so
    it is ready to fill in.
    Diane Guest

  2. Similar Questions and Discussions

    1. Entering dates in dynamic form - how to get results?
      This is driving me batty - it should be easy! Confusing to explain, but I have a small database (Access) table with Employee and a FinishDate (date...
    2. Change form record to match another form
      I had a form with a lot of controls/subforms and this was causing my database to move slow. I decided to split the controls on two forms. Each...
    3. look up record using ste values from one form on another form
      it did not work here is the code i am using with the code you sent the command below operates off of a command button to find the record i want i...
    4. Entering multiple records with one form
      Hello, I am trying to setup a single form that will enter several records into a table at once. Does anyone have a hint as to how this might be...
    5. Entering data on a form?
      On Mon, 30 Jun 2003 12:29:02 -0700, "grace" <grace.paltrineri@libertymutual.com> wrote: As much as I hate Smartquotes (what newsreader are you...
  3. #2

    Default Re: Entering new record on form

    Hi Diane

    On the On Open event of the form insert the following:

    DoCmd.GoToRecord , , acNewRec

    Assuming you're using Access 2000

    HTH

    Debra

    "Diane" <illumin8_98@hotmail.com> wrote in message
    news:025501c3470a$33e77e00$a301280a@phx.gbl...
    > How do I make the form go to a new record as I open it so
    > it is ready to fill in.

    Debra Farnham Guest

  4. #3

    Default Re: Entering new record on form

    On Thu, 10 Jul 2003 10:39:24 -0700, "Diane" <illumin8_98@hotmail.com>
    wrote:
    >How do I make the form go to a new record as I open it so
    >it is ready to fill in.
    Two possibilities:

    - If you JUST want to enter data, and don't want to even see old
    records, set the DataEntry property of the Form to True.

    - If you want to default to entering new records, but still want the
    ability to scroll back and see old ones, put the following VBA code in
    the Form's Open event (by viewing the form's properties, finding the
    Open event on the Events tab, clicking the ... icon and choosing Code
    Builder):

    Private Sub Form_Open(Cancel as Integer)
    DoCmd.GoToRecord acNewRecord
    End Sub


    John W. Vinson[MVP]
    Come for live chats every Tuesday and Thursday
    [url]http://go.compuserve.com/msdevapps?loc=us&access=public[/url]
    John Vinson Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139