Criteria for look up fields

Criteria for look up fields

Hi

I have two criterias for my look up fields which i added in when i created the lookup

values = db.Projects[(Status == "[1] Closed" || Status == "[2]On-Going")].Project_Name

But now when i go to script for the form, i can save. It says

Error modifying the page
Encountered "[" at line 10, column 22. Was expecting one of: ... "displayname" ... "type" ... "tooltip" ... "values" ... ... "isprivate" ... "private" ... ";" ... "on" ... ")" ...

HELP! Coz that means i cant script this form at all!