Welcome to SPN

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

Sign Up Now!

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?
     

Share This Page