Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id AF527CB73DB for ; Sun, 8 Apr 2012 15:57:47 -0300 (ADT) Received: from mailout-de.gmx.net ([213.165.64.22]) by makus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1SGxJ2-0007m3-U8 for pgsql-odbc@postgresql.org; Sun, 08 Apr 2012 18:57:46 +0000 Received: (qmail invoked by alias); 08 Apr 2012 18:57:30 -0000 Received: from mue-88-130-50-184.dsl.tropolys.de (EHLO [192.168.1.113]) [88.130.50.184] by mail.gmx.net (mp030) with SMTP; 08 Apr 2012 20:57:30 +0200 X-Authenticated: #14269776 X-Provags-ID: V01U2FsdGVkX18+XJB4wVc+bPYTqTWe/Nns7mvVPuRjDE+lkN2L6n tk2GGnLiWMQLke Message-ID: <4F81DF97.2080200@gmx.net> Date: Sun, 08 Apr 2012 20:57:27 +0200 From: Andreas User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Re: Very basic question from a beginner References: <4F819A9E.1020801@numericable.fr> In-Reply-To: <4F819A9E.1020801@numericable.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201204/3 X-Sequence-Number: 10817 Am 08.04.2012 16:03, schrieb Jean MAURICE: > > I am very new to PostGreSql and ODBC but an 'expert' in Visual Foxpro. > I wanted to try VFP as a client of PostGres. My laptop is under W7-64. > I 'installed' the ODBC driver via Stack Builder. All things seemed to > work well but nothing appears in th ODBC Sources Manager (I apologize > I must guess the english names from the french ones ...). > > What have I missed ? As Adrian explained you would see defined Datasources (DSN) in the Source Manager. In such a DSN is all the information needed to reach a database. So you create a DSN "my data" and describe there what driver to use, host-address, db-name, user, password ... Later in VFP you should be able to select one of the defined DSNs and VFP knows all neccesary details. BTW there are 3 types of DSN. File based ... there is a textfile somewhere that holds the informations. System DSN ... the admin defines a DSN that all users of the system can access. User DSN ... the user defines a DSN that only he himself can access. Probaply you might be interested to figure out how you can access the db-host without a pre defined DSN. You can stuff all the details into a connection string and use this instead of a DSN. Basically that should be the same as what the DSN-Manager is doing for you. The advantage is that you don't need access to the DSN-Manager on the client system like when you give someone else an application. That way he doesn't have to create a DSN or you don't need some fancy installer that does it for him.