Add a Custom Field to Customer
Your team needs to track a short internal label on each customer record.
Requirements
- Create a table extension that extends the
Customertable. - Add a field named
"Custom Field"of typeText[50].
What the tests check
The grading tests look the field up on the Customer table by its exact name "Custom Field" at run time (a missing or misspelled field fails with a message saying so). They write a value to it on a customer record and read it back, verify that the field holds a full 50-character value, and check that it is declared as Text with a maximum length of exactly 50.
Learn More
Hint 1
A table extension adds fields inside a
fields { } block.Hint 2
Field syntax:
field(<id>; "Custom Field"; Text[50]) { } — pick an id in 50100–50199.Hint 3
Good practice: set a Caption — analyzers flag fields without one.
Press Compile to check your code compiles — Submit runs the tests.
The code editor is desktop-only
Open this problem on a computer to write and run code. Reading the description, tests and discussion works fine here.