Results 1 to 4 of 4

Thread: Shell to Access with SQL security

  1. #1

    Thread Starter
    Frenzied Member Mega_Man's Avatar
    Join Date
    Mar 2001
    Location
    North of England, South-East of Iceland
    Posts
    1,067

    Shell to Access with SQL security

    Can someone tell me how to shell to access passing a username and password to a SQL Server.
    I know how to do it using a Access MDW security file but I have a fron end that allows a user to enter a username and a password in VB which then shells out to the Access database.
    Any help is appreciated.

    Mega.
    "If at first you don't succeed, then skydiving is not for you"

  2. #2
    Bouncy Member darre1's Avatar
    Join Date
    May 2001
    Location
    Peterborough, UK
    Posts
    3,828
    do you want to access the database using ADO or something, or actually open the database in access, but specifying the name and password automatically.???
    Confucious say, "Man standing naked in biscuit barrel not necessarily ****ing crackers."

    Don't forget to format your code in your posts

  3. #3

    Thread Starter
    Frenzied Member Mega_Man's Avatar
    Join Date
    Mar 2001
    Location
    North of England, South-East of Iceland
    Posts
    1,067
    I have a VB front end which takes a username and password and used to shell to the Access MDB file which had the security MDW file in the shell statement.
    However, I have now migrated all the tables to SQL Server and I want to be able to shell MS Access and open the database passing the SQl security information instead of the standard Access MDW file.
    BTW, I need to pass it the I.P. Address of the SQl and not the server name. ADO is not involved here at all as I am using MS Access as the initial database. I am only using a VB front end to pass user credentials as the MS Access one is crud.

    Mega.
    "If at first you don't succeed, then skydiving is not for you"

  4. #4
    Bouncy Member darre1's Avatar
    Join Date
    May 2001
    Location
    Peterborough, UK
    Posts
    3,828
    ah, that's a little over MY head anyway
    Confucious say, "Man standing naked in biscuit barrel not necessarily ****ing crackers."

    Don't forget to format your code in your posts

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width