[Progress Communities] [Progress OpenEdge ABL] Forum Post: -noroutineinwhere - Enum:GetValue() should be exempt...

Status
Not open for further replies.
L

Lieven De Foor

Guest
Using -noroutineinwhere is good practice to prevent unwanted side effects from using a method or property in a WHERE clause. For cases where the method always returns a constant, like Enum:GetValue(), this should be allowed though. Even better would be if you could write: FOR EACH Document NO-LOCK WHERE Document.Status = DocumentStatus:Draft Where Status is an integer field

Continue reading...
 
Status
Not open for further replies.
Top