Re: rlib_add_datasource_odbc arguments in 1.3.1

Bob Doan <bdoan-J0aWFLYJOWhWk0Htik3J/[email protected]>
Newsgroups gmane.text.rlib.user
Message-ID <[email protected]>
The input name is used later when you add queries to RLIB.

RLIB can use multiple datasources at a time(mysql, odbc, postgresql,
ect)

Or multiple of the same.. say a mysql db on server X and a mysqldb on
server Y

rlib_add_query_as(INPUT NAME (from the datasource), query string, query
name);

What's a DSN?

And what database are you going to use.  They all don't implement ODBC
the same

- bob

On Mon, 2005-03-21 at 17:34 -0600, Derek Giromini wrote:
> All--
> 
> The documentation says nothing about the new parameter input_name added to
> rlib_add_datasource_odbc in version 1.3.1. Could someone in the know please
> enlighten me as to what I should do with the new parameter? Also, how could
> I leverage this function call against an ODBC library that uses a
> configuration file to get the complete information about a DSN?
> 
> I am using RLIB 1.3.1 on a FreeBSD host that has been configured with
> EasySoft's ODBC-ODBC Bridge (OOB) ODBC library. I would prefer if I can
> bypass the OOB API altogether and use only the RLIB API in my code.
> 
> Cheers,
> --Derek
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Rlib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/rlib-users
-- 
Bob Doan <bdoan-J0aWFLYJOWhWk0Htik3J/[email protected]>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.