No... at the very top of the page... First code. That way you can reference it in the Server Validation code below.
The code you pasted is the Validation Show If code. Click on Server Validations in the Server Behaviors panel and it will highlight the code your recordset has to be above.