Results 1 to 11 of 11
  1. #1
    jimbob90 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jul 2012
    Posts
    26

    Problems With Adding Data Back To Table

    hi there my problem is that when i make a booking on my booking page it all saves, but when i go to the table where the bookings should all be kept, they all dissappear and only the recent booking i have made shows


    does anybody know the problem?
    Thanks

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,920
    Sounds like you are simply editing the same record over and over and over instead of adding new records. Need to move to 'New Record' row to add new record data.
    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.

  3. #3
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    There are so many things that could be wrong, I wouldn't even hazard a guess. Would need a lot more info.
    Or you could post your mdb???

  4. #4
    jimbob90 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jul 2012
    Posts
    26
    @June7 Could you give me a bit more information please
    all of this seems to me messing up my invoices and report which adds up all the booking information

  5. #5
    jimbob90 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jul 2012
    Posts
    26
    @June7 how would i go to new record in a form which links to the tables with control and record source

  6. #6
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,920
    One way is with the navigation bar at bottom of form, if the bar is active. This is basic Access functionality. Have you gone through some tutorials on building bound forms and navigating records?

    Is this a fully functioning db or in early stages of development? Was this working properly in the past and this has appeared as a new issue?

    Want to provide db as suggested by ssanfu? Follow instructions at bottom of my post.
    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.

  7. #7
    jimbob90 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jul 2012
    Posts
    26
    basically in the form called booking it allows me to make a booking, but when i make a booking i look in the hire table and it just removes another record and replaces it. Thanks in advance
    Last edited by jimbob90; 09-30-2012 at 04:52 PM.

  8. #8
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,920
    Can't replicate the issue. The form works fine. I navigate to new record by clicking the new record button on the navigation bar. Select options, enter start date and duration, click save. New record is in table.

    If you find the navigation bar 'unfriendly' then create a custom 'New Record' button on the form.

    The 'Save' button might not be necessary. New record is committed to table when form closes, move to another record, or run code.
    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.

  9. #9
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    I was able to replicate the problem and it is just like June7 said - you are editing whatever record appears in the form.

    You can add a button to go to a new record or you could add a command in the form open event to automatically go to a new record.
    You could have two buttons on the main form - a "VIEW" button opens the form to view the current records and an "ADD" button that opens the form in "Data Add" mode that only allows adding NEW records.

  10. #10
    jimbob90 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jul 2012
    Posts
    26
    Quote Originally Posted by ssanfu View Post
    I was able to replicate the problem and it is just like June7 said - you are editing whatever record appears in the form.

    You can add a button to go to a new record or you could add a command in the form open event to automatically go to a new record.
    You could have two buttons on the main form - a "VIEW" button opens the form to view the current records and an "ADD" button that opens the form in "Data Add" mode that only allows adding NEW records.

    how would i add a command in the form to automatically go to a new record?????????????
    Thanks

  11. #11
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,920
    How did you add the 'Save' command button? You can use the same method.
    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. Saving data back into a table from a form
    By skyview chick in forum Forms
    Replies: 22
    Last Post: 08-15-2012, 05:43 PM
  2. Replies: 4
    Last Post: 05-21-2012, 08:21 AM
  3. Replies: 3
    Last Post: 12-19-2011, 11:18 AM
  4. Adding data to a table
    By Jbelle7435 in forum Programming
    Replies: 17
    Last Post: 06-13-2011, 07:30 AM
  5. Replies: 18
    Last Post: 11-09-2010, 02:39 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