Export (copy into file) through script...

If you need help on how to use the program
Post Reply
ABNormal
Posts: 135
Joined: 2005-01-08 08:33:38

Export (copy into file) through script...

Post by ABNormal »

i'ld like to create a file where to copy what a script find.
actually my script starts and put what i'm looking for into fieldComment.
then i select all the text saved into comment frame, copy it, opena blank file and paste text into it.

i'ld like to know if there is an istruction that, put into a script, can directly "export" a GetField(fieldComment) into an external file.

thx
antp
Site Admin
Posts: 9726
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

You can create a TStringList object and use its SaveToFile method.
Another solution is to add "debug" in the "uses" section of the script, and call the SaveToFile procedure: SaveToFile(GetField(fieldComment), 'c:\file.txt');
ABNormal
Posts: 135
Joined: 2005-01-08 08:33:38

Post by ABNormal »

Thank you, Merci, Danke, Grazie, Gracias, Shukra,........

i've found the way to collect multiple records and directly create a new catalogue.
in comment i create a XML formatted text, and then i save it all as a 'filename.xml' into catalogue folder. so i have not to repeat same searches for entire archives, i rip it all in one shot!

last night Antoine saved my life!
what a powerful program
Post Reply