Solved

Import csv file data into VFP table

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
: Microsoft Office Collaborate for free and online versions of Microsoft  Word, Excel, Powerpoint, OneNote, Onedrive , Email, Calendar etc. In short we can say that Microsoft office is a suite of servers, applications and services developed by  Micr…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

828 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