Solved

Lotus Approach and ADO

Posted on 2003-10-31
9
802 Views
Last Modified: 2006-11-17
Please can somebody let me know what the connection string would look like for an ADO connection to a local Lotus Approach .dbf file on my hard drive.

Im a little stuck as I dont know much about the ODBC Driver to use etc, so if you could let me know the connection string details for this (I think Approach uses DBASE, if thats any help)

Many thanks in advance
0
Comment
Question by:matt150279
9 Comments
 
LVL 77

Expert Comment

by:peter57r
ID: 9658719
You can probably link directly to the dbf file from within Access.
Files>GetExternalData>link tables

Pete
0
 
LVL 54

Expert Comment

by:nico5038
ID: 9659378
0
 
LVL 13

Expert Comment

by:lucas911
ID: 9660051
If you just want to open Lotus notes database you can use this:

Shell ("CMD /C START NOTES://server_name/directory\database.NSF")
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 26

Expert Comment

by:Alan Warren
ID: 9662532
Hi matt150279,

ODBC Driver for Lotus Notes
oConn.Open "Driver={Lotus NotesSQL 3.01 (32-bit) ODBC DRIVER (*.nsf)};" & _
           "Server=myServerName;" & _
           "Database=mydir\myDbName.nsf;" & _
           "Uid=myUsername;" & _
           "Pwd=myPassword" & _

Alan

Source: http://www.able-consulting.com/MDAC/ADO/Connection/ODBC_DSNLess.htm#ODBCDriverForLotusNotes
0
 
LVL 4

Author Comment

by:matt150279
ID: 9662574
Guys..  its not notes I want to connect to.  Its Approach.

I want to do this through code, rather than create a link to it through the database window.
0
 
LVL 26

Expert Comment

by:Alan Warren
ID: 9662619
Some feed back on Lotus Approach ODBC Driver suggests that Approach uses the driver that is installed with CAE or the DB2 server by default:
http://dbforums.com/arch/39/2003/6/803960

More discussion here:
http://dbforums.com/arch/212/2002/10/547530

Alan
0
 
LVL 26

Accepted Solution

by:
Alan Warren earned 125 total points
ID: 9664811
Hi Hi matt150279,

How goes the battle, any joy?

Alan

0
 
LVL 39

Expert Comment

by:stevbe
ID: 10012536
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: alanwarren {http:#9664811}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

stevbe
EE Cleanup Volunteer
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question