Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Glen Villar
  Where is Glen Villar?
 Cabanatuan
 Philippines
 Glen Villar
 To: vece walet
  Where is vece walet?
 tangerang
 Indonesia
 vece walet
 Tags
Subject: RE: error import xls
Thread ID: 230766 Message ID: 230774 # Views: 24 # Ratings: 0
Version: Visual FoxPro 9 Category: Databases, Tables and SQL Server
Date: Tuesday, June 09, 2009 4:15:36 AM         
   


> >
> > Hi!
> >
> > You can use SET FIXED ON to specify the number of decimals displayed. But the decimals are still there, you will only limit the number of decimals displayed e.g. when browsing. Putting the focus on the field will reveal its actual decimal size.
> >
> >
> > Set Fixed On
> > Import From Book1.xls Type XL5
> > Browse
> > Set Fixed Off
> > 

> >
> > Or you can use a select statement from the resulting table after the import command is executed.
> >
> >
> > Import From Book1.xls Type XL5
> > SELECT CAST(a as n(12,2)) as a FROM book1 Into Cursor Imported
> > Browse Normal
> > 

> >
> > (coffee)
> > My Blog Site:  Glenn Villar Blog
>
> oh..yeah good. thank how about HEADER not allowed
>
> ex.
> A B C D E F G
> No. Name Unitprice Stock TOTAL
> 1 Udin 2500 40 100000
> 2
> ...
>
> one more thx.

There is a situation similar to this on this post, Message ID: 197371


(coffee)
My Blog Site:  Glenn Villar Blog



COMPLETE THREAD
error import xls Posted by vece walet @ 6/9/2009 3:22:21 AM
RE: error import xls Posted by Glen Villar @ 6/9/2009 3:50:31 AM
RE: error import xls Posted by vece walet @ 6/9/2009 3:59:51 AM
RE: error import xls Posted by Glen Villar @ 6/9/2009 4:15:36 AM
RE: error import xls Posted by vece walet @ 6/9/2009 4:31:57 AM
RE: error import xls Posted by Glen Villar @ 6/9/2009 4:37:07 AM