Perform a table based lookup
──────────────────────────────────────────────────────────────────────────────
Syntax
H_GRLookup( oGet )
Arguments:
oGet - Get Object
Returns:
.F.
Description:
Performs a lookup on values in a table. The table must have two
fields - the first should be a lookup code, and the second should be
a description field.
oGet:Cargo should contain an array with the following elements :
cValue - Initial value of lookup code
cDBName - Alias of table to be looked up
tRow - Row of field
tCol - Column of field
bRow - Bottom row of box
bCol - Right column of box
dRow - Top row of box (defaults to tRow)
dCol - Left column of box (defaults to tCol)
bReturn - Code block to return value
bFunction - Code block to evaluate before exit
aKeyDesc - Array of key codes and descriptions
aGetExitKeys - Keys that will cause an exit from the GET
Examples:
Header File: H_LIB52.CH
Source: GRLOOKUP.PRG
Author: Martin Colloby