You need to sign in to do that
Don't have an account?
lpadmin
Multiple Search String Criteria
The following code was provided to allow us to put a users' cases on their home page however we need it to list only "Open" cases.
Not beinga programmer was wondering if someone could update provide additional criteria of only open cases?
Code snippet in question.
var SearchString="Select Id, OwnerId,CreatedDate, Status, CaseNumber, Priority, Type from Case";
SearchString = SearchString + " Where OwnerId = '" + ThisUser + "'"
SearchString = SearchString + " Where OwnerId = '" + ThisUser + "'"
Any assistance would be appreciated.
Thanks
Select Id, OwnerId,CreatedDate, Status, CaseNumber, Priority, Type from Case where OwnerId = 'xxxxxxxxxx' and Status = 'New'