MAJORITY OPINION ON REHEARING
This appeal arises from a suit for attorney’s fees. The Bacas bring four points of error. We reverse and render.
On January 5, 1988, the law firm of Hoover, Bax, and Shearer (HBS) filed suit against Joseph and Pamela Baca to recover attorney’s fees for legal services allegedly rendered on behalf of the Bacas. HBS sought recovery under theories of sworn account and quantum meruit.
At the same time, HBS initiated a garnishment action against Texas Commerce Bank-Westlake Park and Baca Landata, Inc. That proceeding was docketed separately from the suit for attorney’s fees and given a different cause number. On January 6, 1988, the trial court granted HBS’s prejudgment applications for writs of garnishment and writ of attachment. On that same date, a writ of garnishment was served upon Texas Commerce Bank National Association (Texas Commerce), the successor by merger to Texas Commerce Bank-Westlake Park. On February 1, 1988, Texas Commerce answered and admitted it was indebted to the Bacas in the sum of $32,582.22. That sum represented the balance in two checking accounts owned by the Bacas. A writ of garnishment was also served on Baca Landata, Inc., but it did not timely answer. Baca Landata, however, was not indebted to the Bacas and was eventually dismissed from the garnishment proceeding by agreement. The writ of attachment was also executed on certain property owned by the Bacas.
On February 17, 1988, the trial court granted HBS’s motion for summary judgment in the underlying suit for attorney’s fees. On April 18, 1988, the Bacas perfect *737 ed an appeal from that summary judgment. On April 21, 1988, HBS and Texas Commerce entered into an agreed final judgment in the garnishment proceeding. That judgment ordered HBS to recover $32,-332.22 from Texas Commerce. It also allowed Texas Commerce to recover $250.00 in attorney’s fees from the Bacas. On April 26, 1988, HBS received from Texas Commerce a check in the amount of $32,-332.22 that was credited to the February 17 summary judgment in the underlying action.
On March 9, 1989, this Court, in an unpublished opinion reversed the summary judgment. The Court held that recovery by HBS on a theory of sworn account was improper where the petition named the Ba-cas as defendants, but the attached invoices named only Baca Publications, Inc. The Court also held that the trial court misplaced the burden of proof in overruling the Bacas’ motion to dissolve the writ of attachment and remanded to the trial court for redetermination of that motion. On remand, Pamela Baca moved for partial summary judgment. That motion was granted on June 6, 1989. On February 26, 1990, the Bacas filed in the underlying action a combined motion for restitution, dissolution of writ of attachment, and dissolution of writ of garnishment (motion for restitution). The motion for restitution sets out all the facts necessary to support a cause of action for restitution. On March 2, 1990, HBS moved to dismiss the underlying action pursuant to Tex.R.Civ.P. 162. On that same date, the trial court granted HBS’s motion and entered an order discharging the writ of attachment. After a hearing on March 28, 1990, the trial court denied the Bacas’ motion for restitution. The Bacas appeal from that order.
In their first point of error, the Bacas contend the trial court erred in denying their motion for restitution.
Before we address this point, we must direct our attention to HBS’s contention that the trial court did not have jurisdiction to hear the Bacas’ motion because it granted a nonsuit to HBS. The nonsuit was granted after the Bacas filed their motion for restitution. In the absence of the non-suit, the order denying the Bacas’ motion for restitution purports to dispose of all issues and all parties since it states that “any relief not granted is hereby denied.”
Teer v. Duddlesten,
Tex.R.Civ.P. 162 provides that a plaintiff has an absolute right to take a nonsuit before resting its case against the defendant, provided that the defendant does not have a pending claim for affirmative relief.
Johnson v. Harless,
It is beyond dispute that the Bacas’ motion for restitution was pending at the time of HBS’s nonsuit. At issue is whether that motion is a claim for affirmative relief. HBS contends that the motion for restitution is not a claim for affirmative relief because it was not a proper pleading under the Rules of Procedure and it was not filed
*738
timely in the proper proceeding. HBS argues that a claim for affirmative relief can only be made through pleadings, as distinguished from a mere motion. Under Tex. R.Civ.P. 47, pleadings that set forth a claim for relief include a petition, counterclaim, crossclaim, or third-party claim. Since the Bacas’ motion for restitution is not any of the above, HBS asserts that it is not a claim for affirmative relief. HBS also argues that the Bacas’ should have filed their motion for restitution in the garnishment proceeding, instead of in the underlying action. By failing to do so, the Bacas waived any attack on the garnishment judgment since it became final thirty days after it was signed.
Glenn W Casey Constr., Inc. v. Citizen’s Nat’l Bank,
The Bacas’ motion for restitution seeks the return of monies garnished by HBS in the absence of an underlying final judgment on the debt. While it is not one of the pleadings enumerated in Tex. R.Civ.P. 47, that fact alone is not fatal. The facts alleged in the plea, not the name of the plea, determine whether it is a claim for affirmative relief.
Progressive Ins. Co.,
Further, it is a well-established and longstanding rule that the validity of judgment in a garnishment action rests upon the finality of the underlying debt judgment.
Taylor v. Trans-Continental Properties, Ltd.,
We are aware that Tex.R.Civ.P. 162 is to be construed liberally in favor of the right to nonsuit.
Greenberg,
When an erroneous judgment has not been suspended pending appeal and the relief granted has already been obtained, the successful appellant may reclaim what he has been deprived of.
Salgo v. Hoffman,
Having determined that the trial court had jurisdiction to hear the Bacas’ motion for restitution, we must now decide whether it was proper for the trial court to overrule that motion. The Bacas do not say what standard of review applies. HBS states that the standard of review is “abuse of discretion.” Since that standard governs the review of virtually all pretrial rulings, we apply it here. The test for abuse of discretion is whether the court acted without reference to any guiding rules and principles.
Craddock v. Sunshine Bus Dines,
Although it acknowledged error in rendering a judgment in the garnishment proceeding before the underlying judgment became final, the trial court denied the Bacas’ motion for restitution stating that it could not correct the error since the Bacas did not appeal from the garnishment action. The trial court’s ruling relied solely on the holding in
Glenn W. Casey Constr., Inc.
There, the garnishor obtained a default judgment against the garnishee in a garnishment action before obtaining judgment in the underlying debt action. Fifty-seven days later, the garnishor obtained a judgment against the debtor in the underlying action. At the same time, the trial court set aside the earlier default judgment in the garnishment action and entered a second default judgment based on the judgment in the underlying action.
On appeal by writ of error from the garnishment proceeding, the garnishee argued that the first default judgment be set aside because it was entered before the garnishor obtained the judgment in the underlying debt action. The garnishee also argued that the court lacked jurisdiction to set aside the first default judgment and enter a second default judgment.
When the summary judgment was reversed in the instant case, the garnishment proceeding became a nullity and the writs issued thereunder were of no further force or authority.
Taylor,
On the facts of this case, it was not necessary for the Bacas to appeal from the garnishment judgment. Garnishment is but a mode of enforcing execution of the court’s judgment.
Tom Benson Chevrolet,
The Bacas were a party to the underlying debt action, not the garnishment action. Certainly, the Bacas were not required to appeal from a judgment rendered in a proceeding in which they were not a party. The validity of a garnishment judgment is solely dependent on the validity of the underlying debt claim and not vice-versa. If the Bacas had intervened and appealed only from the garnishment judgment, HBS would no doubt be arguing that the Bacas waived error by failing to appeal from the underlying debt judgment. At the very least, the Bacas were entitled to a determination of their liability for the debt. They were deprived of that opportunity when HBS abandoned its cause of action. Likewise, HBS was not entitled to garnish monies allegedly owed them by the Bacas without ever having proven that the Bacas, in fact, incurred the debt. Such would be the case if we were to allow the trial court’s ruling to stand.
Hence, we hold that the trial court abused its discretion in overruling the Ba-cas motion for restitution and we sustain the Bacas' first point of error. In light of our disposition of the Bacas’ first point of error, we need not address their remaining points of error. Because HBS abandoned its cause of action for the debt, the Bacas’ motion for restitution is the only claim pending before the trial court, and they are entitled to recover the funds as a matter of law. Accordingly, we reverse the judgment of the trial court and render judgment that the Bacas recover $32,332.22 from HBS and $250.00 from Texas-Commerce. We further remand to the trial court to determine the amount of interest that the Bacas are entitled to recover.
