Results 1 to 5 of 5
  1. #1
    hannuk is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2011
    Posts
    9

    Is it possible?


    I have 2 forms, question and answer. I want to make a single datasheet of them. But I don't want to allow duplicates, so how do I make that if the question name is already in use, it will put the answers to the same question?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,644
    Don't really understand what you want. How would there be duplicates? Need to know more about your data structure.
    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
    hannuk is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2011
    Posts
    9
    Quote Originally Posted by June7 View Post
    Don't really understand what you want. How would there be duplicates? Need to know more about your data structure.
    Yeah sorry about that, I found a way to go around that problem. But now another question:
    Is it possible to hide the add new record in datasheet form? I want that it can be done only through code.

    But only the new record row must be hidden. Allow additions doesnt work, since I can't type in the form afterwards.

  4. #4
    boblarson is offline --------
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    1,272
    AllowAdditions should not affect typing in the form. AllowEdits would affect that. Setting AllowAdditions to NO is what you should do.

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,644
    Setting the form's Allow Additions to No should still allow edits to existing records but not show the New record row.
    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.

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