navigation buttons

ekta

Registered User.
Local time
Today, 13:08
Joined
Sep 6, 2002
Messages
160
Hi:

I have alist box that displays a list of documents added by the user. As soon as the user click on a document listed, it opens it. Right now I don't have a delete button to allow the user to delete a document. I was thinkin of adding 2 navigation buttons that would let the users move up and down in the list box in order to select the record they want to delete without actually clicking on the document listed(this is because right now the document opens on single click). After selecting the document maybe have a delete button to delete that document from tblFilePath..this is where the document path is stored. I dont know how to create such navigation buttons to select and then delete the document.
I would appreciate any suggestions. I am attaching my db.

Thanks,
Ekta
 

Attachments

Thanks for replying Pat. You are absoultely correct, I made the changes that you told me to do. But I still can't figure out how to delete a document from the list box. I would appreciated it if you could help me with that.

Thanks again,
Ekta
 

Attachments

You need to Kill it. Check the help files for the Kill function. You need to ensure that you are testing if the file exists before you Kill it.

HTH
 
ekta,

You can use the Dir function to check for the presence of your
file and like ghudson said, use Kill to delete it.

Wayne
 

Users who are viewing this thread

Back
Top Bottom