XConnect

XConnect() - Open a connection

Description

This function opens a connection.

Parameters

Filename [Optional]

Connection name.

User [Optional]

Sage 50 user name. (For Sage 50 Canadian edition only. For the Sage 50 US edition, the User must always be Peachtree.)

Password [Optional]

Sage 50 password.

Examples

It is strongly recommended to use Excel cells address (ex. A1:B19) containing the information of the parameters requested in all Logicim XLGL functions, such as accounts, date, departments, etc. 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.

Opens a connection to "My company" with the default user and no password

=XConnect("My Company")

Opens a connection to "My company" with user "Peachtree" and password "Pass123"

=XConnect("My Connection","Peachtree","Pass123")

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 feedback!

Would you like to receive a direct response to your comment?

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 feedback!

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

Can't find what you're looking for?

You can Contact us so we can address your question.