Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with APPEND FROM
Message
 
To
26/06/2002 15:57:17
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00672611
Message ID:
00672658
Views:
8
Steve;

I would cheat and use Data Junction! :)

Tom


>Gerry,
>
>I would read through the file using low-level functions (fopen(), fgets(), etc.), and split the line into fields. I would most likely bust the line it into an array, APPEND BLANK, and then do a REPLACE statement.
>
>In VFP3 do you have STRTRAN() and ALINES() functions?
>
>
>>HDEM|Household demographics|HDEMHHSIZE|Household size|S|HDEMHHSIZE1|One|2|10|1|90|1|1| |
>>HDEM|Household demographics|HDEMHHSIZE|Household size|S|HDEMHHSIZE2|Two|2|10|2|90|2|1| |
>>
>>It's an SDF file that uses '|' as its delimiters. I've copied two lines of it above. -- gww
>>
>>>Can you post a sample of what the file looks like?
>>>
>>>>Poop... Thanks. I must have tested the code using VFP 6.
>>>>When I enter APPEND FROM (lcIncoming) DELIMITED WITH | at the command line, it ignores the vertical bar and puts everything into one field. So much for my delimiter. Any suggestions?
>>>>
>>>>Thanks for your help, Steve.
>>>>
>>>>- GWW
>>>>
Previous
Reply
Map
View

Click here to load this message in the networking platform