Top Student Finder (ADO Table, Form Designer)

Grade 12

This is a form-based problem — open it in the Form Designer, not the code judge. A non-visual ADO table (ADOTable1) is already on the form, along with a button (btnFind) and a label (lblResult). Write btnFind's OnClick handler so that it opens the Students table, works through every record to find the highest mark, and shows that student's name and mark on lblResult.

No input/output in the console sense. Grading clicks btnFind once, then checks lblResult.Caption. Students.csv (Name,Mark): Thabo,78 Aisha,92 Liam,65 Zanele,88 Sipho,71 Format: 'Top student: <name> with <mark>'. Expected output: 'Top student: Aisha with 92'

Provided data file

Students.csv

Name,Mark
Thabo,78
Aisha,92
Liam,65
Zanele,88
Sipho,71
Top Student Finder─ ▢ ✕
📇
Find Top Student
lblResult

3 components · drag to move, corner handle to resize, Delete to remove

Object Inspector

Select a component on the form to edit its properties.

Palette

Pick a component, then click the form

Standard

Additional

Data

Non-visual