Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / June 2004

Tip: Looking for answers? Try searching our database.

IMPORTING DATA PROBLEM WHIT VISUAL FOXPRO 5

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DIEGO TESTA - 29 Jun 2004 14:06 GMT
HELLO I HAVE A PROBLEM IMPORTING DATA BECAUSE ALWAYS HAVE THE SAME ERROR AND SAY FILE NOT FOUND

I HAVE SEVERAL EXCEL FILES WITH DIFERENTS NAMES LIKE 393.XLS OR 159.XLS AND THATS THE CODE

IM EXECUTIN SOME CODE AND..
ARCH_NEW = "C:\IMPORT\393.XLS"

IMPOR FROM ARCH_NEW TYPE XL5

AFTER THAT SAY FILE NOT FOUND. SOMEONE CAN TELLME WHY DOESN`T WORK THIS CODE.
THANKYOU
DIEGO
Cindy Winegarden - 29 Jun 2004 16:44 GMT
> ARCH_NEW = "C:\IMPORT\393.XLS"
>
> IMPOR FROM ARCH_NEW TYPE XL5
>
> AFTER THAT SAY FILE NOT FOUND.

Hi Diego,

Visual FoxPro thinks you want to import a file named Arch_New. You need to
indicate that VFP should import a file with a name that is held by the
variable Arch_New. To do this you use a "name expression" which is indicated
by parenthesis.

Arch_New = "C:\Import\393.xls"
Import From (Arch_New) Type XL5

Signature

Cindy Winegarden  MCSD, Microsoft Visual FoxPro MVP
cindy.winegarden@mvps.org  www.cindywinegarden.com


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.