Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Saturday, August 23, 2025
slxdeveloper.com
Home
Search
Contact us
About slxdeveloper
Syndication
Community
Forums
(NEW!)
Newsletter Archive
Members
Your Profile
Submit Article
General
Administration
(6)
OLE DB Provider
Miscellaneous
(2)
Architect
VBScript
(9)
ActiveX Controls
(6)
How To's
(14)
.NET Extensions
(3)
External
OLE DB Provider
(12)
SLAPI (SlgxApi.dll)
SalesLogix COM
(1)
Web
ASP/ASP.NET
(2)
Web Services
Web Client
Downloads
Samples
(17)
Documentation
(7)
Utilities
(18)
Resources
SalesLogix
(3)
Programming
(1)
8/23/2025 12:27:40 AM
slxdeveloper.com Community Forums
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics
(for Windows client only)
. View the
code of conduct
for posting guidelines.
Forums RSS Feed
Back to Forum List
|
Back to SalesLogix Scripting & Customization
|
New Thread
View:
Dynamic
Flat
Tree
Search:
Author
Thread: Import quote records from external sql source
David Ogles
Posts: 51
Import quote records from external sql source
Posted: 15 Feb 08 12:47 PM
I need to be able to read data from another SQL database (on same server) and insert those records into SLX. My roadblock is how (specifically) would I prepare a connection string for the external db.
Provider=Microsoft.sqloledb;Database=dbname; server=servername; uid = user; pwd=password
If anyone has a sample or could direct me on this, I would appreciate it.
thanks,
Dave
[
Reply
][
Quote
]
Phil Parkin
Posts: 819
Re: Import quote records from external sql source
Posted: 16 Feb 08 3:34 AM
Create an empty text file on your desktop and rename it test.udl. 'UDL' identifies the file as a universal data link file.
Then double-click it - this will open up the connection builder. Enter your connection info for the external data - it will be saved back into the UDL file. Then edit the UDL file using Notepad - your connection string is there.
If the connection string has any " characters in it, you will need to be slightly convoluted about the way you build the conn string in code. If you get stuck with this, post again & I'll give you some sample code.
Another option, if your SQL is up to it, is to build a connection object in SSIS and use that to pump your data into SLX. This is a better option if you are writing a routine that does a regular transfer of data - ie which is not in response to an event on the SLX client.
Phil
[
Reply
][
Quote
]
Stephen Redmond
Posts: 190
Re: Import quote records from external sql source
Posted: 18 Feb 08 1:26 AM
The method of creating UDLs is great and it has saved me on occassions where I didn't have my "bag of tricks".
One of my own "tricks" is a VBScript that uses the DataLinks object to do this and give me the connection string.
However, you don't have to go beyond this site to get what you are looking for:
http://www.slxdeveloper.com/page.aspx?action=viewarticle&articleid=36
Stephen
[
Reply
][
Quote
]
Page 1 of 1
You can subscribe to receive a daily forum digest in your
user profile
. View the site
code of conduct
for posting guidelines.
Forum RSS Feed
-
Subscribe to the forum RSS feed to keep on top of the latest forum activity!
slxdeveloper.com is brought to you courtesy of
Ryan Farley
&
Customer FX Corporation
.
This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.
code of conduct
|
page cache (param): 8/23/2025 12:56:59 AM