|
|
Sponsor |
Re: postgresql equivalent to ms access parameter query: msg#00066db.postgresql.odbc
"Jeff Eckermann" <jeff_eckermann@xxxxxxxxx> wrote in message news:20040323152604.94169.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxx > You've unwittingly provided yourself with the answer > below, i.e. construct a query string using the value > of some control(s). > > You just need a piece of code that makes a connection > to the server, constructs a query string, then sends > the query to the server. ADO is good for this. > > So you don't really need a function, because either > way you are doing the same thing, i.e. creating a > query string using passed in values. > Thanks, that looks like the answer. Hope to have some time in the next day or two to try it out. The Access Linked Table Manager only displays DSN=xxx and DATABASE=yyy from the connection string. It must get the other psqlodbc parameters from the preconfigured DSN. Passing the mouse pointer over the linked table icon in the database window in Access displays what appears to be the entire psqlodbc connection string, including ODBC as the first parameter, and TABLE=zzz as the last parameter. I presume that a connection string would be something like: connection_name.Open "Provider=ODBC; DSN=xxx ;DATABASE=yyy;" An ADO recordset equivalent for the TABLE=zzz parameter could be: recordset1.Open ''zzz", connection_name David P. Lurie ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: postgresql equivalent to ms access parameter query, Jeff Eckermann |
|---|---|
| Next by Date: | Re: postgresql equivalent to ms access parameter query, Jeff Eckermann |
| Previous by Thread: | Re: postgresql equivalent to ms access parameter query, Jeff Eckermann |
| Next by Thread: | Re: postgresql equivalent to ms access parameter query, Jeff Eckermann |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|