Results 1 to 3 of 3

Thread: Simple Password Question

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2001
    Posts
    27
    Hello, I have an I think simple Question.

    How can I use the VB 6.0 data control with an Access Database which has a password. Is there a way to access the recordsource and password without having to type
    set datbase = Opendatabase (......)

    Johan

  2. #2
    New Member
    Join Date
    Apr 2001
    Posts
    7
    .OpenDatabase("Publishers", _
    dbDriverNoPrompt, True, _
    "ODBC;DATABASE=pubs;UID=sa;PWD=xxxx;DSN=Publishers")

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jan 2001
    Posts
    27

    works but it is not what i meant

    Yes I know Opendatabase command, but I want to work with the datacontrol.

    I wonder is there a way to work with the datacontrol and Access databases + passwords

    Johan

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