Grid Record Is Fetched

The engine then fires the Grid Record is Fetched event. At this point, the runtime structures have these values:

  • BC = Values from the database (for the first record read).

  • FC = Values from the database (if the fields are database fields).

  • GC = null.

  • FI = Values passed from a calling form (if any).

  • PO = Values passed from POs.

This diagram illustrates the information in the runtime structures just before the system fires Grid Record is Fetched:

Content of runtime structures before Grid Record is Fetched fires

The Grid Record is Fetched event is commonly used to perform these actions:

  • Calculate a value for a work field in the grid.

  • Suppress a row from being written to the grid.

After the Grid Rec Is Fetched event fires, the BC values are copied into the GC runtime structure.

This diagram illustrates the information in the runtime structures when the system reads the first record:

Content of runtime structures when first record is read