Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please, Correct This...... 1

Status
Not open for further replies.

HNA

Programmer
Jan 13, 2003
87
0
0
KW
Dear Friend's,

What Is Wrong With This:

On Cmd Click I post This,

Dim Val

Val = "[" & Me.Fldnm & "]"
DoCmd.OpenForm "Admin", , , "Val Like '" & Me.TxtAsk & "'"

When I Run, It Gives Me InputBox To Type Value For Val

Thanx In Advance
Sam

" Åä Çááå íÍÈ ÅÐÇ Úãá ÃÍÏßã ÚãáÇ Ãä íÊÞäå "
 
DoCmd.OpenForm "Admin",,, Val & " Like '" & Me.TxtAsk &"'"
 
Thank you Trevahaha.

" Åä Çááå íÍÈ ÅÐÇ Úãá ÃÍÏßã ÚãáÇ Ãä íÊÞäå "
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top