Results 1 to 7 of 7
  1. #1
    RayMilhon is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Aug 2011
    Location
    Southern California
    Posts
    1,071

    Tab Control for Data Entry Form


    I have a table for a Questionaire There are about 80 questions in 13 categories. I used a Tab Control to group the categories to make it easier for Data Entry. There is 1 Record per questionnaire. Each Question is a yes/no type question and each category has 1 Question called Other which also has a description for free text. The issue is if I'm on the Tab for Access and Availability and click on the questions that have yes responses and then attempt to go to the next record I get a Write Conflict Error Message saying the record was changed by another user since I started editing it. This DB is under Development and I'm the only one with Access. Anybody have an idea I can check. I've tried everything I can think of and nothing changes.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    You can get this error if you change records WHILE still in edit mode.
    Save the record before you move on.
    (turn the wizard on, place a button on the form, for RECORD edit, SAVE RECORD. You will see the save record code. put it in the event causing the error.)

  3. #3
    RayMilhon is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Aug 2011
    Location
    Southern California
    Posts
    1,071
    The Event Causing the Error as far as I can tell is when I attempt to save the record. Get the same error when I have the Save record command Button on the form and click on it or when I attempt to move to a new record.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Is this a form/subform arrangement?

    If you want to provide db for analysis, 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.

  5. #5
    RayMilhon is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Aug 2011
    Location
    Southern California
    Posts
    1,071
    No it is not. It is a form with a table as the RecordSource. There are about a dozen Fields to identify the Member. There are another 80 yes/no Fields depending on what the issues are for that member and these are broken down into about 13 categories. There is also 1 "Other" yes/no field for each category with a text field for the user to enter information if other is selected. Each category has it's own tab in the tab control but they are not subforms. I've done something similar before but it was a couple of years ago at another place of employment and don't have access to remember what I did. The Actual table is in SQL Server and Linked to the Access DB. I will work on removing the linked tables and localizing the tables so I can post it.

  6. #6
    RayMilhon is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Aug 2011
    Location
    Southern California
    Posts
    1,071
    Okay just figured something out. I moved the data to local tables instead of the linked SQL Server tables and it works just like I intended. The issue is that it doesn't work with the table attached from SQL Server but it does if the table is local????

  7. #7
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Do your Tables in SQL Server all have Primary Keys, or at least Unique Indexes, defined for them? Is the PK part of the RecordSource of the Form? If not they’ll be Read-Only using ODBC.

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

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

Similar Threads

  1. Lock control after data entry
    By Scott_80 in forum Programming
    Replies: 12
    Last Post: 01-07-2015, 03:35 PM
  2. Replies: 5
    Last Post: 03-09-2014, 07:16 PM
  3. Replies: 3
    Last Post: 10-21-2013, 10:51 AM
  4. Replies: 1
    Last Post: 04-18-2012, 11:06 AM
  5. Form entry Control
    By Raury in forum Forms
    Replies: 1
    Last Post: 08-03-2011, 08:41 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