Page 1 of 3 123 LastLast
Results 1 to 15 of 31
  1. #1
    st21 is offline Novice
    Windows 10 Access 2007
    Join Date
    Nov 2021
    Posts
    14

    Question Acess 2007 - New Record problem

    Hello,

    i am having a problem with access 2007. The new records i am adding they are not saved at the next number of the form but they are getting the number of the old records and it goes to the begging.

    For Example : i press the button for a new record at the "FORMS enviroment" , and when i press save, the database saves it as record 1 and tranfers the record 1 to the record 2, and when i add the next e.x 115 the database saves it as record 2 and transfers 2 to record 3... etc ?????

    Note: at the "TABLES enviroment" the records appear normal 1-->1, 2-->2 etc

    Also this started by accident from the keyboard when i pressed a shortcut and i pressed an other key of what i wanted, i think that some kind of setting has been changed...

    ANY solution - HELLPPPPP! ??? please

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    This is not normal behavior, have you run Compact/repair?

  3. #3
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,934
    Note: at the "TABLES enviroment" the records appear normal 1-->1, 2-->2 etc
    this implies that data is being save correctly

    and when i press save, the database saves it as record 1 and tranfers the record 1 to the record 2, and when i add the next e.x 115 the database saves it as record 2 and transfers 2 to record 3... etc ?????
    do you mean the record number changes? or just the order in which they appear.

    If it is the latter, it sounds to me like you have sorted the form desc on the ID or a timestamp field and then saved the form (so latest one is on top). Check your form properties in the data tab for order by and remove anything that is there. You may also want to set Order on load to no

  4. #4
    st21 is offline Novice
    Windows 10 Access 2007
    Join Date
    Nov 2021
    Posts
    14
    no i havent , i do not even knew this exist ... i ll search it THX!

  5. #5
    st21 is offline Novice
    Windows 10 Access 2007
    Join Date
    Nov 2021
    Posts
    14
    Quote Originally Posted by ranman256 View Post
    This is not normal behavior, have you run Compact/repair?
    no i havent , i do not even knew this exist ... i ll search it THX!

  6. #6
    st21 is offline Novice
    Windows 10 Access 2007
    Join Date
    Nov 2021
    Posts
    14
    Quote Originally Posted by Ajax View Post
    this implies that data is being save correctly

    do you mean the record number changes? or just the order in which they appear.

    If it is the latter, it sounds to me like you have sorted the form desc on the ID or a timestamp field and then saved the form (so latest one is on top). Check your form properties in the data tab for order by and remove anything that is there. You may also want to set Order on load to no
    It changes the nubmer automatically e.x so today i added 25 records the last saved record was saved as 25 but the actual number is 1454 and before this 1453 is saved as 24 etc

  7. #7
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,180
    Where on the form is the number 24, 25 shown? Is it in a field on the form? Is this number stored anywhere in a table, or only shown on te form?

  8. #8
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,821
    Can you upload a copy of the database to see if it also occurs on our PC's?

  9. #9
    Minty is offline VIP
    Windows 10 Office 365
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,157
    It sounds as if you are looking at the record selectors at the bottom of a form set to data entry.

    It only counts / displays the new records entered whilst the form is open. If you close it it will start form 1 again each time.
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  10. #10
    st21 is offline Novice
    Windows 10 Access 2007
    Join Date
    Nov 2021
    Posts
    14
    Quote Originally Posted by Minty View Post
    It sounds as if you are looking at the record selectors at the bottom of a form set to data entry.

    It only counts / displays the new records entered whilst the form is open. If you close it it will start form 1 again each time.

    Yes, that is true! but it is annoying and confusing doing change automatically...


    Click image for larger version. 

Name:	αποθ.ως25 _4.png 
Views:	24 
Size:	56.1 KB 
ID:	46595

  11. #11
    st21 is offline Novice
    Windows 10 Access 2007
    Join Date
    Nov 2021
    Posts
    14
    Quote Originally Posted by mike60smart View Post
    Can you upload a copy of the database to see if it also occurs on our PC's?
    unfortunately i am not allowed to do that... i deleted office and re-installed it again, but didnt got fixed... so the file is the problem... some kind of setting has been changed? This started by accident... when i pressed a shortcut to save an entry and i pressed an other key of what i wanted, and then this started...

  12. #12
    st21 is offline Novice
    Windows 10 Access 2007
    Join Date
    Nov 2021
    Posts
    14
    Quote Originally Posted by NoellaG View Post
    Where on the form is the number 24, 25 shown? Is it in a field on the form? Is this number stored anywhere in a table, or only shown on te form?
    This is a new entry and after save, it saves it at 25 number.
    Click image for larger version. 

Name:	αποθ.ως25 _4.png 
Views:	23 
Size:	56.1 KB 
ID:	46596

  13. #13
    st21 is offline Novice
    Windows 10 Access 2007
    Join Date
    Nov 2021
    Posts
    14
    Quote Originally Posted by ranman256 View Post
    This is not normal behavior, have you run Compact/repair?
    i just did it, but nothing... changed...

  14. #14
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,557
    That is the record number?
    If the table is sorted, and you add new records, record 25 could be completely different?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  15. #15
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,934
    Looks like Minty is right - seems your form is set to data entry=yes.

    What you are pointing to is the navigation window and is normal behaviour, however the number that is not 'right' to me is 1454 which is the total number of records in the table. What it should show is the total number of records in the form recordset. When my data entry is set to yes, I would see 25 of 25 after entering 25 records. It may have something to do with your version of access (I use 2010) or it might be you have code which is ordering the data in some way, or perhaps the language is an issue


    The values you are seeing show where you are (which record) in the form recordset. Click on the < or > buttons either side of numbers should take you to the previous or next record and the |< and >| to the first and last records. So trying clicking on the > or >| buttons - where does it take you? and what does the 1454 value at the top of your form change to?

    it may be the view you are showing is not the data entry view. Right click in the box with 1454 in it and sort ascending - what happens to the values at the bottom?

Page 1 of 3 123 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Conversion from Acess 2003 to 2007
    By doddiah in forum Forms
    Replies: 3
    Last Post: 07-18-2015, 03:52 AM
  2. Modify Workgroup in Acess 2007
    By rpc86 in forum Security
    Replies: 2
    Last Post: 07-29-2014, 07:51 PM
  3. how to rank using a query in acess 2007
    By BRAYAN RYAN VAN KYAN in forum Queries
    Replies: 1
    Last Post: 08-13-2013, 02:11 AM
  4. Acess 2007 & SQL question
    By willigiann in forum Forms
    Replies: 3
    Last Post: 09-15-2010, 09:54 AM
  5. Acess 2007 Validation Problem- HELP!?
    By JackLowe in forum Access
    Replies: 1
    Last Post: 04-20-2009, 12:38 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