Welcome to SPN

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

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

link databases

Discussion in 'Information Technology' started by monia13, Nov 4, 2005.

Tags:
  1. monia13

    monia13
    Expand Collapse
    Guest

    I have 4 separate databases that I would like users to access via one menu.
    Can I create one main manue and when the user clicks on the button, chosen
    database opens up?
     
  2. Loading...

    Similar Threads Forum Date
    Eh Janam Tumhare Lekhe... Official Movie Link... Announcements Jun 3, 2015
    Sikhism Complete Shalok Mehala 9 (Link) Videos Apr 22, 2014
    UK British PM orders probe into Thatcher link to Operation Bluestar (UPDATED) Breaking News Jan 14, 2014
    India Gwalior: A Unique Link to India's History Breaking News Nov 16, 2013
    Researchers establish link between racism and stupidity General Sep 28, 2013

  3. '69 Camaro

    '69 Camaro
    Expand Collapse
    Guest

    For an example of opening other databases from a button on a "main menu,"
    please see the following Web page for a link to Jeff Conrad's (Access MVP)
    article, "Creating A Customized Login Screen For A Secured Database":

    http://www.Access.QBuilt.com/html/articles.html

    If you aren't using secured database files, then replace this line of code:

    strPath = Chr(34) & strAccPath & Chr(34) & " " _
    & Chr(34) & "<Full Path To Database File Here>" & Chr(34) & " " _
    & "/wrkgrp " & Chr(34) & "<Full Path To MDW File Here>" & Chr(34) & " " _
    & "/User " & Chr(34) & Me.txtUserName & Chr(34) & " " _
    & "/Pwd " & Chr(34) & Me.txtPassword & Chr(34)

    .. . . with this code:

    strPath = Chr(34) & strAccPath & Chr(34) & " " _
    & Chr(34) & "<Full Path To Database File Here>" & Chr(34)

    HTH.
    Gunny

    See http://www.QBuilt.com for all your database needs.
    See http://www.Access.QBuilt.com for Microsoft Access tips.

    (Please remove ZERO_SPAM from my reply E-mail address so that a message will
    be forwarded to me.)
    - - -
    If my answer has helped you, please sign in and answer yes to the question
    "Did this post answer your question?" at the bottom of the message, which
    adds your question and the answers to the database of answers. Remember that
    questions answered the quickest are often from those who have a history of
    rewarding the contributors who have taken the time to answer questions
    correctly.


    "monia13" wrote:

    > I have 4 separate databases that I would like users to access via one menu.
    > Can I create one main manue and when the user clicks on the button, chosen
    > database opens up?
     
  4. RioDeSmoke

    RioDeSmoke
    Expand Collapse
    Guest

    Just to be stupid, but if they are not secured dbs couldn't you use the
    DBEngine.OpenDatabase in code and then run a macro to say RunCode and the
    name of this function? The way that is posted is interesting though - never
    tried it.

    "'69 Camaro" wrote:

    > For an example of opening other databases from a button on a "main menu,"
    > please see the following Web page for a link to Jeff Conrad's (Access MVP)
    > article, "Creating A Customized Login Screen For A Secured Database":
    >
    > http://www.Access.QBuilt.com/html/articles.html
    >
    > If you aren't using secured database files, then replace this line of code:
    >
    > strPath = Chr(34) & strAccPath & Chr(34) & " " _
    > & Chr(34) & "<Full Path To Database File Here>" & Chr(34) & " " _
    > & "/wrkgrp " & Chr(34) & "<Full Path To MDW File Here>" & Chr(34) & " " _
    > & "/User " & Chr(34) & Me.txtUserName & Chr(34) & " " _
    > & "/Pwd " & Chr(34) & Me.txtPassword & Chr(34)
    >
    > . . . with this code:
    >
    > strPath = Chr(34) & strAccPath & Chr(34) & " " _
    > & Chr(34) & "<Full Path To Database File Here>" & Chr(34)
    >
    > HTH.
    > Gunny
    >
    > See http://www.QBuilt.com for all your database needs.
    > See http://www.Access.QBuilt.com for Microsoft Access tips.
    >
    > (Please remove ZERO_SPAM from my reply E-mail address so that a message will
    > be forwarded to me.)
    > - - -
    > If my answer has helped you, please sign in and answer yes to the question
    > "Did this post answer your question?" at the bottom of the message, which
    > adds your question and the answers to the database of answers. Remember that
    > questions answered the quickest are often from those who have a history of
    > rewarding the contributors who have taken the time to answer questions
    > correctly.
    >
    >
    > "monia13" wrote:
    >
    > > I have 4 separate databases that I would like users to access via one menu.
    > > Can I create one main manue and when the user clicks on the button, chosen
    > > database opens up?
     
  5. '69 Camaro

    '69 Camaro
    Expand Collapse
    Guest

    Yes. One could do that even with a secured database. Or one could just
    activate the function by pressing the button -- without calling a macro. Or
    there are a number of other simple ways to open another database
    application.

    However, a picture is worth a thousand words and seeing a working demo is
    worth at least several thousand more.

    Gunny

    See http://www.QBuilt.com for all your database needs.
    See http://www.Access.QBuilt.com for Microsoft Access tips.


    "RioDeSmoke" <RioDeSmoke@discussions.microsoft.com> wrote in message
    news:61A7C5FF-C36C-42F2-A5F4-B38A9A296559@microsoft.com...
    > Just to be stupid, but if they are not secured dbs couldn't you use the
    > DBEngine.OpenDatabase in code and then run a macro to say RunCode and the
    > name of this function? The way that is posted is interesting though -
    > never
    > tried it.
    >
    > "'69 Camaro" wrote:
    >
    >> For an example of opening other databases from a button on a "main menu,"
    >> please see the following Web page for a link to Jeff Conrad's (Access
    >> MVP)
    >> article, "Creating A Customized Login Screen For A Secured Database":
    >>
    >> http://www.Access.QBuilt.com/html/articles.html
    >>
    >> If you aren't using secured database files, then replace this line of
    >> code:
    >>
    >> strPath = Chr(34) & strAccPath & Chr(34) & " " _
    >> & Chr(34) & "<Full Path To Database File Here>" & Chr(34) & " " _
    >> & "/wrkgrp " & Chr(34) & "<Full Path To MDW File Here>" & Chr(34) & "
    >> " _
    >> & "/User " & Chr(34) & Me.txtUserName & Chr(34) & " " _
    >> & "/Pwd " & Chr(34) & Me.txtPassword & Chr(34)
    >>
    >> . . . with this code:
    >>
    >> strPath = Chr(34) & strAccPath & Chr(34) & " " _
    >> & Chr(34) & "<Full Path To Database File Here>" & Chr(34)
    >>
    >> HTH.
    >> Gunny
    >>
    >> See http://www.QBuilt.com for all your database needs.
    >> See http://www.Access.QBuilt.com for Microsoft Access tips.
    >>
    >> (Please remove ZERO_SPAM from my reply E-mail address so that a message
    >> will
    >> be forwarded to me.)
    >> - - -
    >> If my answer has helped you, please sign in and answer yes to the
    >> question
    >> "Did this post answer your question?" at the bottom of the message, which
    >> adds your question and the answers to the database of answers. Remember
    >> that
    >> questions answered the quickest are often from those who have a history
    >> of
    >> rewarding the contributors who have taken the time to answer questions
    >> correctly.
    >>
    >>
    >> "monia13" wrote:
    >>
    >> > I have 4 separate databases that I would like users to access via one
    >> > menu.
    >> > Can I create one main manue and when the user clicks on the button,
    >> > chosen
    >> > database opens up?
     
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