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

Create Macro from Append Query

Discussion in 'Information Technology' started by stacie, Jul 28, 2006.

  1. stacie

    stacie
    Expand Collapse
    Guest

    Hello

    I have about 50 append query's created that are based on both linked and
    imported tables. I have set up each append query to once refreshed to
    repopulate my master table, however, I don't want to have to refresh the
    query's daily. How do I set something up to automate the process once the
    file has been opened. I have never written query's in access before only
    excel.

    Please help!!!
    s
     
  2. Loading...


  3. Wolfgang Kais

    Wolfgang Kais
    Expand Collapse
    Guest

    Hello stacie.

    "stacie" wrote:
    > I have about 50 append query's created that are based on both linked
    > and imported tables. I have set up each append query to once refreshed
    > to repopulate my master table, however, I don't want to have to refresh
    > the query's daily. How do I set something up to automate the process
    > once the file has been opened.


    I don't understand the question, and I quess many other don't either.
    What is "refreshing an append query"? Do you want to automate running
    the 50 append queries when opening the database? If so, create a macro
    and name it "AutoExec". Use the "SetWarnings" action to disable warnings
    for your append queries and then use the RunQuery action 50 times for
    the 50 append queries in the correct order.
    Although it is not necessary, use SetWarnings in the end to re-enable
    warnings.

    > I have never written query's in access before only excel.


    Well, you have written 50 append queries, didn't you?

    --
    Regards,
    Wolfgang
     
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