Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...What a great service! This is the best site I've ever seen!!! It totally restores my faith in humanity when people take time out to help other people..."

Geography

Where in the world do Tek-Tips members come from?
paul102384 (Programmer)
5 Mar 12 8:16
Hi to All PB Programmers:

Looking for some help from the PB gurus out there!

I'm running PB 10.5 as my front-end and MS SQL Server 2005 as my back-end.

The problem is i encounter connection problem when i run my application.

I used INI file named (financial) to connect to MS SQL Server.

Here's the syntax for INI File

[DATABASE]
DBMS = MS SQL Server 6.x
Database=DB1
UserId=sa
dbpass=mgr
logpass=mgr
ServerName=MyServer
logid=sa
Lock=
DbParm=Connectstring='Log=0,SystemProcs=0'
Prompt=0


Also in my powerbuilder application, to get the information in INI file the script is


s_fileopen = 'C:\Sample\financial.INI'

SQLCA.DBMS = ProfileString(s_fileopen,"DATABASE","DBMS","")
SQLCA.Database = ProfileString(s_fileopen,"DATABASE","Database","")
SQLCA.UserId = ProfileString(s_fileopen,"DATABASE","UserId","")
SQLCA.dbpass  =  ProfileString(s_fileopen,"DATABASE","dbpass","")
SQLCA.logid  =  ProfileString(s_fileopen,"DATABASE","logid","")
SQLCA.logpass  =  ProfileString(s_fileopen,"DATABASE","logpass","")
SQLCA.ServerName=ProfileString(s_fileopen,"DATABASE","ServerName","")

when i check the sqlerrtext it says that  "DBMS MSS Microsoft SQL Server 6.x is not supported in your current installation."

Thanks in advance,
LunaRoja (Programmer)
16 Mar 12 12:03

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close