T
Tamer
Hi all,
I have a text box and a cmd button in a from. When I enter
few letters in the text box and click on the cmd button, I
want to open another form that has a list box and I want
the clients names begining with the few letters I typed in
the text box to be generated or selected in the list box.
I used the following syntax, but it seems I'm missing
something. Please help
Dim str as String
str = Left([textbox4],4)
DoCmd.OpenForm "FormName", acNormal, , "[client Name]
Like " & str & "*"
Thanks,
Tamer Seoud
I have a text box and a cmd button in a from. When I enter
few letters in the text box and click on the cmd button, I
want to open another form that has a list box and I want
the clients names begining with the few letters I typed in
the text box to be generated or selected in the list box.
I used the following syntax, but it seems I'm missing
something. Please help
Dim str as String
str = Left([textbox4],4)
DoCmd.OpenForm "FormName", acNormal, , "[client Name]
Like " & str & "*"
Thanks,
Tamer Seoud