Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    Voodeux2014 is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Nov 2014
    Location
    Slidell, LA
    Posts
    130

    Question Cannot go to specified record...

    After a bunch of messing around with my database I found out that it seems to be a table link issue. When opening a form (frmAddDevices) it is supposed to go to a new record. I messed with the code and the allow additions and all that stuff. After a while I realize if I am opening the table in the front end part of the database I cannot add any new records or edit any records. One the backend of the database the table works as it should. Any tips would be greatly appreciated!

  2. #2
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    the front end is where all the controls exist.....so it is not unusual that the experience differs between front and back.

    in the form's property, in the Data tab - is the AllowAdditions property - you will want to check that...

    there can also be code in the form's Open or OnCurrent Event which affects things..... there can also be a filter applied in the opening argument

    so there are a variety of places to 'touch' a form in order to control how it opens...you'll just have to sort things out...or whip up a new form if that is feasible and faster...

  3. #3
    Voodeux2014 is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Nov 2014
    Location
    Slidell, LA
    Posts
    130
    I checked all of the for properties and code. It appears to be something with the table itself. When using the navigation pane to open the table, the table itself will not allow me to add a new record.

  4. #4
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    assuming we are discussing an Access table and not a link to an excel or text file.....you should delete the table in the front end file...and then relink to it...and then check.

  5. #5
    Voodeux2014 is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Nov 2014
    Location
    Slidell, LA
    Posts
    130
    I have tried that as well. Once linked it is uneditable.

  6. #6
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,849
    What can you tell us about the design and development of the database? Who designed, developed and tested it?
    You say After a bunch of messing around with my database
    This isn't the way a developer talks or does things. Where are you changing things? Did you may a list of what you changed? Do you have a backup?
    Deleting the tables in FE and relinking should get you the proper "linkage" as NTC said. Is there any parameters or conditions that would suggest the table(s) is/are readonly?

  7. #7
    Voodeux2014 is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Nov 2014
    Location
    Slidell, LA
    Posts
    130
    The person who designs it, develops and tests it is I.
    Well you found me out, I am not a developer. I am slowly learning the ins and outs of Access on my own because it is something that I want to learn about. No need to call me out on that note.
    Of course, I have a backup. I would like to learn why something isn't working before I just regress all of the work that I have done. This issue didn't occur until I changed a field data type in the table that is now giving me the issue. I have unlinked and relinked the table already and it has not changed the issue.

  8. #8
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,849
    Can you post a copy of your database (remove anything private) first (Compact and repair, then zip)

  9. #9
    Voodeux2014 is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Nov 2014
    Location
    Slidell, LA
    Posts
    130
    PEC IT Database.zip Here you go. Had to unencrypt the backend as well as change the locations of where the tables are linked from.

  10. #10
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    are your file locations set up as trusted locations?

  11. #11
    Voodeux2014 is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Nov 2014
    Location
    Slidell, LA
    Posts
    130
    Yes they are.

  12. #12
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    I think there is the need for a sanity check.

    a. sitting at PC1 - which is where the front end file is suppose to be located; you can use Windows Explorer to go to where the back end file is located; open it, edit it, save it

    b. remaining at PC1 - create a brand new db; use External Data tab to create link to same table in back end file; once linked then open it, edit it, save it

  13. #13
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,849
    I tried to put your backend and frontend in separate directories and relink the tables.
    Was unsuccessful. I don't know if it something with the
    unencrypt the backend as well as change the locations of where the tables are linked from.
    .

    It would not let me relink some tables.

    The only thing I saw from a very limited view of tables was the lookup at table field level in a couple of tables. Don't know if it's relevant to your issue, but I would not use that feature. I would have a classic table lookup (reference table) approach.
    But I can't get the application installed to test, perhaps someone else will try.

  14. #14
    Voodeux2014 is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Nov 2014
    Location
    Slidell, LA
    Posts
    130
    Well I just attempted it again. When I initially link the table to the front end it will work properly. Once I close the front end and reopen it, it is back to read only.

  15. #15
    Voodeux2014 is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Nov 2014
    Location
    Slidell, LA
    Posts
    130
    Here is another scenario...seem to be zeroing it down...looks like the table is getting "locked" somehow but cannot figure out where.

    I have one front end open on PC1.
    I have a second front end that I will open on PC1 as well.
    Upon opening the second front end I receive the error that is attached.
    After pressing OK on the error I can edit the table.
    Attached Thumbnails Attached Thumbnails 2015-03-20_11-14-32.jpg  

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

Similar Threads

  1. Replies: 3
    Last Post: 03-09-2013, 10:39 AM
  2. Replies: 2
    Last Post: 12-21-2012, 01:57 PM
  3. Replies: 4
    Last Post: 12-14-2012, 06:33 PM
  4. Replies: 5
    Last Post: 08-21-2012, 12:30 PM
  5. Replies: 14
    Last Post: 05-25-2012, 02:40 AM

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