473,386 Members | 1,775 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

MySQL & Powerbuilder problem

Hi,

I am not quite sure where to place this question, by Powerbuilder or
MySQL as I guess it is a communication glitch between the two
platforms.
I am trying to convert a Powerbuilder application from Sybase SQLA to
MySQL. I have created a new database, exported the Sybase data and
imported it into MySQL. The original datawindows still work fine. So
far, so good, but if the datawindows are regenerated then all decimal
and numeric fields containing decimal places are changed to char!
Decimal(5,2) changes from decimal(2) to char(5) with all the bizarre
consequences.
If I edit the dw source and change the char(5) back to decimal(2) then
it works again.
I gather that MySQL has changed the method of storing decimal fields
after 5.0.3 so maybe Powerbuilder hasn't caught up yet.

Any comments anyone?

Thanks,
Gerry.
Powerbuilder 10.2
MySQL 5.0.4 beta
MyODBC 3.51.11-2

Jul 23 '05 #1
0 1999

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: iwasinnihon | last post by:
I don't usually like to do this, but I need help. I have gone over this code and cannot figure out why it doesn't work. First of all it doesn't check to see if you have filled in the required...
0
by: Fatt Shin | last post by:
Hi, I'm running MySQL 4.0.13, connecting from PowerBuilder 9 using ODCB Connector 3.51. I'm facing a problem where whenever I issue a SELECT COUNT(*) statement from PowerBuilder, I always get SQL...
3
by: Pino | last post by:
In our company we are developing new products (distributed applications) using .NET and SQL Server. However, there are some persons who continue to work with PowerBuilder and Sybase ASA (Adaptive...
4
by: MLH | last post by:
A programmer developed an AMP (Apache/MySQL/PHP) application for me. When he was done, he sent me the PHP files and the MySQL dump file. Now, when I connect to the application on my LAN using...
9
by: Norm Goertzen | last post by:
I've posted a previous question about IDEs and got some good feedback, thanks, but it does seem that everyone has their own favourite IDE -- in other words, no IDE was repeatedly recommended. ...
4
by: VMI | last post by:
In a few days I'll be working with a client that uses powerbuilder to develop applications. I know how to use PB, but I prefer dot net. What can I say to convince the client that dotnet is a...
2
by: agus liem | last post by:
Hai.. I introduce myself, my name : Agus, from Indonesia. Im develop application using POwerbuilder 7 and postgresql 7.3. I have serveral error, and cannot solve yet. Anybody help me? This is...
5
by: =?Utf-8?B?Q2F0c0NyYWRsZQ==?= | last post by:
I have to prove .Net technologies over PowerBuilder of all things. Powerbuilder is OOP, has a .net interface with the DataWindow.net. Thats about all I know. It's a shootout between my group and...
3
by: subho2009 | last post by:
Hello friends, I have face a problem, the problem is that when i fetch data from mysql database i get '&' in the place of '&'. I am using php 5.1.2 and mysql version 5.0.11-beta. What is the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.