943,997 Members | Top Members by Rank

Ad:
  • MySQL Discussion Thread
  • Unsolved
  • Views: 9951
  • MySQL RSS
May 18th, 2005
0

powerbuilder+mysql

Expand Post »
hi,everyone
my name uma,I use powerbuilder with mysql and have some problem.I have a table that have 2 primary key first a character and second a numeric.I create a datawindow that has 2 argument(primary key) for retrieve data.if second argument(numeric) has value more than 9 the datawindow can't retrieve data.I don't know why?who can help me? thank you. :cry:
Similar Threads
uma
Reputation Points: 10
Solved Threads: 0
Newbie Poster
uma is offline Offline
1 posts
since May 2005
Aug 15th, 2005
0

Re: powerbuilder+mysql

Hello Uma,
I have the same problem. I am working with Powerbuilder 8 and 10 with MySQL 5.0.4 with MyODBC 3.51.12 (the latest, still in test) By the way, this version of MyODBC solves a problem in Powerbuilder 10 with the datatype TIME, in Powerbuilder 8 you don't have that problem.

The only workaround that I found out for the retrieve problem is to change the retrieval argument from number to string, the retrieves are now going fine. I am not happy with the solution, but it works.

By the way I don't know how to find a way to let Powerbuilder know when in the database a column has datatype Decimal that it is a decimal and not a char() and the datatype Text is for Powerbuilder a char(-1). :cry:

Do you have the same problem?

Greetings Steven


Quote originally posted by uma ...
hi,everyone
my name uma,I use powerbuilder with mysql and have some problem.I have a table that have 2 primary key first a character and second a numeric.I create a datawindow that has 2 argument(primary key) for retrieve data.if second argument(numeric) has value more than 9 the datawindow can't retrieve data.I don't know why?who can help me? thank you. :cry:
Reputation Points: 10
Solved Threads: 0
Newbie Poster
lambert is offline Offline
1 posts
since Aug 2005
Nov 6th, 2005
0

Re: powerbuilder+mysql

Quote ...
By the way I don't know how to find a way to let Powerbuilder know when in the database a column has datatype Decimal that it is a decimal and not a char() and the datatype Text is for Powerbuilder a char(-1).
Try this:

ls_type = dw_1.describe(ls_col1 + '.Coltype')

ls_type can be:

'number'
'char'
'decimal'
...


Try to see help for more. HOpe this helps.


By the way i also has a problem connecting to mysql for my first time.

I am using PB 6.5 with Sybase as my BackEnd, I am trying to use and connect to MySQL Server but got an error "[MySQL AB][MyODBC]ERROR : Client does not support authentication protocol requested by server;
consider upgrading MySQL client " during ODBC connection, does someone encounter the same error message? What do you mean by that error. Please enlighten my mind.
I am very much open for any suggestion or ideas, please help!

Thanks,
Raul
Reputation Points: 10
Solved Threads: 0
Newbie Poster
raulaisleen is offline Offline
1 posts
since Nov 2005
Jul 13th, 2006
0

Re: powerbuilder+mysql

Hi.

I have the same problem, with an argument. Only change the column datatype to decimal. I'm using pb10

Bye.


Quote originally posted by raulaisleen ...
Try this:

ls_type = dw_1.describe(ls_col1 + '.Coltype')

ls_type can be:

'number'
'char'
'decimal'
...


Try to see help for more. HOpe this helps.


By the way i also has a problem connecting to mysql for my first time.

I am using PB 6.5 with Sybase as my BackEnd, I am trying to use and connect to MySQL Server but got an error "[MySQL AB][MyODBC]ERROR : Client does not support authentication protocol requested by server;
consider upgrading MySQL client " during ODBC connection, does someone encounter the same error message? What do you mean by that error. Please enlighten my mind.
I am very much open for any suggestion or ideas, please help!

Thanks,
Raul
Reputation Points: 10
Solved Threads: 0
Newbie Poster
last is offline Offline
1 posts
since Jul 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in MySQL Forum Timeline: MySQL insert statement
Next Thread in MySQL Forum Timeline: Grouping question





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC