XDataCondition

XDataCondition - Indices of Sage 50 data for a given condition


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.


Condition

Condition to evaluate.


Dataset [Optional]

Custom dataset to use.


Connections [Optional]

Sage 50 Connection to query. If left empty, the default connection will be utilized.

Examples

It is strongly recommended to utilize an Excel cell address (ex. A1:B19) containing the information of the parameters requested in all Logicim 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 with values starting with A

=XDataCondition("tCustomr", "sName Like 'A*'")

Edited: Thursday, January 30, 2025

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.