Basic demo and mail merge

Mark,
I have installed your basic demo on 10Gdb and it works great. One of the requirement is to create an application similar to MS Word Mail merge utility ( using mail merge utility , a word template 's variables are populated by a data file or from databases tables). I want to populate these templates variables using XML stored in XMLDB instance.
How would I be able to do it. In your example 5.2 Edit Document, you display the XML in the MS Word. I want to display actual WORD document by populating the variables from XML.
Thank you.
Syed

Mark,
I wanted to here something from you on this issue. Could you provide me some your insight on this issue.
Thank you.
Syed

Similar Messages

  • Problems with pages and mail merging from Address Book

    hey guys. I have just created an invitation using one of the templates in Pages. this template is for four postcard size invites on one sheet of A4. i want to merge addresses from my address book. i can do the merge except that rather than four different contacts on each page i end up with four of the same on each page before it moves on the next contact on the next page. what i want to do is for it to merge one address per postcard. in Word i would put 'next' as the last field in the merge fields but i cant find a similar command in Pages. please can some advice?

    I don't use Address Book for mail merging, but I tested this on a four page document and it worked for that so maybe it will work for your postcards. First, do your merge with full size pages and one address per page. Then in the print menu select Layout (drop down from Copies and Pages) and set it for 4 per Page (any direction you wish). That should print four different addresses on one sheet.
    Walt

  • Crm web launcher and mail merge

    Hi
    we have created a screen  on which there are pushbuttons .These pushbuttons are meant for creating letter templates and generate letters using templates alredy created.This program uses mail merge functionality in which OLE is used and data is merged with MS WORD.Everything works fine when we use the same server on which this program is written.but when we use CRM web launcher it takes us to that screen but when we try to use pushbutton for generating letters it always gives  an error which says 'control error'. can any one explain remedy to this problem.
    Note: OLE is abbreviation of Object Linking and Embedding
    Edited by: Arya on Oct 21, 2008 3:11 PM

    Hi
    we have created a screen  on which there are pushbuttons .These pushbuttons are meant for creating letter templates and generate letters using templates alredy created.This program uses mail merge functionality in which OLE is used and data is merged with MS WORD.Everything works fine when we use the same server on which this program is written.but when we use CRM web launcher it takes us to that screen but when we try to use pushbutton for generating letters it always gives  an error which says 'control error'. can any one explain remedy to this problem.
    Note: OLE is abbreviation of Object Linking and Embedding
    Edited by: Arya on Oct 21, 2008 3:11 PM

  • What else does database and mail merge?

    I’m a small non-profit with a small database, using Appleworks. I record contributions and send monthly mail merge acknowledgements. Appleworks does it all, including printing the address labels for those who contribute each month. I understand Lion won’t support Appleworks...and the only answer I can find is Filemaker which costs a fortune and is way overkill for what I need. Aren’t there countless organizations who keep a database and send monthly acknowledgements? How can it be there’s no other application that will do this?

    Don't upgrade to Lion. It's a pretty box of tricks but it's hardly essential, and certainly not the indispensable "next step" that OS X, Tiger, Snow Leopard were. Stay where you are and run AW happily.
    If you HAVE to get a new machine, demand that they install Snow Leopard on it.

  • What is the best app for address labels and mail merge?

    What is the best app for address labels, mail merge and keeping track of customers information?

    Whilst this will work, it's intended for merging information (e.g. producing personally-addressed letters to a list of people).
    If you simply want address labels, open Contacts and then choose which contacts you want (either a group or hold down Cmd and click on those you want - if they're together, click on the first and use Shift when you click on the last). No need to select any if you want all.
    Then press Cmd-P and click on Show Details (at the bottom). Choose Labels (at the right hand side) and choose the size labels you have. You can even adjust the font and colour if you wish.

  • Why is my header/footer missing when I mail merge in Word 2013?

    I have just converted from Word 2007 to 2013 and now I am having an issue with my mail merge document. My mail merge document has our company letterhead set up in the header/footer. When I finish the mail merge by selecting 'Edit Individual Documents' using
    an Outlook contacts list - the first page is missing the header/footer but all the others are correct. 
    I use this document and mail merge every few days so this is going to cause me much grief if it can not be resolved.
    I have never experienced this issue before and I consider myself an advanced Word user.
    Has anyone else had this issue and knows how to fix it?

    Hi,
    According to your description, my understanding is that the first page of the Word document lost
    the header/footer, but the other page display well.
    If it is, please try the methods and check if it is helpful:
    Click on File>Options>Display and make sure that there is a tick mark in the box for "Show white space between pages in Print Layout view."
    Then, do you use DOC file (Create in Word 2007) or DOCX file?If
    you use Doc file, I recommend you convert it to DOCX file to test.
    If I misunderstand something, please let me know.
    Regards,
    George Zhao
    TechNet Community Support

  • How do I create a mail merge envelope ?

    I am not able to create a mail merge envelope. Can someone walk me through the steps?
    Message was edited by: Guam Chef

    It depends on what you are looking for.
    If you just want to send an email to a group of people, then you can do that with Mail.app.
    If you want to have a customized email, for example, with customized fields for the salutation, for example, then there is no way to get Mail.app to do that.
    It is possible to set up Microsoft Word, Excel, and Outlook to do this (i.e., the mac versions): you can have a database in Excel of recipients or other fields; a letter in Word that has the customized fields for the recipients and other variables, and have that letter go out as email via Outlook. The disadvantage is it's not very straightforward to set up (like everything else in Office. Plan on having a long weekend free to try to get it set up and running), and you have to use Outlook as your default email program on your mac.
    There are a number of third-party developer bulk email apps for mac. I've had the most success with MaxBulk Mailer. Maxprog | MaxBulk Mailer, bulk emailer software and mail-merge tool for Mac OS and Windows

  • Mail merge options

    I have a data base in bento and can export to many formats but I want to use pages to make a newsletter and mail merge names & address with out having to make sticky address labels, in other words print to the document. any ideas?
    thanks

    Export to comma delimited text and open that in Numbers or Contacts, then use the Numbers spreadsheet or a Contacts Group to merge with Pages.
    Peter

  • OLE2 from Forms 10g to Microsoft Word 2007 Mail Merge

    We have an Oracle Form that allows the user to print off information on the Form to a Microsoft Word document via OLE2 and mail merging; Forms version is 10.1.2.0.2 as it the version of OAS (from Linux Redhat AS4). This currently works fine if the user has Microsoft Word 2000, but since a recent upgrade to Office 2003 and now in some cases 2007, this functionality doesn't work. The JInitiator Console displays the following error messages:
    Oracle JInitiator: Version 1.3.1.22
    Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\jovinc
    Proxy Configuration: Manual Configuration
    Proxy: stpproxy:80
    Proxy Overrides: 172.27*,172.28*,10*,10.*,intranet.fnfis.com*,ljtcapd05.fnfis.com,ukbiprodlx01,ukbiprodlx01.certegy.com,ukbiprodlx02*,ukbiprodlx02.certegy.com*
    JAR cache enabled
    Location: C:\Documents and Settings\jovinc\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://ukbiprodlx01.certegy.com:7778/forms/java/frmall_jinit.jar from JAR cache
    Loading http://ukbiprodlx01.certegy.com:7778/forms/java/frmrwinteg.jar from JAR cache
    Loading http://ukbiprodlx01.certegy.com:7778/forms/java/frmwebutil.jar from JAR cache
    Loading http://ukbiprodlx01.certegy.com:7778/forms/java/jacob.jar from JAR cache
    Loading http://ukbiprodlx01.certegy.com:7778/forms/CTYCommonLive/CommonImages.jar from JAR cache
    Loading http://ukbiprodlx01.certegy.com:7778/forms/CTYLogonLive/LogonImages.jar from JAR cache
    Loading http://ukbiprodlx01.certegy.com:7778/forms/CTYXplorerLive/XplorerImages.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0
    2009-Aug-19 11:30:43.785 ERROR>WUO-714 [OleFunctions.setExceptionValues()] Unable to get the last OLE Error details; Exception
    null
    2009-Aug-19 11:30:43.785 ERROR>WUO-707 [OleFunctions.invoke_obj()] Unable to invoke Method: TypeText; Exception
    com.jacob.com.ComFailException: A COM exception has been encountered:
    At Invoke of: TypeText
    Description: Type mismatch.
    2009-Aug-19 11:30:44.848 ERROR>WUO-707 [OleFunctions.invoke_obj()] Unable to invoke Method: Execute; Exception
    com.jacob.com.ComFailException: Invoke of: Execute
    Source: Microsoft Word
    Description: This method or property is not available because the document is not a mail merge main document.
    The below code is used within the Form when they invoke the 'Print' function:
    PROCEDURE PR_print_invoice
    IS
    l_t_application CLIENT_OLE2.OBJ_TYPE;
    l_t_documents CLIENT_OLE2.OBJ_TYPE;
    l_t_source_doc CLIENT_OLE2.OBJ_TYPE;
    l_t_letter_doc CLIENT_OLE2.OBJ_TYPE;
    l_t_merge_doc CLIENT_OLE2.OBJ_TYPE;
    l_t_mail_merge CLIENT_OLE2.OBJ_TYPE;
    l_t_selection CLIENT_OLE2.OBJ_TYPE;
    l_t_args CLIENT_OLE2.LIST_TYPE;
    l_t_args_move_right CLIENT_OLE2.LIST_TYPE;
    l_v_sourcefile VARCHAR2(2000);
    l_v_letter VARCHAR2(2000);
    l_v_mergefile VARCHAR2(2000);      
    l_v_destination_directory VARCHAR2(2000);
    l_v_source_directory VARCHAR2(2000);
    l_n_ok NUMBER;
    l_n_tax NUMBER;
    l_n_total_value NUMBER;
    l_n_total_tax NUMBER;
    l_v_country VARCHAR2(3);     
    l_t_bca_client_address_line1 bill_client_address.bca_client_address_line1%TYPE;
    l_t_bca_client_address_line2 bill_client_address.bca_client_address_line2%TYPE;
    l_t_bca_client_address_line3 bill_client_address.bca_client_address_line3%TYPE;
    l_t_bca_client_address_line4 bill_client_address.bca_client_address_line4%TYPE;
    l_t_bca_client_address_line5 bill_client_address.bca_client_address_line5%TYPE;
    l_t_bca_client_address_line6 bill_client_address.bca_client_address_line6%TYPE;
    l_t_bcl_client_name bill_client.bcl_client_name%TYPE;
    l_t_bcl_client_id bill_client.bcl_client_id%TYPE;
    l_t_trt_rate tax_rate.trt_rate%TYPE;     
    l_t_rli_description_1 reference_list.rli_description_1%TYPE;
    l_n_item_count NUMBER := 0;
    l_b_debug BOOLEAN;
    l_b_ok BOOLEAN;
    l_n_bookmark NUMBER := 0;
    l_n_counter PLS_INTEGER;
    CURSOR l_cur_client( p_ti_bcl_seq_num IN bill_client.bcl_seq_num%TYPE )
    IS
    SELECT bcl_client_id
    , bcl_client_name
    FROM bill_client
    WHERE bcl_seq_num = p_ti_bcl_seq_num
    CURSOR l_cur_client_address( p_ti_bcl_seq_num IN bill_client.bcl_seq_num%TYPE )
    IS
    SELECT bca_client_address_line1
    , bca_client_address_line2
    , bca_client_address_line3
    , bca_client_address_line4
    , bca_client_address_line5
    , bca_client_address_line6
    FROM bill_client_address bca
    , role
    WHERE bca_bcl_seq_num = p_ti_bcl_seq_num
    AND rol_ref_type = 'INVPOINT'
    AND rol_bcl_seq_num = p_ti_bcl_seq_num
    AND rol_bca_seq_num = bca_seq_num
    CURSOR l_cur_items( p_ti_mih_seq_num IN manual_invoice_header.mih_seq_num%TYPE )
    IS
    SELECT mil_tco_seq_num
    , mil_value
    , mil_description
    , mil_quantity
    , rownum
    FROM manual_invoice_line mil
    WHERE mil_mih_seq_num = p_ti_mih_seq_num
    CURSOR l_cur_count_items( p_ti_mih_seq_num IN manual_invoice_header.mih_seq_num%TYPE )
    IS
    SELECT count(*)
    FROM manual_invoice_line
    WHERE mil_mih_seq_num = p_ti_mih_seq_num
    CURSOR l_cur_tax_rate( p_ti_tco_seq_num IN tax_rate.trt_tco_seq_num%TYPE
    , p_ti_mih_invoice_date manual_invoice_header.mih_invoice_date%TYPE )
    IS
    SELECT trt_rate
    FROM tax_rate
    WHERE trt_tco_seq_num = p_ti_tco_seq_num
    AND p_ti_mih_invoice_date BETWEEN trt_effective_date AND NVL( trt_effective_end_date, p_ti_mih_invoice_date )
    CURSOR l_cur_ref_list( p_ti_rli_code reference_list.rli_code%TYPE )
    IS
    SELECT rli_description_1
    FROM reference_list
    WHERE rli_rty_code = 'INTYP'
    AND rli_bcy_seq_num = NVL( :GLOBAL.bcy_seq_num, 1 )
    AND rli_code = p_ti_rli_code
    CURSOR l_cur_country( p_ti_bcy_seq_num bill_country.bcy_seq_num%TYPE )
    IS
    SELECT bcy_short_name
    FROM bill_country
    WHERE bcy_seq_num = p_ti_bcy_seq_num
    PROCEDURE PR_Insert_Cell( p_vi_text IN VARCHAR2 )
    IS
    l_n_bookmark NUMBER := 0;
    BEGIN
    l_n_bookmark := 1;
    l_t_args := CLIENT_OLE2.CREATE_ARGLIST;
    CLIENT_OLE2.ADD_ARG( l_t_args, p_vi_text );
    CLIENT_OLE2.INVOKE( l_t_selection, 'TypeText', l_t_args);
    CLIENT_OLE2.DESTROY_ARGLIST( l_t_args );
    EXCEPTION
    WHEN FORM_TRIGGER_FAILURE
    THEN
    RAISE;
    WHEN OTHERS
    THEN
    PA_lib_msg.PR_others_exception( 'PA_hci_misc.PR_print_invoice.PR_insert_cell', l_n_bookmark );
    END;
    BEGIN
    l_n_bookmark := 1;
    SYNCHRONIZE;
    l_n_bookmark := 2;
    OPEN l_cur_country( :GLOBAL.bcy_seq_num );
    FETCH l_cur_country INTO l_v_country;
    CLOSE l_cur_country;
    -- Determine invoice names and locations and fetch them from the server
    l_n_bookmark := 3;
    l_v_sourcefile := pa_lib_security.fn_fetch_environment( 'ManualInvoiceSourceFile' );
    l_v_letter := pa_lib_security.fn_fetch_environment( l_v_country || 'ManualInvoiceMergeFile' );
    l_v_source_directory := pa_lib_security.fn_fetch_environment( 'SourceManualInvoiceDirectory' );
    l_v_destination_directory := pa_lib_security.fn_fetch_environment( 'DestinationManualInvoiceDir' );
    l_b_debug := ( pa_lib_security.fn_fetch_environment( 'ManualInvoiceDebug' ) = 'Y' );
    l_b_ok := webutil_file_transfer.as_to_client( l_v_destination_directory||l_v_sourcefile, l_v_source_directory||l_v_sourcefile );
    l_b_ok := webutil_file_transfer.as_to_client( l_v_destination_directory||l_v_letter, l_v_source_directory||l_v_letter );
    l_n_bookmark := 4;
    IF ( :SYSTEM.FORM_STATUS = 'CHANGED' )
    THEN
    l_n_bookmark := 5;
    DO_KEY('commit_form');
    END IF;
    l_n_bookmark := 6;
    OPEN l_cur_count_items( :blk_manual_inv_header.mih_seq_num );
    FETCH l_cur_count_items INTO l_n_item_count;
    CLOSE l_cur_count_items;
    IF ( l_n_item_count = 0 )
    THEN
    pa_lib_msg.pr_message_alert( 'STB', -119 );
    RETURN;
    END IF;
    l_n_bookmark := 7;
    SET_APPLICATION_PROPERTY( CURSOR_STYLE, 'BUSY' );
    -- Start Word
    l_n_bookmark := 8;
    l_t_application := CLIENT_OLE2.CREATE_OBJ( 'Word.Application' );
    l_t_documents := CLIENT_OLE2.GET_OBJ_PROPERTY( l_t_application, 'Documents' );
    IF ( l_b_debug )
    THEN
    CLIENT_OLE2.SET_PROPERTY( l_t_application, 'Visible', 1 );
    END IF;
    -- Open source file
    l_n_bookmark := 9;
    l_t_args := CLIENT_OLE2.CREATE_ARGLIST;
    CLIENT_OLE2.ADD_ARG( l_t_args, l_v_destination_directory||l_v_sourcefile );
    l_t_source_doc := CLIENT_OLE2.INVOKE_OBJ( l_t_documents, 'Open', l_t_args );
    CLIENT_OLE2.DESTROY_ARGLIST( l_t_args );
    -- Populate source file with invoice items
    l_n_bookmark := 10;
    OPEN l_cur_client( :parameter.p_bcl_seq_num );
    FETCH l_cur_client INTO l_t_bcl_client_id, l_t_bcl_client_name;
    IF ( l_cur_client%NOTFOUND )
    THEN
    CLOSE l_cur_client;
    pa_lib_msg.pr_message_alert( 'STB', -121 );
    END IF;
    CLOSE l_cur_client;
    l_n_bookmark := 11;
    OPEN l_cur_client_address( :parameter.p_bcl_seq_num );
    FETCH l_cur_client_address INTO l_t_bca_client_address_line1
    , l_t_bca_client_address_line2
    , l_t_bca_client_address_line3
    , l_t_bca_client_address_line4
    , l_t_bca_client_address_line5
    , l_t_bca_client_address_line6;
    IF ( l_cur_client_address%NOTFOUND )
    THEN
    CLOSE l_cur_client_address;
    pa_lib_msg.pr_message_alert( 'STB', -122 );
    END IF;
    CLOSE l_cur_client_address;
    l_n_bookmark := 12;
    OPEN l_cur_ref_list( :blk_manual_inv_header.mih_invoice_type );
    FETCH l_cur_ref_list INTO l_t_rli_description_1;
    IF ( l_cur_ref_list%NOTFOUND )
    THEN
    CLOSE l_cur_ref_list;
    pa_lib_msg.pr_message_alert( 'STB', -123 );
    END IF;
    CLOSE l_cur_ref_list;
    -- Move to first data column
    l_n_bookmark := 13;
    l_t_selection := CLIENT_OLE2.GET_OBJ_PROPERTY( l_t_application, 'Selection' );
    l_t_args_move_right := CLIENT_OLE2.CREATE_ARGLIST;
    CLIENT_OLE2.ADD_ARG( l_t_args_move_right, 12 );
    CLIENT_OLE2.ADD_ARG( l_t_args_move_right, 1 );
    CLIENT_OLE2.ADD_ARG( l_t_args_move_right, 0 );
    FOR l_n_counter IN 1 .. 19
    LOOP
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    END LOOP;
    l_n_bookmark := 14;
    l_n_total_value := 0;
    l_n_total_tax := 0;
    FOR l_r_items IN l_cur_items( :blk_manual_inv_header.mih_seq_num )
    LOOP
    l_n_bookmark := 15;
    OPEN l_cur_tax_rate( l_r_items.mil_tco_seq_num, :blk_manual_inv_header.mih_invoice_date );
    FETCH l_cur_tax_rate INTO l_t_trt_rate;
    IF ( l_cur_tax_rate%NOTFOUND )
    THEN
    CLOSE l_cur_tax_rate;
    pa_lib_msg.pr_message_alert( 'STB', -124 );
    END IF;
    CLOSE l_cur_tax_rate;
    l_n_tax := ROUND( l_r_items.mil_value * ( l_t_trt_rate / 100 ), 2 );
    l_n_total_tax := l_n_total_tax + l_n_tax;
    l_n_total_value := l_n_total_value + l_r_items.mil_value;
    END LOOP;
    l_n_bookmark := 16;
    FOR l_r_items IN l_cur_items( :blk_manual_inv_header.mih_seq_num )
    LOOP
    l_n_bookmark := 17;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    PR_insert_cell( l_r_items.mil_description );
    l_n_bookmark := 18;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    PR_insert_cell( TO_CHAR( l_r_items.mil_quantity ) );
    l_n_bookmark := 19;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    PR_insert_cell( TO_CHAR( l_r_items.mil_value, '99999999.90' ) );
    l_n_bookmark := 20;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    OPEN l_cur_tax_rate( l_r_items.mil_tco_seq_num, :blk_manual_inv_header.mih_invoice_date );
    FETCH l_cur_tax_rate INTO l_t_trt_rate;
    IF ( l_cur_tax_rate%NOTFOUND )
    THEN
    CLOSE l_cur_tax_rate;
    pa_lib_msg.pr_message_alert( 'STB', -124 );
    END IF;
    CLOSE l_cur_tax_rate;
    PR_insert_cell( TO_CHAR( l_t_trt_rate ) || '%' );
    l_n_bookmark := 21;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    l_n_tax := ROUND( l_r_items.mil_value * ( l_t_trt_rate / 100 ), 2 );
    PR_insert_cell( TO_CHAR( l_n_tax, '99999999.90' ) );
    l_n_bookmark := 22;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    PR_insert_cell( TO_CHAR( l_r_items.rownum ) );
    l_n_bookmark := 23;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    PR_insert_cell( UPPER( l_t_rli_description_1 ) );
    l_n_bookmark := 24;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    PR_insert_cell( l_t_bcl_client_name );
    l_n_bookmark := 25;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    PR_insert_cell( l_t_bca_client_address_line1 );
    l_n_bookmark := 26;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    PR_insert_cell( l_t_bca_client_address_line2 );
    l_n_bookmark := 27;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    PR_insert_cell( l_t_bca_client_address_line3 );
    l_n_bookmark := 28;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    PR_insert_cell( l_t_bca_client_address_line4 );
    l_n_bookmark := 29;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    PR_insert_cell( l_t_bca_client_address_line5 );
    l_n_bookmark := 30;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    PR_insert_cell( l_t_bca_client_address_line6 );
    l_n_bookmark := 31;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    PR_insert_cell( TO_CHAR( :blk_manual_inv_header.mih_invoice_date, 'DD/MM/YYYY' ) );
    l_n_bookmark := 32;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    PR_insert_cell( l_t_bcl_client_id );
    l_n_bookmark := 33;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    IF ( :blk_manual_inv_header.mih_invoice_prefix IS NULL )
    THEN
    PR_insert_cell( TO_CHAR( :blk_manual_inv_header.mih_invoice_number, '0000000009' ) || '/' ||
    TO_CHAR( :blk_manual_inv_header.mih_issue_number, '09') );
    ELSE
    IF ( NVL( LENGTH( :blk_manual_inv_header.mih_invoice_prefix), 0 ) = 1 )
    THEN
    PR_insert_cell( :blk_manual_inv_header.mih_invoice_prefix ||
    TO_CHAR( :blk_manual_inv_header.mih_invoice_number, '000000009' ) || '/' ||
    TO_CHAR( :blk_manual_inv_header.mih_issue_number, '09' ) );
    ELSE
    PR_insert_cell( :blk_manual_inv_header.mih_invoice_prefix ||
    TO_CHAR( :blk_manual_inv_header.mih_invoice_number, '00000009' ) || '/' ||
    TO_CHAR( :blk_manual_inv_header.mih_issue_number, '09' ) );
    END IF;
    END IF;
    l_n_bookmark := 34;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    IF ( l_r_items.rownum = 1 )
    THEN
    PR_insert_cell( TO_CHAR( l_n_total_value, '99999999.90') );
    END IF;
    l_n_bookmark := 35;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    IF ( l_r_items.rownum = 1 )
    THEN
    PR_insert_cell( TO_CHAR( l_n_total_tax, '99999999.90' ) );
    END IF;
    l_n_bookmark := 36;
    CLIENT_OLE2.INVOKE( l_t_selection, 'MoveRight', l_t_args_move_right );
    IF ( l_r_items.rownum = 1 )
    THEN
    PR_insert_cell( TO_CHAR( l_n_total_value + l_n_total_tax, '99999999.90' ) );
    END IF;
    END LOOP;
    CLIENT_OLE2.DESTROY_ARGLIST( l_t_args_move_right );
    -- Open merge file
    l_n_bookmark := 37;
    l_t_args := CLIENT_OLE2.CREATE_ARGLIST;
    CLIENT_OLE2.ADD_ARG( l_t_args, l_v_destination_directory||l_v_letter );
    l_t_letter_doc := CLIENT_OLE2.INVOKE_OBJ( l_t_documents, 'Open', l_t_args );
    CLIENT_OLE2.DESTROY_ARGLIST( l_t_args );
    -- Do mail merge
    l_n_bookmark := 38;
    l_t_mail_merge := CLIENT_OLE2.GET_OBJ_PROPERTY( l_t_letter_doc, 'MailMerge');
    l_t_args := CLIENT_OLE2.CREATE_ARGLIST;
    CLIENT_OLE2.INVOKE( l_t_mail_merge, 'Execute', l_t_args );
    CLIENT_OLE2.DESTROY_ARGLIST( l_t_args );
    -- Print
    l_n_bookmark := 39;
    l_t_args := CLIENT_OLE2.CREATE_ARGLIST;
    l_t_merge_doc := CLIENT_OLE2.GET_OBJ_PROPERTY( l_t_application, 'ActiveDocument' );
    CLIENT_OLE2.ADD_ARG( l_t_args, 0 );
    CLIENT_OLE2.INVOKE( l_t_merge_doc, 'PrintOut', l_t_args );
    CLIENT_OLE2.DESTROY_ARGLIST( l_t_args );
    -- Cleanup
    l_n_bookmark := 40;
    IF ( NOT( l_b_debug ) )
    THEN
    l_t_args := CLIENT_OLE2.CREATE_ARGLIST;
    CLIENT_OLE2.ADD_ARG( l_t_args, 0 );
    CLIENT_OLE2.INVOKE( l_t_documents, 'Close', l_t_args );
    CLIENT_OLE2.DESTROY_ARGLIST( l_t_args );
    CLIENT_OLE2.INVOKE( l_t_application, 'QUIT' );
    END IF;
    CLIENT_OLE2.RELEASE_OBJ( l_t_selection );
    CLIENT_OLE2.RELEASE_OBJ( l_t_mail_merge );
    CLIENT_OLE2.RELEASE_OBJ( l_t_source_doc );
    CLIENT_OLE2.RELEASE_OBJ( l_t_letter_doc );
    CLIENT_OLE2.RELEASE_OBJ( l_t_merge_doc );
    CLIENT_OLE2.RELEASE_OBJ( l_t_documents );
    CLIENT_OLE2.RELEASE_OBJ( l_t_application );
    l_n_bookmark := 41;
    SET_APPLICATION_PROPERTY(CURSOR_STYLE,'DEFAULT');
    EXCEPTION
    WHEN FORM_TRIGGER_FAILURE
    THEN
    SET_APPLICATION_PROPERTY(CURSOR_STYLE,'DEFAULT');
    RAISE;
    WHEN OTHERS
    THEN
    PA_lib_msg.PR_others_exception('PA_hci_misc.PR_print_invoice',l_n_bookmark);
    END;
    ---------------------------------

    Some questions:
    Which version of office were you using before? 2003?
    Are the data files on a network, or on your local machine? If they are on a network, can you make a copy of one of them on your local machine and try again?
    Can you open the files directly in Excel? What extension do they have (.xls, or something else?) I am wondering whether access to other file types has been left blocked on your machine but is allowed on your colleague's machine.
    Are you just opening the mail merge main document and seeing this message? If so, do you see the same thing if you start with a new document and try to connect to one of these data sources?
    Can you confirm that the message is about Access even though you are trying to connect to an Excel file?
    (Also, office 2007 has some new stuff - that let's you specify that certain folders are "trusted" . I don't think that ever affected MailMerge but it may be as well to make sure that your documents and data sources are in trusted locations).
    Also worth trying to start Word in "Safe mode" - see, e.g. http://office.microsoft.com/en-gb/word-help/work-with-office-safe-modes-HP010140792.aspx
    Peter Jamieson

  • Mail merge and print one document at a time?

    Hi all. I'm an Apple revert. I'm currently using the i7 iMac. Previous Apple computer was a //e.
    I print an 8 or 12 page newsletter for my work. I want my printer/copier to fold and staple each document individually. Pages seems to send all documents to the printer in one huge file. How do I mail merge and print one document at a time?
    [In Windows Publisher, there's a registry hack to make Pub print one at a time. Anything similar on a Mac?]
    Mike

    Hello
    As you saw wrongly my first name I'm not too surprised that you missed the beast
    In fact it's not surprising that you missed it.
    I prepared the archive but forgot to upload it
    Download :
    For_iWork:iWork '09:découpe_PDFs.zip
    Yvan KOENIG (VALLAURIS, France) samedi 27 août 2011 11:29:37
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Why do I receive "4.3.2 connection rate limit exceeded" error message using the mail merge extension and what can be done about it?

    I am using TB 31.3.0 with Mail Merge 3.9.1. I routinely send an email to 435 members of an volunteer emergency responders group that I coordinate. I do so using a .csv list with mail merge. While there were no problems in the past, more recently the mail merge function will hang after sending a varied number of messages successfully and I get the following error message:
    "An error occurred sending mail. The mail server sent an incorrect greeting: 4.3.2 connection rate exceeded.."
    There is an "OK" button in the error message pop up that can be clicked to resume the mail merge process. It would appear that if I click the "OK" button immediately whenever the error message is received I must do so frequently and some members do not receive their email. If I delay clicking the "OK" button, I found that I only needed to click the "OK" button twice to send to all the members.
    An on line search suggests this is the result of some sort of throttling by my ISP, Sonic.net. There is also this comment: "If you are receiving this error, you are likely using mailing list software which cannot decipher the temporary fail codes. If so, you will need to set your software to slow down its delivery rate and/or reduce the number of active connections per remote host."
    I am not super technical. Is it realistic to think that I can tweak mail merge to that I do not have to babysit my email to this group?

    then I suggest you send using a mail provider that is not actively trying to block your outgoing mail. Or use a yahoo / google groups mailing list feature so you only send a single mail.
    Or use a free account from the likes of http://www.ymlp.com/ who limit free account mailing lists to 1000 subscribers. ( Googled them this morning)

  • In Pages 09 we can do Mail Merge and Import Styles from a document. Can someone please explain how we can do this with the new version of Pages 5.1. Even Apple solutions are only valid for Pages Version 09. What a DOWN GRADE!

    In Pages 09 we can do Mail Merge and Import Styles from a document. Can someone please explain how we can do this with the new version of Pages 5.1. Even Apple solutions are only valid for Pages Version 09. What a DOWN GRADE! Thank god Pages 09 is still there.

    …and the other 98 missing features.
    Just use Pages '09, which should be in your Applications/iWork folder.
    Rate/review Pages 5 in the App Store.
    Peter

  • How can I mail merge in new Pages 5.2 and send it by Mail?

         How can I merge mail in the new Pages version 5.2  and send it by Mail?
         It seems that there is not  a mail merger available anymore for Pages. Although it is a powerfull mecanism to send a bunch of letters by Mail, Apple has  downgraded themselves by excluding this feature from this app.  What is the solution to this problem?
         Should i seek a Microsoft program to resolve this issue, because the new version of pages simply will not cut it without these necessary features.

    If you have the previous version of Number and Pages you can still use those applications to perform a mail merge.  Neither the previous version nor the latest version support mass emailing.  There are other applications that can do that.
    Using my favorite search engine I was able to identify several services that can perform a mass email campaign:
    I used the search term: "mass email service"

  • Problem with Mail Merge in Word 2007 and Outlook 2007

    Hi,
    I just found out about the function to generate mail merged PDFs and send them via email. I tried that using Outlook 2007 as the email client, but it seems to me that Acrobat generates RTF emails instead of plain text. That causes many email clients, except Outlook, just to display a file called winmail.dat instead of the actual PDF file.
    I already checked the settings in Outlook and made sure that new mails are started in plain text mode. If I do this manually the email becomes plain test. But not automatically with Acrobat.
    Does anybody have a solution on that? I'm using Adobe Acrobat 9.1.
    Best regards,
    Johannes

    Hi andré, I guess the issue is coming from the fact that you selected "AllPartiesInvolved" and that may contain any numbers of entries. So when you test your webservice, you put a key and then get a result for that key, and in that case you might get "element1" until "element3" for example if there was 3 partners involved in you activity.
    But, when you design your template, you don't have a key at that moment, so in the Web Service structure, you have "items" which stands for all the possible entries you might retrieve at runtime. I guess you could use an index in your template to specify which item you need, but this is quite hasardeous, so i would be you, I would not design my web service to use "AllPartiesInvolved" but rather a specific Partner type like contact person for instance.
    Regards,
    Xavier

  • When I mail merge a message that incudes a table with an excel spreadsheet, the table disappears and the data appears in list form

    I've tried both creating the table using Thunderbird, as well as creating the table in Word first and the problem is the same. I've reinstalled and updated both the mail merge add on and Thunderbird.

    If you do not need all the excel specific items you can just write it to a spreadsheet using the write to spreadsheet file vi's.
    If you want to go the excel route you will have to use active x. you can see a lot of examples on the excel board under the breakpoint forum. please post a sample of how you want your data to look and I can maybe help explain what options you have. and also oyu do not necesarily need the report generation toolkit.
    Joe.
    "NOTHING IS EVER EASY"

Maybe you are looking for

  • Uploading bank files to vendor payments.

    Hi Gurus, I am not sure if it is the proper forum to this question, but I am a bit lost¡¡ We have a company in the UK and we want to make SAP vendor payment propposals. First of all, we are making manual files (with real information) of the next sort

  • MySQL Boken Pipe Exception...Plz Help Me Urgently

    Hello Friends.... When I shifted my Java application which has MySQL(Linux has MySQL - 4.1.21-standard version. ) as a backend on Linux Platform I encountered following exception... com.mysql.jdbc.CommunicationsException: Communications link failure

  • Xcelsius Set Up Problems

    I am trying to set up a new copy of Xcelsius Engage 2008.  When License Manager pops up it asks me for my Xcelsius Key Code which I type in EXACTLY as it is stated on the card I received in the box: <keycode deleted> I am told that this key code is i

  • Prom_panic on HP Kayak

    I need to install Solaris on my HP Kayak XU 800 Workstation (Intel Pentium III, 256MB RDRAM, SCSI HD). When I boot the system over CD-Rom i become the following Message after the blue boot screen Prom_panic: kmem_free block already free Entering boot

  • Repeating events: have title option to auto add subsequent

    I'm having more and more scheduling of clients on packages that are 8, 12, 24 weeks, etc. It would so helpful to have the option to auto assign a subsequent number for each title in the repeat title where "John Doe X" is the title in your iCAL: 03/27