Solved

Import csv file data into VFP table

Posted on 2014-07-29
1
930 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
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

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.
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

772 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