Solved

Import csv file data into VFP table

Posted on 2014-07-29
1
1,024 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 12

Accepted Solution

by:
Missus Miss_Sellaneus earned 500 total points
ID: 40227394
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

734 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