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