using work groups with ADO

Results 1 to 2 of 2

Thread: using work groups with ADO

  1. #1
    KevinT Guest

    Default using work groups with ADO

    This is probably really easy, but how do I open a Access database while supplying a work group?<BR><BR>Here is the conn stuff.<BR><BR>set objDC=Server.CreateObject ("ADODB.Connection")<BR>cnpath="DBQ" & Server.MapPath("PTT_Agent59.mde")<BR>objDC.Open "DRIVER={Microsoft Access Driver (*.mdb)}; " & cnpath<BR><BR>Thanks.

  2. #2 Guest

    Default RE: using work groups with ADO

    You might be able to do this by supplying extra param in connection string:<BR><BR>objDC.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & cnpath & ";System database=" & fullpathtoyourworkgroupfile & ";"<BR><BR>That should supply a the WG file, but where you go from there, I am not sure. I think that you may be complicating things a little by goin this way. Seeing ASP is a client-server technology you should be able to implement security differently than you would on a desktop app.<BR>

Posting Permissions

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