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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. SergeantC

    Report Field Property Strech with overflow

    Auguy, Thank you for your help it works great I never thought of stacking the fields on top of each other and using Print When. Thanks again for your time SergeantC
  2. SergeantC

    Report Field Property Strech with overflow

    I am working on a report that has a field that can hold up to 80 characters. However, it may hold one half or less. Assume I have the field width on the report set to 40 characters and the field height set to two lines. Is there a way to insure the bottom line is filled first and if there is...
  3. SergeantC

    Automate Mail merge from VFP 9.0 Using Word 2003 or 2007

    Tamar, Thank you for the information and your time. It is working just as you describe, and apparantly that's notmal. Again I appreciate your tiem and effort in this. I works both using Word 2003 and 2007. SergeantC
  4. SergeantC

    Automate Mail merge from VFP 9.0 Using Word 2003 or 2007

    I used LOCFILE() because my user would not know which document to pick, and there is a 99.9% chance the document file is in VFPs current directory. GETFILE() starts in the current directory and shows the file extensions requested. I can't rely on the user knowing a file name. I just don't know...
  5. SergeantC

    Automate Mail merge from VFP 9.0 Using Word 2003 or 2007

    I created a new mail merge document from a blank document saved it as a .DOC From the command line I did the following: *update EXCEL file used as merge data SELECT mydata.dbf SET SAFETY OFF COPY TO mydata TYPE xl5 RELEASE ALL LIKE o* LOCAL oWordDoc, oDoc oWordDoc = LOCFILE(myMergeDoc.doc')...
  6. SergeantC

    Automate Mail merge from VFP 9.0 Using Word 2003 or 2007

    Thanks, I'll create a new .DOC from a blank. I messed with this so much over the last week or so I'm not sure, but there is a very good chance the .DOC was based on a Template (.DOT) or even a Word2007 .DOTX. Thank for your hint, I really appreciate your time and effort
  7. SergeantC

    Automate Mail merge from VFP 9.0 Using Word 2003 or 2007

    Thank you Actually I've tried it with the document and with the template and cannot get either to work.I tried just using oWord=getobject("c:\mypath\mydoc.doc"), made word visible and the document active. From the command line it works, from a .prg file I get not one but two open documents...
  8. SergeantC

    Automate Mail merge from VFP 9.0 Using Word 2003 or 2007

    Thank you for your response I appreciate your time. It appears the Excel file has the correct place and the document recgonizes it and its location. If I double cllick on the file name from Microsoft Windows Explorer the document opens, I get an a MS Word dialog box stating "Opening this...
  9. SergeantC

    Automate Mail merge from VFP 9.0 Using Word 2003 or 2007

    I'm using VFP9SR2 and trying to do a mail merge 2ith MSWord2003. My problem is that under code my template will not automatically merge. I have to manually select the Excel Table from the merge tool bar then view the merged data. If I open it from Word, or double click it from windows...

Part and Inventory Search

Back
Top