Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    You already have code. You posted it.



    searchstring = "SELECT Name, username,password,information FROM tblMsrTotals WHERE [Name] = '" & TextBox0.Value & "'"
    rs.Open searchstring, cn1, adOpenStatic
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  2. #17
    manissinha is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Jul 2017
    Posts
    21
    this code is not working
    always gives first record from access table

  3. #18
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Then I suppose the value of TextBox0 is always the same name. Why is that?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 4
    Last Post: 10-07-2016, 09:27 AM
  2. Exporting Attachments from a UserForm to Access Table
    By Baz16 in forum Import/Export Data
    Replies: 8
    Last Post: 06-30-2015, 05:03 AM
  3. Replies: 7
    Last Post: 09-11-2014, 12:26 PM
  4. Populate Word Userform with data from Access
    By edi dhar in forum Programming
    Replies: 5
    Last Post: 08-04-2014, 11:02 AM
  5. Replies: 5
    Last Post: 02-03-2014, 03:06 AM

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