I create the show region to show the error if the recordset is not empty don t bring the error
this is how I create the record set
SELECT pcms2_users.Lic, pcms2_users.UserID
FROM pcms2_users
WHERE pcms2_users.UserID = paramUser
paramUser
-1
$_SESSION['SecurityAssist_UserID']