Help with screen record runtime error

"James B. Byrne via Aubit4gl-discuss" <[email protected]> Tue, 9 Mar 2021 14:32:08 -0500
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <[email protected]>
I am working on exercise 11 of the by example book (p.243).  I am now getting
this runtime error and I cannot see what I am doing wrong:

Err:Program ./ex11.4ae stopped at 'ex11.4gl', line number 349.
Error status number -30034.
Table/Screen record does not exist in form.

4gl function call stack :
    ex11.4gl (Line 172) calls  input_items()
    ex11.4gl (Line 90) calls  add_order()
    MAIN

The relevant 4gl code is:

.4gl

  DEFINE ga_items       ARRAY[10] OF
    RECORD
      item_num      LIKE items.item_num,
      stock_num     LIKE items.stock_num,
      manu_code     LIKE items.manu_code,
      description   LIKE stock.description,
      quantity      LIKE items.quantity,
      unit_price    LIKE stock.unit_price,
      total_price   LIKE items.total_price
    END RECORD
. . .
  INPUT ARRAY ga_items FROM ga_items.* HELP 62  -- line 349


The relevant screen code is:

.per

INSTRUCTIONS
  SCREEN RECORD sa_items[4] (items.item_num,
                             items.stock_num,
                             items.manu_code,
                             stock.description,
                             items.quantity,
                             stock.unit_price,
                             items.total_price)

I cannot see what I am missing here.  Does anyone else see what it is?

-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
   Unencrypted messages have no legal claim to privacy
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:[email protected]
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3