Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2004
    Posts
    5

    Unanswered: Deleting html files!

    I've just been tasked to work on Access database. My knowledge in this topic is limited. I need to clean the html files that are left over or created from ASP. When the record is deleted via a button, it is removed from the table but it does not delete the html files. Do I need to know the scripting behind Access to remove these html files?

    Any help would be great!

  2. #2
    Join Date
    Dec 2003
    Posts
    454
    Where is your html files? In a folder?

  3. #3
    Join Date
    Jan 2004
    Posts
    5
    Originally posted by gyuan
    Where is your html files? In a folder?
    The *.htm files are located in the root folder. Can I add a command to the "Delete Record" button that will allow me to remove the *htm files as well?

    WS

  4. #4
    Join Date
    Jan 2004
    Posts
    5
    Originally posted by JAFO
    The *.htm files are located in the root folder. Can I add a command to the "Delete Record" button that will allow me to remove the *htm files as well?

    WS
    This is the sub command!

    On Error GoTo Err_Delete_Click

    DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
    DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70

    (Can I add a command here to delete the htm file that is associated with this record?)

    Exit_Delete_Click:
    Exit Sub

Posting Permissions

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