Chief Judge. Appellant Aim Target Programs, Inc., challenges an order allowing amendment of appellee Ronald Murray’s answer to seek attorney’s fees under section 542.385, Florida Statutes (Supp.1996), and the resulting order awarding attorney’s fees to Murray. At the time the trial court heard and granted Murray’s motion to amend his answer, the trial court had already entered final summary judgment in Murray’s favor and an order of dismissal on the remaining parties’ joint stipulation of dismissal. Thus, the lawsuit had terminated, and the trial court had no jurisdiction to entertain a motion to amend the answer. See Miller v. Fortune Ins. Co., 484 So.2d 1221, 1223 (Fla.1986) (<HOLDING>). Therefore, we reverse the order allowing
holding that district court has discretion under appropriate circumstances to rule on summary judgment motion before addressing pending class certification motion holding in a case where the plaintiff had argued that the district court lacked jurisdiction to amend its judgment more than ten days after entry because that is the time limit under federal rule of civil procedure 59 that a district court can amend its judgment because of mistake or inadvertence months after judgment has been entered pursuant to rule 60b of the federal rules of civil procedure holding a trial court commits fundamental error by failing to follow florida rule of juvenile procedure 8150 the juvenile rule equivalent of florida rule of criminal procedure 3830 holding that in ruling on a motion for summary judgment the trial court is limited to the grounds raised in the motion holding that trial court has no jurisdiction after litigation is concluded except in very limited circumstances on a motion for relief from judgment under florida rule of civil procedure 1540