Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Excel 2003 how to export to DBF with a field of fraction?

Dear Sir,

In Excel 2003 I have many fields such as debet, kredit
debet is 999,999,999.99 (fraction of 2 decimal points)

The question is how can I make sure the exported fields are including the
decimal value?? (When I export to DBF the value of decimals are lost)

thanks in so much!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Excel 2003 how to export to DBF with a field of fraction?

Hi Johan,

If your fields are General fields then the values that you see in the cell
will export. (99.99 will export as 100), but if you set your fields as
Numeric with 2 decimal places then you will get the number as shown in the
value bar at the top (99.99 will export as 99.99). Also, be sure do
double-click the columns to auto-size them to the widest value, otherwise
Excel may set the field width to the first value it sees, and not export
larger values correctly.

--
Cindy Winegarden



VFP OLE DB:
http://msdn2.microsoft.com/en-us/vfoxpro/bb190232.aspx
VFP ODBC: http://msdn2.microsoft.com/en-us/vfoxpro/bb190233.aspx




"Johan2000" wrote in message
...
Dear Sir,

In Excel 2003 I have many fields such as debet, kredit
debet is 999,999,999.99 (fraction of 2 decimal points)

The question is how can I make sure the exported fields are including the
decimal value?? (When I export to DBF the value of decimals are lost)

thanks in so much!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Excel 2003 how to export to DBF with a field of fraction?

Hi Cindy Winegarden,

Thanks for helping me out...
Your name Cindy Winegarden just Hit Me....
Long time ago you help me out.....
This time you help me out again....

Thanks so much, may God Bless You.....
may all the good spirit stay with you.....

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Excel 2003 how to export to DBF with a field of fraction?

Hi Johan,

Thanks for your kind words. I'm glad you've solved your problem.

--
Cindy Winegarden



VFP OLE DB:
http://msdn2.microsoft.com/en-us/vfoxpro/bb190232.aspx
VFP ODBC: http://msdn2.microsoft.com/en-us/vfoxpro/bb190233.aspx




"Johan2000" wrote in message
...
Hi Cindy Winegarden,

Thanks for helping me out...
Your name Cindy Winegarden just Hit Me....
Long time ago you help me out.....
This time you help me out again....

Thanks so much, may God Bless You.....
may all the good spirit stay with you.....



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I Format fractions as fraction characters in Excel 2003? drywall steve Excel Discussion (Misc queries) 1 July 22nd 09 11:54 PM
SAP export to Excel 2003 Lance Hebert[_2_] Excel Discussion (Misc queries) 1 January 28th 09 11:16 PM
Export Access to Excel text field with numbers dcr Excel Discussion (Misc queries) 1 May 16th 08 07:13 PM
Export memo field in Access to Excel - data gets cut off cpurpleturtle Excel Discussion (Misc queries) 0 June 22nd 06 04:24 PM
export excel data to a field in a pdf. robert burger Excel Programming 0 September 16th 04 07:45 PM


All times are GMT +1. The time now is 09:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"