Search results

  1. WayneFrank

    Open Word documents on desktop

    I have a problem related to saveas. In the following code, I merge a document and then save it on my hard drive. (This savved document is attached to an email in other code. All this works fine. The problem is that if there are 100 letters merged and saved, then the user then has 100 open Word...
  2. WayneFrank

    Can I specify the sender from Progress?

    I am using a progress program to create emails. That is working, but I need a further refinement: I want the Progress program to specify the sender of the email . Some of my code: ASSIGN chmail:Subject = subject chMail:Body = body chMail:BCC =...
  3. WayneFrank

    Close a document from a Progress program ??

    In a Progress program, I save a Word document (from a merge) chWord:ActiveDocument:SaveAs( file-name-var ) Now this Word document is open on my PC. Is there a way that from the Progress program that I can close this document? Thanks DEFINE VARIABLE chWordApp AS COM-HANDLE NO-UNDO...
  4. WayneFrank

    Question Variable in header of Word merge.

    I have asked this before. I would be most grateful if I could see a Progress example of how to do this. Thanks. I am doing a Word merge from a Progress program. When I put a merge variable in the heading, the merge does not put a value in it. The merge variables in the body work fine. Funny...
  5. WayneFrank

    Question Save result of Word merge ??

    I am doing a Word merge from a progress program. That works fine, but I need a way to save the merge result from the program. In the program it would save it as "c....mergeresult.docx". Is there a way to do this? Thanks
  6. WayneFrank

    Question See if a file is present in a folder.

    I need a way, from a Progress program to see if a file is in a folder. I have the complete path and filename. How do I do this? Thanks. frm_filename has the complete path and filename. CREATE "Word.Application" chWordApp. chWordApp:ScreenUpdating = TRUE...
  7. WayneFrank

    export directly to Excel?

    Is there an example of a Progress program that does an export directly to Excel? Sort of like you can do for Word. Thanks
  8. WayneFrank

    merge variable in the heading

    I am doing a Word merge from a Progress program. When I put a merge variable in the heading, the merge does not put a value in it. The merge variables in the body work fine. Funny thing is, if I use the same document and run the merge just from Word, the variable in the header gets its value...
  9. WayneFrank

    make Word be on to top

    I am doing a Word merge in Progress. When I use the command chWordApp:visible = TRUE. it does make it visible. My question is, how can I make Word be on to top the other windows? Is there a way to do that? Thanks
  10. WayneFrank

    The total length of the fields in an index exceeds max key size. (129)

    I am getting the error The total length of the fields in an index exceeds max key size. (129) When I look up error 129 it says the sum of the lengths of all the fields in an index cannot exceed 188. I look at all the indexes in the tables I use and nowhere is an index longer than 188...
  11. WayneFrank

    Where can I find a guide to the .ini file?

    Where can I find a guide to the .ini file? What I want to change (globally) is that when a field is to be input, that field shows as underlined. Thx.
  12. WayneFrank

    Spill File I/O Error

    A coworker got Spill File I/O Error in the Progress editor. She was doing a global replace. When she did the replace one at a time it worked fine. Any ideas, anyone? Thx
  13. WayneFrank

    Word merge from a Progress program?

    Is there anyone out there doing a Microsoft Word merge from a Progress program? I am researching this, and I keep getting stuck. I would appreciate even the most basic feedback, like "That's easy." or "You have got to be crazy.". :)
  14. WayneFrank

    Is there any way I can make the TAB the delimiter for EXPORT?

    A question about the Export command: I want to use the Tab character as the delimiter. CHR(KEYCODE(“TAB”)) If I try to use this as the delimiter, it uses “C” as the delimiter. When I look in the Progress Language Reference it says “The character parameter must be a quoted single...
  15. WayneFrank

    is there a way to tell Word what delimiter I want to use?

    When doing a Word mail merge from Progress, is there a way to tell Word what delimiter I want to use? I understand that the default is Tab, how do I pick another? Thanks
  16. WayneFrank

    I want to do a Word merge, using a Progress program

    I want to do a Word merge, using a Progress program to generate the data file, and then, also in the Progress program, to invoke Word and have it do the merge, with the finished product appearing on the user’s desktop. Right now the Progress applications do a merge with WordPerfect. The user...
  17. WayneFrank

    Problem with compiling in Win 7

    I have 2 PC’s at my desk. One is an old Windows XP machine, the other is a new Windows 7 PC. I changed some Progress programs for a request I was given. When I compile them on the Windows 7 PC, they do not run right on the XP PC. There are popups saying rectangle does not fit in parent...
  18. WayneFrank

    RUN WinExec in Windows 7, WordPerfect x5

    In Progress Version 9.1B, Win XP, WordPerfect 10, we issue this command: /* ---Start WordPerfect using DLL procedure, if it is not already open--- */ RUN WinExec (INPUT wp-file-name, INPUT 2). It works fine in this environment. The data merge with the forms proceeds as desired. However, in...
  19. WayneFrank

    RELEASE of the record

    In a progress program, I have a situation where I am making a TEMP-TABLE. What it looks like is happening is that if only one TEMP-TABLE record is produced, that one record does not show up in later processing when the program accesses this temp table.. If I change to program to do a...
  20. WayneFrank

    Which is faster:

    Which is faster: IF CAN-FIND(crlink WHERE crlink.case# = caseb.case# AND crlink.cr = YES AND crlink.case# <> crlink.ldcs#) THEN NEXT. -- OR --...
Top