Results 1 to 6 of 6
  1. #1
    roxdrob is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Oct 2017
    Posts
    32

    Deleting Records via button on form


    I have a form with tabs (see below). I added a "delete record" button. It isn't working--nothing happens. I set it up with the button wizard and chose delete record. Is it not working because of the multiple tabs? I made sure referential integrity and cascades are set up. Any ideas? TIA!
    Click image for larger version. 

Name:	Capture.PNG 
Views:	20 
Size:	39.2 KB 
ID:	30743

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,926
    Would have to see code. So I presume the wizard created a macro? I never use macros, only VBA.

    This is a form with a Tab control? The main form is bound? It is record on main form you want to delete?

    Why delete data?
    Last edited by June7; 10-11-2017 at 11:03 AM.
    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
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,725

  4. #4
    davegri's Avatar
    davegri is offline Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,413
    CraftShowsV38.zip
    I think this will do it.

  5. #5
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,725
    I added a "delete record" button.
    What exactly do you want to delete?
    -A Show record and all related tables/records?
    -Info on a selected Tab?
    -??

  6. #6
    roxdrob is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Oct 2017
    Posts
    32
    Quote Originally Posted by davegri View Post
    CraftShowsV38.zip
    I think this will do it.
    Davegri - You.Are.Awesome. Thank you!! You even prettified it.

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

Similar Threads

  1. Replies: 36
    Last Post: 08-30-2015, 01:39 PM
  2. Deleting incomplete records in creation form?
    By IncidentalProgrammer in forum Forms
    Replies: 3
    Last Post: 05-05-2015, 07:35 PM
  3. Replies: 22
    Last Post: 11-26-2014, 01:51 PM
  4. Replies: 6
    Last Post: 10-07-2014, 03:02 PM
  5. Deleting records on a form using VBA
    By lawdy in forum Programming
    Replies: 5
    Last Post: 05-06-2013, 06:06 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