Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

ODBC connection from Lotus Notes to SQL 2000 db.

Posted on 2008-11-03
3
Medium Priority
?
1,204 Views
Last Modified: 2013-11-17
I'm tring to get a keyword list in Notes (V5.5) using ODBC to connect to table in SQL 2000 DB. I've setup the ODBC connection in Data Source Admin (WinXP SP2).

In the Notes form I'm getting this error consistently when clicking into the field doing the @dbcolumn lookup, regardless of which DB I'm trying to access "@db function failed because the data type of the requested column is unsupported".

Using the same ODBC connection I can successfully bring external data into Excel for example.

The versions of ODBC drivers on my PC are:
SQL Native Client 2005.90.3042.00
SQL Server 2000.85.1117.00
The code in the field is:
 
@DbColumn("ODBC":"Cache"; "MyDataSourceName"; "";""; "dbo.MyTable"; "MyField": "Discard" ;"Distinct" : "Ascending")

Open in new window

0
Comment
Question by:dpeadmin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 63

Expert Comment

by:SysExpert
ID: 22871471
Not sure but it could be that the field defined is not the same type as being pulled from the Notes DB.

Excel will change the type on the fly based on the data, Notes will not.


I hope this helps !
0
 

Author Comment

by:dpeadmin
ID: 22874905
Thanks SysExpert. This put me somewhat in the right direction.

I've successfully got Notes to do a dbcolumn lookup to a field containing data type = "char". This still leaves me with the issue that the data I want to retrieve from the table is of type "nvarchar". Is Notes unable to handle this data type?

0
 

Accepted Solution

by:
LMS-PSG earned 500 total points
ID: 22886367
nvarchar is double byte. I've written lotusscipt to handle this but I'm not sure if if the formula language can handle it.

Does the data type have to be in double byte, could you ask your DBA to create you another view and cast it into a varchar.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

715 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