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

importing from another db

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

Tags:
  1. Boots

    Boots
    Expand Collapse
    Guest

    Hi All,
    I have an application I have created that gets information form both
    local and linked tables. The local tables are imported from another database
    that is downloaded from an outside source on a weekly basis. I am setting up
    process that enables the user to select which weeks db they want data to come
    from and have the correct tables imported into the db. I have used the
    Docmd.transferdatabase method and as the database file path would change I
    have set a string data type to read the file path and used this in the docmd
    function. I thought this would work but it doesn't.

    eg. this example should import the table "Aim" from the downloaded database
    into the current database.

    DoCmd.TransferDatabase acImport, "Microsoft Access", dbselect, acTable, "Aim"

    any suggestions on where i'm going wrong are welcome, thanks
     
  2. Loading...

    Similar Threads Forum Date
    Sikhism More Than Just Another Religion New to Sikhism Jul 25, 2016
    Yet Another Show Of Support For Sikhs From Canada! Breaking News Apr 28, 2016
    Another funny story, and Rory is castrated Blogs Oct 17, 2015
    Another week, another wolf Blogs Oct 17, 2015
    easy, develop another addiction! Blogs Oct 16, 2015

  3. Boots

    Boots
    Expand Collapse
    Guest

    I've sorted it now. Forgot to put my destination on.


    "Boots" wrote:

    > Hi All,
    > I have an application I have created that gets information form both
    > local and linked tables. The local tables are imported from another database
    > that is downloaded from an outside source on a weekly basis. I am setting up
    > process that enables the user to select which weeks db they want data to come
    > from and have the correct tables imported into the db. I have used the
    > Docmd.transferdatabase method and as the database file path would change I
    > have set a string data type to read the file path and used this in the docmd
    > function. I thought this would work but it doesn't.
    >
    > eg. this example should import the table "Aim" from the downloaded database
    > into the current database.
    >
    > DoCmd.TransferDatabase acImport, "Microsoft Access", dbselect, acTable, "Aim"
    >
    > any suggestions on where i'm going wrong are welcome, thanks
     
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