XDataLookup

XDataCondition - Indices of Sage 50 data for a given lookup

Description

Sage 50 Canadian Edition 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.

We'd love to hear your thoughts! Please provide a comment before submitting.

Thank you for your message!

Would you like a Logicim team member to reply to your message?

If so, please enter your email address below.

You will also receive a copy of your comment.

We protect your personal information.

Thank you for your message!

Verify your inbox or spam folder to find the copy of your comment.
Contact clientcare@logicimtech.com if you didn't receive it.

Contact support@logicimtech.com for technical support or reporting questions.
Book your FREE consultation now with a Logicim Sage 50 Reporting EXPERT.

Fullscreen Image