Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text Delimited to DBF w/o Wizard
Message
From
09/03/2004 12:27:39
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
09/03/2004 12:25:26
N. Lea
Nic Cross Enterprises
Valencia, California, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00884471
Message ID:
00884480
Views:
14
Scanning text file itself is not a good idea. However Append command supports expressions and scope. ie :

append from ... for !seek(IDField, 'myRealTable','myIDTag')

Cetin

>Forgot to add that I need to verify the record does not exist in the existing table. I guess a scan could work for that right before the append took place?
>
>
>>>I have an existing table with records. What is the proper method to import text delimited data seperated by pipes? Would it be better to create a temporary table first? I am trying to create this process for users to be able to use this method over Terminal Services. So I figured a cursor would be better than temp table so that there would be no conflicts with directories and overwriting. However, I cannot get this data into a cursor. Please help!! Thanks!!
>>
>>Like :
>>Steven Buchanan|Sales Manager|15
>>?
>>
>>append from myText.txt type delimited with "" with character "|"
>>
>>BTW cursor is better than table IMHO.
>>Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform