Hello,
i would like to implement a wherecondition with two input parameter as conditions, my code is:
DoCmd.OpenForm "Cognome_status", acNormal, , wherecondition:="[surname] = " & InputBox("Surname") & " and [status] = " & InputBox("Status")
when i run this code it ask me two times the surname and two times the status, anyone can tell me why?
thanks
i would like to implement a wherecondition with two input parameter as conditions, my code is:
DoCmd.OpenForm "Cognome_status", acNormal, , wherecondition:="[surname] = " & InputBox("Surname") & " and [status] = " & InputBox("Status")
when i run this code it ask me two times the surname and two times the status, anyone can tell me why?
thanks