Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

2 questions

Status
Not open for further replies.

hag99

Technical User
Nov 8, 2003
49
US
1. Any code available to read a DAT file in clipper?
2. Any code available to print a file from clipper directly into MS Word?

Thanks in advance.
Harvey
 
Hello,

The code for a dat file will depend on what you are expecting to be in it. Do you have an example?

As for the printing direct to Word, what exactly do you mean?

Do you mean get a clipper program to get windows to print an existing word document, or do you mean to create a word document from within clipper?

I cheat a bit with this type of thing nowadays and make the clipper program run a VFP program, which can use automation to control a copy of word, which clipper can't (so far as I know).


Regards

Griff
Keep [Smile]ing
 
hag99,

Assuming that the dat file is just data, you can do a low level read and parse out the elements. I would create a dbf structure and append the dat into the dbf structure for maximum flexability. If you are pulling in data. Griff is correct in stating that you have to work around Clipper if you want to overlay out to another Window's based app.

Jim C.




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top