Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM ODBC Driver » View Thread |
Messages 1 to 7 of 7 total |
using one ODBC driver to access 2 folders at the same time |
Fri, Jan 18 2008 3:58 AM | Permanent Link |
Hiba Hable | Hello,
Is it possible to use one dbisam odbc driver to access 2 folders containing free tables at the same time without gathering all the tables in one folder, since in my case i have 2 folders 'docs' and 'logistics', each containing of a collection of free tables. As I know i can link the odbc driver data source to only one folder which is the dedicated database. In the application i am implemeting using vb.net and the dbisam odbc driver, i want to be able to access both tables at the same time. Please advise if it is possible and if not is there ant solution to do that. Thank you Hiba |
Fri, Jan 18 2008 5:46 AM | Permanent Link |
Chris Holland SEC Solutions Ltd. Team Elevate | Hi Hiba,
Yes it is possible to do this. You need to create 2 OdbcConnections one for each folder. Just change the connection string for each one to point to the required folder. Chris Holland Hiba Hable wrote: > Hello, > Is it possible to use one dbisam odbc driver to access 2 folders containing free tables at the same time without gathering all the tables in one folder, since in my case i have 2 folders 'docs' > and 'logistics', each containing of a collection of free tables. > As I know i can link the odbc driver data source to only one folder which is the dedicated database. > In the application i am implemeting using vb.net and the dbisam odbc driver, i want to be able to access both tables at the same time. > Please advise if it is possible and if not is there ant solution to do that. > Thank you > Hiba > |
Fri, Jan 18 2008 5:56 AM | Permanent Link |
Hiba Hable | Hello Chris,
In my vb.net application and using sqldataadapter to excute any sql statment, i cant use except one odbc connection. thus, i cant create 2 odbc connection as u suggested. so any other solution? thx Chris Holland <mail@chrisholland.me.uk> wrote: Hi Hiba, Yes it is possible to do this. You need to create 2 OdbcConnections one for each folder. Just change the connection string for each one to point to the required folder. Chris Holland Hiba Hable wrote: > Hello, > Is it possible to use one dbisam odbc driver to access 2 folders containing free tables at the same time without gathering all the tables in one folder, since in my case i have 2 folders 'docs' > and 'logistics', each containing of a collection of free tables. > As I know i can link the odbc driver data source to only one folder which is the dedicated database. > In the application i am implemeting using vb.net and the dbisam odbc driver, i want to be able to access both tables at the same time. > Please advise if it is possible and if not is there ant solution to do that. > Thank you > Hiba > |
Fri, Jan 18 2008 8:46 AM | Permanent Link |
Chris Holland SEC Solutions Ltd. Team Elevate | Hi Hiba,
Do you mean VB won'y let you have 2 OdbcConnections in the designer? If so can you create them manually using something like: OdbcConnection Connection1 = new OdbcConnection(); OdbcConnection Connection2 = new OdbcConnection(); (or whatever the syntax in VB is) Chris Holland Hiba Hable wrote: > Hello Chris, > In my vb.net application and using sqldataadapter to excute any sql statment, i cant use except one odbc connection. thus, i cant create 2 odbc connection as u suggested. so any other > solution? > thx > > Chris Holland <mail@chrisholland.me.uk> wrote: > > Hi Hiba, > > Yes it is possible to do this. > > You need to create 2 OdbcConnections one for each folder. > Just change the connection string for each one to point to the required > folder. > > Chris Holland > > > Hiba Hable wrote: >> Hello, >> Is it possible to use one dbisam odbc driver to access 2 folders containing free tables at the same time without gathering all the tables in one folder, since in my case i have 2 > folders 'docs' >> and 'logistics', each containing of a collection of free tables. >> As I know i can link the odbc driver data source to only one folder which is the dedicated database. >> In the application i am implemeting using vb.net and the dbisam odbc driver, i want to be able to access both tables at the same time. >> Please advise if it is possible and if not is there ant solution to do that. >> Thank you >> Hiba >> > |
Fri, Jan 18 2008 10:59 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Hiba,
<< In my vb.net application and using sqldataadapter to excute any sql statment, i cant use except one odbc connection. thus, i cant create 2 odbc connection as u suggested. so any other solution? >> Why not just use a different data adapter ? -- Tim Young Elevate Software www.elevatesoft.com |
Mon, Jan 21 2008 5:14 AM | Permanent Link |
Hiba Hable | "Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote:
Hiba, << In my vb.net application and using sqldataadapter to excute any sql statment, i cant use except one odbc connection. thus, i cant create 2 odbc connection as u suggested. so any other solution? >> <<Why not just use a different data adapter ?>> i cant use except data adapter in order to excute sql stmts which only takes one connection.so ? any suggestion? Tim Young Elevate Software www.elevatesoft.com |
Mon, Jan 21 2008 8:02 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Hiba,
<< i cant use except data adapter in order to excute sql stmts which only takes one connection.so ? any suggestion? >> You can use any ODBCCommand objects with a data adapter, and the ODBCCommand objects can be associated with any connection that you want. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Thursday, April 18, 2024 at 10:42 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |