als ik deze code gebruik en type een postcode in springt veld op leeg in plaats deze postcode er uit te filteren en te laten zien.
button heet Pzoek in vul txt is dus txtpostcode
Private Sub pzoek_Click()
Dim strPzoek As String
Dim strText As String
strText = Me.TxtPostcode.Value
strPzoek = "select*from TblDebiteuren where (Postcode like""*" & strText & "*"") "
Me.RecordSource = strPzoek
End Sub
button heet Pzoek in vul txt is dus txtpostcode
Private Sub pzoek_Click()
Dim strPzoek As String
Dim strText As String
strText = Me.TxtPostcode.Value
strPzoek = "select*from TblDebiteuren where (Postcode like""*" & strText & "*"") "
Me.RecordSource = strPzoek
End Sub