Form Letter

I would like to create a from that is set up like a letter and when the end-user inputs information in the fields that are in the middle of sentences and paragraphs the rest of the sentences and/or paragraph moves in order to keep the form looking like a letter.
Thank you in advance for any assistance.
Parre

I used to have blank text fields inside our form letters and it just didn't look right because unless the user-entered text fit the field perfectly, there would be a lot of white space around the words entered (or there would be too much text). Using floating fields makes it look so much nicer.
First you enter your block of text(s) that you want to print out as the letter content.
Then, wherever you want to have user-entered fields, add a floating field (Insert > Floating Field).
In the hierarchy, change the names of each floating field to something meaningful.
Enter a text field (or Numeric field or Date field...whichever is appropriate) to correspond with each floating field. I put my fields at the top of the letter and give them a yellow background so that the user knows to enter info into those fields. The caption for each field will need to make it clear to the user what to enter since they will not know immediately what it corresponds to in the letter.
Rename each text field that you have added so that it is exactly the same as the corresponding Floating Fields within your text block.
Change the binding on all of the text fields that correspond to a floating field to "Global".
Enter the following javascript into the Exit event for each text field: xfa.layout.relayout();
At this point if you preview the form, it should work. You'll want to now set the user-entered fields at the top to "Visible (Screen Only)" so that they do not print on the form letters.
Hope this helps!
Jo

Similar Messages

  • How to get a second page in a form letter report after create it by Wizard

    How to get a second page in a form letter report after create it by Wizard
    i've built a report by wizard with a sql-Query
    the sql give me back for example 3 dataset
    and the report prints 3 pages
    dataset 1 - page 1
    dataset 2 - page 1
    dataset 3 - page 1
    thats ok,
    but now I need a second page per dataset ( with only a text )
    so that the report should print 2 pages per dataset
    dataset 1 - page 1 ,page 2
    dataset 2 - page 1 ,page 2
    dataset 3 - page 1 ,page 2
    It's not really clear for me, what to do, to create the second page
    any help ?

    .... found answer in other forum

  • Need to ommit the short form letter from the given string

    HI,
         I need to ommit the Short form letter from column data.
    EX :
    CREATE table #testdata
    (id int identity(1,1),cust_address varchar(max))
    insert into #testdata (cust_address)
    select 'first street 5N, North'
    union
    select 'second street W, west'
    union
    select 'roja street 5S, South'
    union
    select 'temple street E, East'
    union
    select 'first street, Northwest, NW'
    union
    select 'first street, Southwest, SW'
    select  * from #testdata
    actutal out put:
    id cust_address
    1 first street 5N, North
    2 first street, Northwest, NW
    3 first street, Southwest, SW
    4 roja street 5S, South
    5 second street W, west
    6 temple street E, East
    Need to ommit the Short form letter from this output,
    condition , 1) the short form letter should have space in front of the letter ex : first street (space)N, North
                   so the output should be "first street, North" like that for other words like "first street, Southwest, SW" should be "first street, Southwest"
                 2) the short form letter should not combine with any other letter ex :  first street 5N, North
                     here we dont need to do anything.
    Required Out put :
    id cust_address
    1 first street 5N, North
    2 first street, Northwest
    3 first street, Southwest
    4 roja street 5S, South
    5 second street, west
    6 temple street, East
    Nandha Kumar

     CREATE FUNCTION [dbo].[SplitString]
             @str VARCHAR(MAX)
        RETURNS @ret TABLE (token VARCHAR(MAX))
         AS
         BEGIN
        DECLARE @x XML 
        SET @x = '<t>' + REPLACE(@str, ',', '</t><t>') + '</t>'
        INSERT INTO @ret
            SELECT x.i.value('.', 'VARCHAR(MAX)') AS token
            FROM @x.nodes('//t') x(i)
        RETURN
      END
    with cte
    as
    select  *
    from #testdata
    CROSS APPLY (SELECT * FROM [dbo].[SplitString](cust_address)) AS der
    ) ,cte1
    as
    select *,
    case when UPPER(token)=token COLLATE Latin1_General_BIN
      then  '' else token end as d 
     from cte
     ) ,CTE2
     AS
     (SELECT *,case when RIGHT(UPPER(D),1)=RIGHT(D,1) COLLATE Latin1_General_BIN 
      then  replace(D,RIGHT(UPPER(D),1),'') else token end d1 FROM CTE1
     SELECT m1.id,
           ( SELECT m2.D1 + ','
               FROM cte2 m2
              WHERE m2.id = m1.id
              ORDER BY id
                FOR XML PATH('') ) AS token
      FROM cte2 m1
     GROUP BY m1.id 
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • FM or classes for word form letter ?

    hi there,
    can anybody tell me how i can use the 'form letter' function out of an abap ?
    some classes or fm's ?
    i want to open WORD for windows with specific fields for form letter processing.
    best regards, Martin

    Hi,
    check this sample prog in se38.........
    SAPRDEMODOCUMENTCONTAINER
    Cheers,
    jose.

  • Is it possible to mailmerge a form letter to recipients identified in a database (names, addresses, etc.)?

    Is it possible to mailmerge a form letter so that the mailmerge process produces separate pdf files, one for each recipient identified in a database (names, addresses, etc.)?
    Or is is  it possible to mailmerge a form letter so that the mailmerge process produces one big file that contains a copy of the form letter for each recipient identified in a database?

    Hi marceepoo,
    If you're using Word for Windows, you sure can. See Adobe Acrobat X Pro * Create PDFs from Word mail merges
    Best,
    Sara

  • Rep-1051 when creating Form Letter

    Hi
    I'm trying to create a Form Letter in Reports 6i for the first time.
    When I create it, it runs successfully in Reports but when I try and save it anywhere, I get the messages - rep-1051 Unable to save document and rep-1070 Error when opening or saving a document.
    This is a new report created from scratch. I have tried building it bit by bit and it seems that in the form letter layout, it likes it and will save up to a certain amount of text but when I go over that amount (which I need to do), I'm getting this error.
    Any ideas?
    Thanks
    Martin

    christm31 wrote:
    Hi
    I'm trying to create a Form Letter in Reports 6i for the first time.
    When I create it, it runs successfully in Reports but when I try and save it anywhere, I get the messages - rep-1051 Unable to save document and rep-1070 Error when opening or saving a document.
    This is a new report created from scratch. I have tried building it bit by bit and it seems that in the form letter layout, it likes it and will save up to a certain amount of text but when I go over that amount (which I need to do), I'm getting this error.
    Any ideas?
    Thanks
    Hi Martin
    It's all about temporary space issue. I have the problem with reports 10g.
    what i do.
    Create a folder in a drive, where good amount of free space available.
    then update registry setting of
    REPORTS60_TMPwith the newly created folder path
    Hope this works..
    Hamid

  • Form Letter Report - How To Format Date and Number Hidden Fields

    Hi
    Is it possible to format date and number fields in a form letter report. This case were Paper Design shows fields as $<hire_date>. The examples in reference book only print character values which do not require formatting. I cannot determine how to achieve this. Cannot select fields from Paper Design view as per other report styles where can apply formatting. Do I have to perform formatting in the query to return date as string in format I wish for? This is not case for other report styles.
    Thanks

    you could add a field, set the source of the field to hire_date (assuming hire_date is a column in the data model), and put a format mask of whatever format you want. then set visible to No.
    then instead of &<hire_date> you can instead type &<name of your new field>.

  • /bin/bash to write a form letter [solved]

    Ok, in principal, I need to have bash read in a file and make substitutions for variables I have defined in a skeleton file.  Kind of like a form letter.  Why?  I have torque installed on my machine and I need to have my repo-ck build script make a custom build.sh that each respective cluster job will call.
    I'm no student and this isn't homework.  Anyway, here is an oversimplified example
    letter.skl:
    Dear $name,
    The party starts at $time.
    Regards,
    $me
    So the bash script defines all three of those variables and needs to read in the letter.skl and pipe it into a new file that contains the "final" output.  How can this be accomplished?
    #!/bin/bash
    name="John"
    time="11 o'clock"
    me="graysky"
    Last edited by graysky (2011-06-18 22:38:33)

    Yeah... this is how I'm doing it now, but it's very clunky.  I need to generate within my build.functions two files:
    1) A build script unique to each arch and cpu package
    2) A queue file for the cluster that will call #1
    I have leveraged the echo method as I said, but its not elegant and very ugly.  What would be far better would be for me to have a skeleton script I can read in, substitute and write out if this is possible natively in bash.
    Example of my "ugly" code:
    # make cluster.pbs
    echo "#!/bin/bash" > $pkgarch-$arch.pbs
    echo "#PBS -l nodes=1,walltime=1:00:00" >> $pkgarch-$arch.pbs
    echo "#PBS -N $arch-$pkgarch" >> $pkgarch-$arch.pbs
    echo " " >> $pkgarch-$arch.pbs
    echo "[[ $arch = \"x86_64\" ]] && $workdir/build-$pkgarch-$arch.sh" >> $pkgarch-$arch.pbs
    echo "[[ $arch = \"i686\" ]] && sudo linux32 chroot /opt/arch32 /bin/bash -c $workdir/build-$pkgarch-$arch.sh ; sleep 1s" >> $pkgarch-$arch.pbs
    # make script it needs if building in chroot
    echo "#!/bin/bash" > $workdir/build-$pkgarch-$arch.sh
    echo ". /home/$me/.credentials" >> $workdir/build-$pkgarch-$arch.sh
    echo "cd $workdir" >> $workdir/build-$pkgarch-$arch.sh
    echo "whatarch=\$(uname -m)" >> $workdir/build-$pkgarch-$arch.sh
    echo "if [ \$whatarch = \"x86_64\" ]; then" >> $workdir/build-$pkgarch-$arch.sh
    echo " makepkg -g >> PKGBUILD && makepkg -sc" >> $workdir/build-$pkgarch-$arch.sh
    echo "else" >> $workdir/build-$pkgarch-$arch.sh
    echo "su -c \"makepkg -g >> PKGBUILD && makepkg -sc\" $me" >> $workdir/build-$pkgarch-$arch.sh
    echo "fi" >> $workdir/build-$pkgarch-$arch.sh
    echo " " >> $workdir/build-$pkgarch-$arch.sh
    echo "for i in PKGBUILD \"\$_config\"; do" >> $workdir/build-$pkgarch-$arch.sh
    echo "mv \$i $des_cluster/repo/$arch/files/\$i.$pkgarch" >> $workdir/build-$pkgarch-$arch.sh
    echo "done" >> $workdir/build-$pkgarch-$arch.sh
    echo " " >> $workdir/build-$pkgarch-$arch.sh
    echo "x=0" >> $workdir/build-$pkgarch-$arch.sh
    echo "for i in \$(ls *.xz); do" >> $workdir/build-$pkgarch-$arch.sh
    echo " array[\$x]=\$i" >> $workdir/build-$pkgarch-$arch.sh
    echo " x=\$(( \$x +1 ))" >> $workdir/build-$pkgarch-$arch.sh
    echo " mv \$i $des_cluster/repo/$arch" >> $workdir/build-$pkgarch-$arch.sh
    echo "done" >> $workdir/build-$pkgarch-$arch.sh
    echo " " >> $workdir/build-$pkgarch-$arch.sh
    echo "files=\$(echo \${array[@]}|sed s'/\ /,/')" >> $workdir/build-$pkgarch-$arch.sh
    echo "if [ \$whatarch = \"x86_64\" ]; then" >> $workdir/build-$pkgarch-$arch.sh
    echo " curl -u \$myusername:\$mypasswd -T $des_cluster/repo/$arch/{\$files} ftp://\$mysite/\$arch/ -s &" >> $workdir/build-$pkgarch-$arch.sh
    echo "else" >> $workdir/build-$pkgarch-$arch.sh
    echo " su -c \"curl -u \$myusername:\$mypasswd -T $des_cluster/repo/$arch/{\$files} ftp://\$mysite/\$arch/ -s & $me" >> $workdir/build-$pkgarch-$arch.sh
    echo "fi" >> $workdir/build-$pkgarch-$arch.sh
    chmod +x $workdir/build-$pkgarch-$arch.sh
    qsub $pkgarch-$arch.pbs > /dev/null

  • Is it possible to merge addresses into a formed letter?

    Does anyone know if it is possible to take a mailing list of names and merge them into a formed letter or use on envelopes?

    Yes, most of the existing templates do that already.
    If you want to set it up yourself:
    Menu > Insert > Merge Field
    The source data can come from a Numbers table or better from Contacts/Address Book.
    Look up Personalizing Documents with Address Book and Numbers Data page 246 in the Pages09_UserGuide.pdf downloadable from under the Help menu.
    Peter

  • Run form letter from web server

    Has anyone been able to design and run a form letter report in html. When I try to run it, it is always blank. I would like to run it as a .jsp.

    Hi,
    The form letter report is applicable only for paper layout. It is not applicable for web layout.
    However, you can generate to html/htmlcss output from web server using the following command.
    http://server:port/reports/rwservlet?server=<server_name>&destype=cache&desformat=html/htmlcss&userid=<connection_string>
    regards,
    Senthil

  • Form letter: different margin to 1. and 2. page?

    Is there any possibility to build a form letter with different layout of the margin of the first and the following pages of the letter?

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Ina ():
    Is there any possibility to build a form letter with different layout of the margin of the first and the following pages of the letter? <HR></BLOCKQUOTE>
    I think you can use the report package function "SRW.GET_PAGE_NUM(variable)" to get the page number and then control the layout as you wanted.

  • Creating a SSRS Form Letter based on a Data Query

    I have done LOTS of SSRS Data Extract Reports...but this is the first time I have ever been requested to create a form letter and substitute data into a form letter that will be mailed out to a group of members within our database.
    Can someone provide me a link, be it YouTube or other, that kind of walks me through this process? SSRS Form Letters 101...just want to make sure I follow protocol and standard as to go about doing this. Do I create a SSRS Dataset...SQL Server Stored Procedure
    to get the result set? How do I apply the data elements to the letter?
    Any help is greatly appreciated.
    Thanks for your review and am hopeful for a reply.
    Thanks!

    Hi ITBobbyP,
    According to your description, you want to create a form letter and send to a group of members in SSRS, the data is retrieved from database.
    In Reporting Services, we can create a form letter by using List control, then we can use a table to show detailed information. For detail information, please refer to the following steps:
    Create a blank report, then create a dataset used to retrieve data.
    In Toolbox, click List and then drag the list inside the report body.
    Add textboxes or tablix to list to hold the content or detail information.
    Drag fields from dataset to the report.
    Set layout and look of the report as needed.
    In addition, Reporting Services provides data-driven subscriptions so that you can customize the distribution of a report based on dynamic subscriber data. Data-driven subscriptions use query results to determine the recipients of the subscription, delivery
    settings, and report parameter values.
    Reference:
    Creating Data Driven Subscription in SSRS
    Creating a Free Form Report (Report Builder)
    Using SQL Server Reporting Services to generate form letters to users
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu

  • Form Letter Hyperlink

    Hi,
    I have a created a form letter and within the text of the letter, I need to create a hyperlink to a webpage. The letter will be displayed in PDF.
    Example:
    &name
    &address
    Dear &name
    Please find the information you need here. http://www.website.com
    How can I create the hyperlink for http://www.website.com?
    Thanks in advance.

    Hello,
    No need for make it conditional. It will show value when the address2 will be having value otherwise it will not show anything. Or you mean to say that it is taking place in report when there is not data in that variable/field address2 then set the Vertical Elasticity to Variable. Then it will shrink the captured space automatically when there will be no data in that variable/field.
    -Ammad

  • How do I download a form letter doc. ?

    I need this form doc. transferred to a task center to fill in for easy service with email for collaboration. How to proceed?
    The form is  a scanned doc that needs to be in a word processor for fill in type.

    Hi,
    As it is a scanned doc, so first of all, run OCR on it, so that the text become renderable.
    Open the file in Acrobat -> Go to Tools -> Text Recognition -> In This File.
    Now, if you want to make a form for collaboration then you need to make a Acrobat Form.
    Tools -> Forms.
    Please refer to following link to know more about forms:
    How to create new PDF forms from existing documents | Learn Acrobat XI | Adobe TV
    Regards,
    Anoop

  • Tabular form - let end user hide/show columns

    I have been requested to create a tabular form, but end user should have ability to hide/show columns, also they should rename the column headers. So I have created a table with column name called "attribute1", attribute2", etc. Based on that table, create a tabular form, which has column header as "attrbute1", "attrbute2", etc. Now end user wants to rename attrbute1 as he wants. And he/she also wants to have a link called "hide/show" next to the column header, so end user can control which column they want to hide/show. It is so easy to do that control from developer side, however, shift that function to end user from front end seems very difficult to me. I have search around and haven't found any good solution yet. Please help. Thanks advance.

    Hi,
    Anyone, can help me with this scenario.
    Brgds,
    Mini

Maybe you are looking for