Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by AccessSQLUser

  1. AccessSQLUser

    Domain Users

    Is there a stored procedure that will give me a list of all nt users. I know that the procedure 'xp_loginfo' will give me those nt accounts that are added to SQL Server but I need to get a list of all nt users in a domain.
  2. AccessSQLUser

    Change WorkStation in Connect String

    Does anyone know how I could change the WSID of the connect string of the linked tables in my database to the current machine that is running the database? If I try to change it, it just reverts back to what it was before.
  3. AccessSQLUser

    Get a list of users in domain

    Thanks for the reply. I do have WSH installed but I get the error "Object doesn't support this property or method" by this line: For Each oUser In oDomain.Users
  4. AccessSQLUser

    Get a list of users in domain

    Ok, I'll try to describe what I'm trying to do. I would like to create a form in MS Access that will be a user-friendly way to add Windows NT users to SQL Server logins. I would like the end-user to be able to pick the NT USer that they wish to add using a combo box. My problem is this - how...
  5. AccessSQLUser

    Get a list of users in domain

    Ok, I'll try to describe what I'm trying to do. I would like to create a form in MS Access that will be a user-friendly way to add Windows NT users to SQL Server logins. I would like the end-user to be able to pick the NT USer that they wish to add using a combo box. My problem is this - how...
  6. AccessSQLUser

    Encrypt Stored Procedures

    Anyone have any ideas?
  7. AccessSQLUser

    Encrypt Stored Procedures

    I would like to copy all user stored procedures that I have in one database into another database but they should be encrypted. Is there a way to do this without creating each stored procedure separately and inserting the 'With Encryption' clause?
  8. AccessSQLUser

    update trigger

    Right now I have a trigger that runs each time a record in Table1 is updated. This trigger basically inserts a row into a log table that I have in a separate database. What I would like to do is only insert into that table the values of the fields that were changed. Any ideas? My current...
  9. AccessSQLUser

    buggy subform

    I have a subform and I change the sourceobject of the subform based on a tabcontrol. There is definitely something buggy because sometimes my subform is not being updated. The actual sourceobject is being changed but many times the controls have nothing in them and then when I click around...
  10. AccessSQLUser

    help with subforms

    I have a subform and I change the sourceobject of the subform based on a tabcontrol. There is definitely something buggy because sometimes my subform is not being updated. The actual sourceobject is being changed but many times the controls have nothing in them and then when I click around...
  11. AccessSQLUser

    How can I get all tables' names from MS SQL database or Access Databas

    Try this: Public Sub GetTableNames() Dim x As Integer For x = 0 To CurrentDb.TableDefs.Count - 1 Debug.Print CurrentDb.TableDefs(x).Name Next x End Sub
  12. AccessSQLUser

    STUCK ON SQL FOR QUERY

    Did you try exactly what I posted or does your query include other syntax too? If it does, please post your whole query?
  13. AccessSQLUser

    STUCK ON SQL FOR QUERY

    Try this: Select [ClientDetail2].[ContactsID] From [ClientDetails2] Left Join [Other Table] on [ClientDetails2].[ContactsID] = [Other Table].[ContactsID] WHERE [Other Table].[ContactsID] Is Null
  14. AccessSQLUser

    HELP Trying to Change recordsource of form with Combo

    Try this: WHERE ((([BQualify].[Category])=forms![formname]![Combo62]));" and if that doesn't work try Dim myString as string myString = me.Combo62 me.recordsource = "Select....Where ((([BQualify].[Category])=""" & myString & """));"
  15. AccessSQLUser

    Message Box Working-But am getting a funky result.

    I believe that this is happening because you cancelled the update event of the form (docmd=cancelevent). To get around this, you can put 'docmd.setwarnings false' before that line of code. Just remember to set it back to true afterward.

Part and Inventory Search

Back
Top