Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing a txt file to a cursor
Message
From
25/08/2023 13:10:59
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01686981
Message ID:
01686983
Views:
50
>Hello friends; How can I do to pass a txt file to a cursor?
>A little light, please. Thank you

Depends what you mean. Let's assume you mean pass the content of a txt file to a cursor
create cursor mycursor (m1 m)
lcContent = FileToStr(YourFile)
Insert into mycursor (m1) values (m.lcContent)
There are several other ways to do this.

HTH?
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform