Oops! Something went wrong with the browser.
Please try again. If the issue persists, contact support@logicimtech.com and include error code .
XDataLookup
XDataCondition - Indices of Sage 50 data for a given lookup
Description
This function is only available for Sage 50 Canadian Edition
This function returns the indices corresponding to the requested criteria.
Parameters
- Table
-
Database table from which the data will come.
- Column
-
Column to search.
- Value
-
Value to lookup.
- Dataset [Optional]
-
Custom dataset to use.
- Connections [Optional]
-
Sage 50 Connection to query. If left empty, the default connection will be used.
Examples
It is strongly recommended to use Excel cells address (ex. A1:B19) containing the information of the parameters requested in all XLGL functions, such as: names or codes. This practice adds flexibility to your worksheet and will ensure the coherence of your results. Moreover, the use of quotation marks (") is essential when the parameters are manually written in the arguments function window.
- Returns the indices from table tCustomr for column sName and value "Ashburton Reinforcing"
- =XDataLookup("tCustomr", "sName", "Ashburton Reinforcing")
Edited: Tuesday, November 05, 2024
Was this article helpful?
Thank you! Your feedback matters.