Re: ODBC



On Dec 18, 7:26 pm, "Chris A. Kusmierz" <ckusmi...@xxxxxxxxxxx> wrote:

I have a downstream system which needs to update some PICK files from a MS
Access application. How can I access and update PICK files from VBA? I tried
to setup an ODBC Data Source

You can easily connect your D3/NT system to "downstream" systems via
the D3ODBC provider and VBA. I wouldn't used D3's ODBC provider to do
actual ODBC/SQL data transfers, but rather use it to call subroutines
on the D3 box to provide the data you require to your VBA-enabled
application.

You'll need the D3ODBC client library files on your workstation and
add it to the "References" section of your VB/VBA application. You'll
also need the ODBC driver set up correctly. In addition to allowing
you to Call subroutines, there are a bunch of helper functions that
allow you to deal with D3 dynamic arrays within VBA (insert, replace,
delete, locate, etc).

It is a powerful combination that gives you a very nice way to move
and work with data between systems.

I am unsure of the parameters needed to
setup the connection. Namely, what user names and passwords map to the
equivilants in PICK?

The driver configuration is pretty straight forward. The User ID/Pass
Account ID/Pass are the same as if you were logging on via a
terminal. Once an application connects to D3 via the ODBC dirver,
you'll see that user logged on (LISTU) as defined by the driver set-
up.

The only part that might seem odd is:

Host = server name
Port = 1603 (usually)
Virtual Machine = server name


--
Kevin Powick

.



Relevant Pages

  • Re: Proj98 SQL & DeleteFromDatabase method
    ... best practices and Project VBA ... I get the import dialogue box ... I've tried every way I can think of to try and get another ODBC ... > "Rod Gill" wrote in message ...
    (microsoft.public.project.vba)
  • 16 bit SQL ODBC driver setup
    ... We need to setup a 16 bits SQL data source using ODBC ... driver to run a program in windows 2000 pro. ...
    (microsoft.public.win2000.applications)
  • Re: Proj98 SQL & DeleteFromDatabase method
    ... Select ODBC then the delete button or option in a drop down list ... best practices and Project VBA ... > "Rod Gill" wrote in message ... You can definitely delete a project in a database ...
    (microsoft.public.project.vba)
  • Re: Wie greife ich von Access auf eine Oracle DB zu.
    ... Aber jetz mit VBA?? ... Verknuepfen per VBA ist in FAQ 3.1 erklaert, ... musst du die Instanz angeben, ... "Driver={Microsoft ODBC for Oracle}; ...
    (microsoft.public.de.access)
  • Re: ODBC driver
    ... you can get this driver in the sql server install disk. ... > Microsoft ODBC Administartor ... > The setup routines for the SQL Server ODBC driver could not be found. ...
    (microsoft.public.data.odbc)