Indigo Rose Software
  #1  
Old 10-05-2004
OneSharpeGuy's Avatar
OneSharpeGuy OneSharpeGuy is offline
Forum Member
 
Join Date: Sep 2004
Posts: 7
Huh? ODBC.ConfigDataSource

Can anyone give a practical example of how to use this function. Maybe it's just me, but the help example doesn't help unless you already know what the parameters mean.
Reply With Quote
  #2  
Old 10-05-2004
JXBURNS's Avatar
JXBURNS JXBURNS is offline
Forum Member
 
Join Date: Apr 2001
Location: Haverhill, Suffolk, UK
Posts: 333
I think if you do not understand the parameters (I assume you mean the "DSN=" stuff) then you probably need to look at some ODBC help files as these are standard Windows ODBC connection strings.

I would start off by looking at:

http://msdn.microsoft.com/library/de...ataSources.asp

And a very good source of actual examples is:

http://www.able-consulting.com/ADO_Conn.htm

All you are doing in SUF7 is passing across whatever the connection string has to be. If you have developed an application that uses a DSN or DSN-less connection then you can normally determine what the connection string is by examining a particularly property. For example an ADO connection string in VB6 can be determined by checking what ADOConnection.ConnectionString returns. From that you adapt to meet SUF7's requirement (adding "\\0" before each part).

John
Reply With Quote
  #3  
Old 10-06-2004
OneSharpeGuy's Avatar
OneSharpeGuy OneSharpeGuy is offline
Forum Member
 
Join Date: Sep 2004
Posts: 7
Does this function alwas create a User DSN or is there some way to create a System DSN
Reply With Quote
  #4  
Old 10-06-2004
OneSharpeGuy's Avatar
OneSharpeGuy OneSharpeGuy is offline
Forum Member
 
Join Date: Sep 2004
Posts: 7
Lightbulb

Never mind. I see the option.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -6. The time now is 11:52 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software