Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Conectivity between PowerBuilder 5. and BTRIEVE 5.x

Posted on 1998-06-01
2
Medium Priority
?
494 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
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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

Take a look at these 6 Outlook Email management tools which can augment the working and performance of Microsoft Outlook to give you a more rewarding emailing experience.
In this article, the configuration steps in Zabbix to monitor devices via SNMP will be discussed with some real examples on Cisco Router/Switch, Catalyst Switch, NAS Synology device.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

971 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