Velixo recommends the use of Microsoft 365 for this feature. Experimentally, Excel 2010 or higher can be used. For prerequisites and an overview of Generic Inquiries, see Introduction to Generic Inquiries.
The GILOOKUPF function returns the value of a column from a generic inquiry by specifying a Filter to be applied on the server and the Keys of the row to locate.
This is the syntax for this function:
=GILOOKUPF(Connection, Name, Filter, Column, Key1, Key2, ...)
This function has the following parameters:
The name of the connection, as specified in the Connection Manager
The name of the generic inquiry.
The condition that determines which records should be selected from the inquiry.
The recommended way to construct this parameter is by using the GIFILTER helper function. Otherwise, see Advanced Filtering in GI Functions.
The name of the column from which the value will be returned.
The values for every key column of the generic inquiry. Those will be used to locate the data row in the generic inquiry result set.
=GILOOKUPF("Demo", "VelixoReportsPro-Accounts", C8, "Type", 219)
Description: Suppose the key for the "VelixoReportsPro-Accounts" generic inquiry is configured to be the AccountID field. The above formula will then:
Fetch the result set from the generic inquiry, applying the filter specified in the cell C8.
Retrieve a record where the value of the key column (AccountID) is 219.
Return the value of the Type field for this record.
⚠ For each Generic Inquiry that you use with the GILOOKUPF function, you will need to explicitly specify the inquiry's key columns in the Generic Inquiries Options section of the Velixo options window.