Welcome to SPN

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

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $98

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?
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page