Results 1 to 3 of 3
  1. #1
    picyx is offline Novice
    Windows XP Access 2003
    Join Date
    Nov 2014
    Posts
    4

    start form without data

    Hello,
    I am very new to Access and am trying to build a database of component parts and assemblies.
    I have a form where I can type in the assembly name and pick parts from pick lists. I click the "Add record button and it adds the selected data into a table called FINISHED PARTS. My problem is when I open this form it automatically shows the first part in the FINISHED PARTS table. If I add a new part number then click the Add Record button, it overwrites the first record in the FINISHED PARTS table. If I open the form, then click the Add Record button I can enter a nrew part without overwriting any records in the FINISHED PARTS table and adds the record just as I want. My question is is there any way to open this form without it showing the first record in the FINISHED PARTS table? So I can just start entering data without clicking the Add Record button first.

    Thank you


    Paul

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    Yes, start with a MAIN MENU. (unbound)
    on it you can put buttons to take you to the forms/tables you need.

    put a NEW button to open your form in DATA ENTRY mode:

    docmd.OpenForm "frmNewData",,,,acFormAdd

  3. #3
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Options:

    1. set the form DataEntry property to Yes - this means the form will open to blank new record row and only allow new record entry - will not display existing records - so if you want to see existing records will have to use another form

    2. instead of above, use code to open form to new record row - so if you open the form from a button on another form -
    DoCmd.OpenForm "form name", , , , acFormAdd
    existing records will not be available but one form can serve

    3. code opens the form then code in the opening form moves to new record row - this will allow existing records to be available
    Docmd.GoToRecord acDataForm, , acNewRec
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 3
    Last Post: 03-19-2014, 12:26 PM
  2. Form Start from new record
    By cwpryor in forum Forms
    Replies: 2
    Last Post: 03-18-2013, 07:32 AM
  3. Replies: 2
    Last Post: 02-27-2013, 10:40 AM
  4. Replies: 15
    Last Post: 09-06-2012, 02:23 PM
  5. Start Form
    By Patrick.Grant01 in forum Access
    Replies: 3
    Last Post: 05-17-2009, 03:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums