masoud_sedighy
Registered User.
- Local time
- Yesterday, 16:31
- Joined
- Dec 10, 2011
- Messages
- 132
before i have a question about searching the fields in the table and answer in this address (
http://www.access-programmers.co.uk/forums/showthread.php?t=246966) was concatenate the fields as a derived field and search in that.
now i like to do that in the vba like below but i have error (enter parameter x1) please help how i have to define that.
Code:
[LEFT]Dim X1 As Variant[/LEFT]
[LEFT]X1 = [First Name] & "-" & [Last Name] & "-" & [ID Number] & "-" & _[/LEFT]
[LEFT] "-" & [MobileNo][/LEFT]
[LEFT]varWhere = "X1 LIKE '" & _[/LEFT]
[LEFT] strWild & Me.txtsearch & strWild & "'"[/LEFT]
Last edited: