Can any one tell me why I get a type mismatch here ?
private sub text78_keydown(keycode as integer, shift as integer)
dim k as string
if keycode = vbkeyreturn then
k = me.text78.text
docmd.openform "address query", acnormal,,,"[surname] = " & k,acformreadonly, acwindownormal
end if
end sub...