Plaintiffs sued to rescind a real estate contract entered into between them and defendant September 20, 1927. The suit was instituted against both defendant and her husband. They answered separately, denying, among other things, that the contract was a community obligation. Defendant Belle T. Behneman's answer also contained an affirmative defense and cross-complaint relating to or alleged to have grown out of the transaction upon which the cause of action alleged in the complaint arose. The trial court entered an order March 23, 1931, sustaining a demurrer to the affirmative defense and cross-complaint of the aforesaid defendant.
June 18, 1931, the trial court entered a judgment reciting that the matter had previously come on for hearing upon the demurrer of the plaintiffs to the cross-complaint and counterclaim of defendant Belle T. Behneman; that the court had theretofore entered an order sustaining the aforesaid demurrer; and that the defendant had refused to plead over. It contained the following provision:
"It is hereby ordered, adjudged and decreed that the cross-complaint and counterclaim of the defendant, Belle T. Behneman, be and the same is hereby dismissed with prejudice."
From the foregoing judgment of dismissal, defendant Belle T. Behneman has appealed.
[1] The trial court has not yet entered any other judgment in the action, from which it follows that the judgment of dismissal appealed from was premature. Since, however, the trial court entered the judgment of dismissal "with prejudice," appellant was compelled *Page 467 to take this appeal in order to protect her right to have the merits of the ruling inquired into at the proper time under the statute. The correct procedure would have been to have entered no order other than that sustaining the demurrer.
The judgment here appealed from differs from that entered inOld National Bank v. O.K. Gold Mining Co., 19 Wn. 194,52 P. 1065, in that the order dismissing the counterclaim in that case was not entered "with prejudice." The judgment here appealed from is similar to the order entered in the case of SnohomishCounty v. Ruff, 15 Wn. 637, 47 P. 35, 441, in that it affected a substantial right and determined the action as to the particular matter in issue, and was in effect a judgment thereon against the appellant.
The question whether the trial court was right in sustaining the demurrer, would be reviewable upon an appeal from a final judgment covering all the other issues in the case.
Rem. Comp. Stat., § 1736, provides:
"Upon an appeal from a judgment, the supreme court may review any intermediate order or determination of the court below which involves the merits and materially affects the judgment, appearing upon the record sent up from the superior court."
The question of whether or not the trial court was correct in its conclusion that the demurrer should have been sustained, is not before us. The only question to be decided is whether the judgment dismissing the appellant's affirmative defense and cross-complaint with prejudice was prematurely entered. We hold that it was, and that its effect was to compel appellant to appeal, if she would protect her right to have the merits of the ruling inquired into at the proper time. The ruling complained of, in effect, requires appellant to *Page 468 appeal piece by piece. In Freeman v. Ambrose, 12 Wn. 1,40 P. 381, the court said:
"We think it against the policy of the law to give the act a construction that would multiply appeals and permit litigants to bring their causes here by piecemeal, . . ."
Reversed.
TOLMAN, C.J., MITCHELL, PARKER, MAIN, BEALS, and MILLARD, JJ., concur.