Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

deleting files from within Access

Discussion in 'Information Technology' started by Keith, Nov 15, 2005.

  1. Keith

    Keith
    Expand Collapse
    Guest

    I have a routine that exports data to an Excel file. How can I get
    Access to delete the Excel file if it already exists before doing the
    export?
     
  2. Loading...

    Similar Threads Forum Date
    Sikh News Is Mahesh Bhatt considering deleting Meera's controversial kissing ... Breaking News Mar 4, 2005
    India Patna man files defamation suit against son for inter-caste marriage Breaking News Jan 6, 2014
    Malaysia Bank Islam Files Police Reports Against Chief Economist Breaking News Jan 23, 2013
    1984 Case Files Against Amitabh for Inciting Mobs History of Sikhism Oct 21, 2011
    SALDEF ACLU Files Charges on Behalf of Sikh American Paramedics Sikh Organisations May 13, 2011

  3. Rick Brandt

    Rick Brandt
    Expand Collapse
    Guest

    Keith wrote:
    > I have a routine that exports data to an Excel file. How can I get
    > Access to delete the Excel file if it already exists before doing the
    > export?


    Check help file for the Kill command.

    Kill "path to file"

    --
    I don't check the Email account attached
    to this message. Send instead to...
    RBrandt at Hunter dot com
     
  4. Allen Browne

    Allen Browne
    Expand Collapse
    Guest

    Kill!

    --
    Allen Browne - Microsoft MVP. Perth, Western Australia.
    Tips for Access users - http://allenbrowne.com/tips.html
    Reply to group, rather than allenbrowne at mvps dot org.

    "Keith" <keith@dolby-ltd.co.uk> wrote in message
    news:dla0dq$rll$1@news0.ifb.net...
    >I have a routine that exports data to an Excel file. How can I get Access
    >to delete the Excel file if it already exists before doing the export?
     

Share This Page