Guest User

Untitled

a guest
Jan 19th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. Private Sub Text46_AfterUpdate()
  2.  
  3. Dim strSource2 As String
  4.  
  5. strSource2 = "SELECT [Product Code],[Stock Level],[Description] FROM [products/stock] WHERE [Product Code] LIKE " & "'%" & Me.Text46.Value & "%';"
  6.  
  7. Me.listSource.RowSource = strSource2
  8. Me.listSource = vbNullString
  9.  
  10. End Sub
  11.  
  12. "SELECT [Product Code],[Stock Level],[Description] " _
  13. & "FROM [products/stock] " _
  14. & "WHERE [Product Code] LIKE " & "'*" & Me.Text46.Value & "*';"
Add Comment
Please, Sign In to add comment