Results 1 to 3 of 3
  1. #1
    JackieEVSC is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Oct 2011
    Posts
    70

    Combo box to pull from active directory

    We need to be able to have select users search active directory for specific student information ... namely displayName, employeeID and cn.



    After selecting a student, we'd like for it to display a radio box with three security groups ... open, default, and restricted.

    If possible, we'd like for the user to be able to change the security group a student is in (as a reward or disciplinary action).

    Is this possible? If not, we can export from access and import to ad with a script.

    I downloaded some code for a combo box that is supposed to do this, but I get an error when running it at the beginning of the code on Dim rs As ADODB.Recordset. I am not a programmer, but I understand enough to change code I find ... but I've never tried to pull info from ad before. I'm in over my head here. Can someone offer me some help or point me to a resource that could? Thanks

  2. #2
    aytee111 is offline Competent At Times
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    Maybe I am misunderstanding you, but this is what I would do:

    make a form - bind it to the table where the student info is kept (record source)
    make an unbound combo box which the user uses to select which student they want
    make a bound control to the data they can change (plus other data if required)

    in the OnClick event for the combo box get the applicable record by setting the form filter, display the data and allow them to change it

    Does this make sense?

  3. #3
    JackieEVSC is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Oct 2011
    Posts
    70
    Yes, that makes sense, and I know how to do that with other databases, but I was needing to know how to link it to Active Directory and pull user information directly from AD.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. MS Active Directory
    By pkelly in forum Access
    Replies: 9
    Last Post: 10-21-2011, 08:26 AM
  2. access+Active directory
    By cpcp in forum Access
    Replies: 6
    Last Post: 11-15-2010, 02:30 AM
  3. Active Directory coding
    By pkstormy in forum Code Repository
    Replies: 0
    Last Post: 08-28-2010, 08:33 PM
  4. Use form List Box to query Active Directory
    By grafiksinc in forum Forms
    Replies: 4
    Last Post: 12-02-2009, 11:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums