+ Reply to Thread
Results 1 to 2 of 2

VBA EXCEL With Database Access - How To Delete TreeView Nodes

  1. #1
    Registered User
    Join Date
    01-03-2022
    Location
    Indonesia
    MS-Off Ver
    2013
    Posts
    2

    VBA EXCEL With Database Access - How To Delete TreeView Nodes

    Hi...
    I need help, I have a TreeView whose data is taken from an Access database (as shown in the picture). How do I delete a Node so that all Childs related to the selected Node are also deleted?
    For example, when I delete the Sumatera Barat Node Then Padang, Padang Utara and Air Tawar Barat Nodes are also deleted, along with the data in the database.

    Please Login or Register  to view this content.
    Attached Images Attached Images
    Last edited by Piscesto; Today at 04:13 PM. Reason: I've got the solution

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2506 Win 11
    Posts
    24,902

    Re: VBA EXCEL With Database Access - How To Delete TreeView Nodes

    crossposted: https://www.mrexcel.com/board/thread...nodes.1273334/

    Rule 7: Cross-posting Without Telling Us

    Your post does not comply with Rule 7 of our Forum RULES. Do not cross-post your question on multiple forums without telling us about your threads on other forums.

    Post a link to any other forums where you have asked the same question.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Read this to understand why we ask you to do this.

    I have added the crosspost reference for you today. Please comply with this and all our rules in the future

    However, if you continue to crosspost, you can expect to have your thread BLOCKED until you update it yourself.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Treeview - Add Child Nodes based on Sheet to Parent Node
    By judeprem in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-10-2022, 10:25 AM
  2. [SOLVED] Get a list of all selected child nodes of a treeview
    By ImranBhatti in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-29-2019, 01:24 AM
  3. [SOLVED] Transfer ALL nodes from a UserForm TreeView into a TreeView on a worksheet with VBA
    By Jerbinator in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-04-2015, 07:52 AM
  4. [SOLVED] Expand TreeView nodes
    By zplugger in forum Excel General
    Replies: 5
    Last Post: 01-08-2015, 07:57 AM
  5. [SOLVED] Error Whilst Updating Nodes On A Treeview
    By ajryan88 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-23-2013, 04:49 PM
  6. Delete record in access database with excel VBA
    By Eureka in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-14-2013, 02:15 PM
  7. Count Children of all nodes in a treeview
    By Macdave_19 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-18-2010, 10:05 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1