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).
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.