XData

Friday, February 16, 2024

XData - Single Sage 50 data

Description

Sage 50 Canadian Edition This function is only available for Sage 50 Canadian Edition

This function returns single data from the Sage 50 database.

Parameters

Table [Optional]

Database table from which the data will come.

Expression [Optional]

Column to fetch or expression to evaluate.

Indices [Optional]

Index of the row to return or indices of the rows on which to evaluate an expression.

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 a single data from table tCustomr for column sName and row 1
=XData("tCustomr", "sName", 1)

Was this article helpful?

 
Thank you for your feedback

Contact Can't find what you're looking for?

You can Contact us so we can address your question.