Screen Mismatch exercise 12

"James B. Byrne via Aubit4gl-discuss" <[email protected]> Thu, 18 Mar 2021 12:57:36 -0400
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <[email protected]>
I am getting a Screen Mismatch error in what is a very simple screen.



DATABASE stores_demo  -- set PG_DBPATH=database_name@host_address:tcp_port

SCREEN
{
  Number     Date Placed     PO No.       PO Date        Paid Date
 [f001   ] [f002         ] [f003    ] [f002         ] [f002         ]
}

TABLES
  orders

ATTRIBUTES
  f001 = orders.order_num;
  f002 = orders.order_date;
  f003 = orders.po_num;
  f004 = orders.ship_date;
  f005 = orders.paid_date;

INSTRUCTIONS
  SCREEN RECORD sa_order[5] (orders.order_num THRU orders.paid_date)
|________________________________________________________________^
| Error at line 30, character 66
| Mismatch in screen record


This is the exact code provided in exercise 12 of I4GL by Example.  What is
wrong with this?


-- 
***          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