Solved

Conectivity between PowerBuilder 5. and BTRIEVE 5.x

Posted on 1998-06-01
2
469 Views
Last Modified: 2008-02-01
We use PowerBuilder 5 desktop 32 bit  and want to conect data via odbc to BTRIEVE 5.x
0
Comment
Question by:eldar
[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
2 Comments
 
LVL 2

Accepted Solution

by:
Ezhil earned 100 total points
ID: 1098028
Create ODBC that is DSN (Data Source Name) for BTRIEVE from Control Panel / ODBC or ODBC Painter from PB , fox ex test is the DSN.

From PB

sqlca.dbms = "odbc"
sqlca.dbparm = "connectstring='DSN=test'"
connect;

if sqlca.sqlcode <> -1 then
//Error
messagebox('sqlerrtext',sqlca.sqlerrtext)
else
//Success
end if


0
 

Author Comment

by:eldar
ID: 1098029
The answer is the first step one does, however it doesn't work with power builder 5 desktop.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

730 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