Search from text field using the keyboard enter key

Hi,

I was mainly wondering what was the correct code to make the keyboard enter key work when I type into a text field the number to be searched?

Thanks,
Gary

I got it.