Solved

Import csv file data into VFP table

Posted on 2014-07-29
1
869 Views
Last Modified: 2014-08-19
I need to take the attached csv file data and store it in a VFP table called laundry2 with the following fields.

Laundry2 table

blktdescript  C  21
shtpdescript C  21
shtbtdescript C 21
sprddescript C 21
btdescript C 21
bstdescript C 21
pcdescript C 21
wcdescript C 21
othdescript C 21
blktamtin N 5
shtpamtin N 5
shtbtamtin N 5
sprdamtin N 5
btamtin N 5
bstamtin N 5
pcamtin N 5
wcamtin N 5
othamtin N 5
date D 8
building C 10
0
Comment
Question by:campbme
1 Comment
 
LVL 11

Accepted Solution

by:
Missus Miss_Sellaneus earned 500 total points
Comment Utility
You can do that with the APPEND FROM command

APPEND FROM FileName  ?
        [ FIELDS FieldList ]
        [ FOR lCondition ]
        [ [ TYPE ] [ DELIMITED
          [ WITH Delimiter  WITH BLANK  WITH TAB
          [ WITH CHARACTER Separator ]
          DIF  FW2  MOD  PDOX  RPD  SDF
          SYLK  WK1  WK3  WKS  WR1  WRK  CSV  XLS
          XL5 [ SHEET SheetName ]  XL8 [ SHEET SheetName ] ] ]
        [ AS nCodePage ]
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now