Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Decimal precision is lost in OLE using Excel

Status
Not open for further replies.

JPOhio

Programmer
Jan 5, 2007
1
US
Hello All,

I appreciate any information that can help solve this decimal delima in advance.

I have a dadawindow where I took the data and create an Excel spreadsheet OLE with it. The data field that I have is a numeric field defined as Decimal(2) type. The datawindow display the field correctly. However, when it is put into a template datawindow with the field defined the same type and create an OLE using Excel, the column did not display the data as seen on the datawindow. It rounded up to a whole number and all decimals data is lost.

I search the net all over and could not find any solution for this. I am using PB 9.0 - I am a newbie with Powerbuilder and I am hoping that anyone with PB expertise can help me solve this.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top