Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access_asp thread: File delete


Message #1 by "usman" <usman.darsot@c...> on Fri, 24 May 2002 15:00:36
hello all

does anyone know how to delete files and records at the same time using 
web forms using asp?
i have an access database from which i want records deleting and a folder 
on the server from which i want a particular files deleting in sync with 
the record from the web form.

can any one help???

thanks
Usman
Message #2 by "Ken Schaefer" <ken@a...> on Mon, 27 May 2002 12:12:52 +1000
Use ADO to delete the record from the database
Use the File System Object to delete the file from the file system.

Just put the code for one after the other.

Cheers
Ken

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "usman" <usman.darsot@c...>
Subject: [access_asp] File delete


: hello all
:
: does anyone know how to delete files and records at the same time using
: web forms using asp?
: i have an access database from which i want records deleting and a folder
: on the server from which i want a particular files deleting in sync with
: the record from the web form.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


  Return to Index