to invoke the jurisdiction of the trial court. As a matter of first consideration, any court has the duty to determine, sua sponte, whether it has jurisdiction to hear the case. Welch v. McDougal, 876 S.W.2d 218, 220 (Tex.App.-Amarillo 1994, writ denied). As material to this question, section 65.023(b) of the Texas Civil Practice & Remedies Code requires that an application for an injunction to stay proceedings in a suit or execution on a judgment must be tried in the court in which the suit is pending or the judgment was rendered. This requirement is jurisdictional and does not relate merely to venue. See Butron v. Cantu, 960 S.W.2d 91, 94 (Tex.App.-Corpus Christi 1997, no writ); Home Sav. Ass’n v. Ramirez, 600 S.W.2d 911, 913 (Tex.Civ.App.-Corpus Christi 1980, writ refd n.r.e.) (<HOLDING>). Because the Gard-ners seek to challenge
holding that the denial of a postjudgment motion without a hearing thereon is harmless error where 1 there is  no probable merit in the grounds asserted in the motion or 2 the appellate court resolves the issues presented therein as a matter of law adversely to the movant by application of the same objective standard of review as that applied in the trial court holding that a judgment is subject to collateral attack where  the judgment is void for want of jurisdiction with respect to the power of the court to render the particular judgment or decree as where the court  exceeds the powers conferred on it by constitutional or statutory provisions holding that a dis trict court has no authority to issue injunction restraining enforcement of judgment of the county court where as here the judgment solely resolves who is entitled to immediate possession holding that motion to dismiss should not  be granted unless the moving party has established that there is no material issue of fact to resolve and that it is entitled to judgment in its favor as a matter of law holding that a judgment of another states court is entitled to full faith and credit j when the judgment is considered final under the laws of the rendering state