Results 1 to 7 of 7
  1. #1
    Gutbarger is offline Novice
    Windows 7 32bit Access 2013 32bit
    Join Date
    May 2017
    Posts
    4

    Combo Box in .accde file picking up values not in row source of table

    Hi there,

    I hope someone can help. I've inherited a database at work which someone has attempted to modify and which is now causing me problems. Basically the database is split, and the front end has been saved as an .laccdb file. At some point in the past someone has managed to amend a combo box in the front end and add more options to the list it shows. However I don't know how they have done this because, if I look at the data table which contains the row source, the two don't match up.

    Combo box in front end: Name A, Name B, Name C, Name D, Name E


    Row source in table: Name A, Name B, Name C

    I thought that .laccdb files were locked yet somehow the combo box in the form has been edited with these extra options. If I take a local, older version, of the front end (which is still linked to the table) the changes to the row source reflect in the forms so it's almost as if the link between the combo box and the row source has been broken and the extra names coded in somehow.

    I hope this doesn't sound too vague but I don't know how to make the combo box pick up the correct values. If anyone can shed some light it would be appreciated.

    Thanks
    Last edited by Gutbarger; 05-18-2017 at 08:23 AM. Reason: Amended post title

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 7 32bit Access 2013
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,614
    I thought that .laccdb files were locked yet somehow the combo box in the form has been edited with these extra options.
    See: http://file.org/extension/laccdb
    If you want to prevent users from being able to make changes to the design elements you would need to give each user a copy of the front end db as an .accde type file. Make sure you keep a copy of the original .accdb in case you need to made changes to the design in the future.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    Gutbarger is offline Novice
    Windows 7 32bit Access 2013 32bit
    Join Date
    May 2017
    Posts
    4
    Hi Bob,

    Thanks for the reply. I'm sorry if I didn't explain myself properly, but the problem I have is that someone has been able to amend the combo box list despite the database being split, and a .laccdb file created. In doing so the link between the row source and the combo box appears to have been broken. I need to know how the amendment was made. Any ideas?

  4. #4
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 7 32bit Access 2013
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,614
    the problem I have is that someone has been able to amend the combo box list despite the database being split
    Splitting the db will not prevent this. See my original post.
    and a .laccdb file created
    This file is created by Access when the backend is connected to. Did you not read the link I gave you.
    the link between the row source and the combo box appears to have been broken.
    I have no idea what this means.
    What is the Row Source setting of the combo box.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  5. #5
    Gutbarger is offline Novice
    Windows 7 32bit Access 2013 32bit
    Join Date
    May 2017
    Posts
    4
    Apologies, I didn't mean .laccdb. I posted this question too early in the morning !

    I have a split database, with a back end and a front end which is an .accde file, and which is shared amongst users. I understand that the .accde file is locked and the forms, queries etc within cannot be amended. I have a combo box in a form with the values:
    Click image for larger version. 

Name:	Combo box list.png 
Views:	9 
Size:	6.1 KB 
ID:	28713

    I have found a field in the one of the tables which should provide the data:
    Click image for larger version. 

Name:	row source.png 
Views:	9 
Size:	6.6 KB 
ID:	28714
    The two contain different entries, and changes I make in the row source do not reflect in the combo box. I have checked and there is nowhere else I can see from where the data in the combo box should be populated. I didn't think it was possible to change an .accde file but it looks like someone has managed it, and it doing so dissociated the combo box in the form from its data source. Is this possible? Can it be fixed? I have spent a few hours on the internet and looked in reference books but I am stumped, so any help would be appreciated.

  6. #6
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    Did you recreate the accde file from the database that is working correctly? It may be based on a prior accdb.

  7. #7
    Gutbarger is offline Novice
    Windows 7 32bit Access 2013 32bit
    Join Date
    May 2017
    Posts
    4
    Thanks for the suggestion. I'll give that a go but the copy of the accdb which is available is missing some references to, I think, Adobe plugins. I'll have to sort that out before I can convert to accde as it is erroring at the moment.

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

Similar Threads

  1. Replies: 11
    Last Post: 09-03-2015, 11:12 AM
  2. Replies: 2
    Last Post: 02-26-2015, 03:20 PM
  3. Picking a value from a VBA table
    By gmaster in forum Programming
    Replies: 3
    Last Post: 10-20-2014, 01:50 AM
  4. Combo box not picking up values basis dlookup
    By amangupts in forum Programming
    Replies: 13
    Last Post: 07-15-2011, 11:03 AM
  5. Me not picking up new columns in table
    By asterismw in forum Programming
    Replies: 3
    Last Post: 03-11-2011, 02:00 PM

Tags for this Thread

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