Formatting issues with date mergefield in word document with switches

I have placed date mergefield with switches in word template and getting the value from SQL , while printing unable to format the date as per appropriate switch.
Example :  a) {={MERGEFIELD Date \@ "MM/dd/yyyy"}}
b) {={MERGEFIELD Date \* MERGEFORMAT} \@ "MM/dd/yyyy"}
  Here Date is my Mergefield.
Can someone suggest on this?

Data considered as Text datatype in my case and getting this result from SQL query and replacing mergefield and not as Date datatype.
So, formatting might not be working in this case.
Any other suggestions??
Check Paul's construction of a straight mergefield. If that doesn't work, try mine with the QUOTE. Not sure why you would use a calculation field when you are not trying to do a calculation. Paul (Macropod) knows far more about fields in Word than I do.
Charles Kenyon Madison, WI

Similar Messages

  • Convert Adobe Form (with data) to Microsoft Word Document

    Adobe Acrobat 8.0 Standard
    Windows XP Professional SP2
    Microsoft Word 2003 SP3
    I am attempting to convert an Adobe PDF Form (with data included) to a Microsoft Word document.
    When I use the menu to attempt this, I get a Word document containing only the form fields.
    I want to be able to grab all the text from the document, as these forms were used to fill in information for Job Descriptions, and I want to submit the text to job boards (without having to retype anything).
    What are my options for obtaining this information?

    Bill:
    Thank you for all of your help. I do not have the program in front of me, so I don't have a means of independently verifying this, until I go see the user tomorrow when he returns to the office ...
    Just to confirm, a fillable PDF is different from a standard PDF, as it stores the form fields in a special way, likewise, the data is stored in a special way. This is actually a quite useful feature, for compiling data, if you use the form multiple times.
    A standard export of a fillable PDF exports only the fields.
    To get the data, I would have to choose to save form data.
    To get the fields and the data, I have to print it using a PDF printer to create a new PDF document. Once I create this new PDF document, I can then export to Word as desired.
    If I want ONLY form fields: (one-step process)
    Export > Microsoft Word > %filename%.DOC
    If I want ONLY form data:(one-step process)
    File > Save FORM DATA > FDF file format > %filename%.FDF
    If I want both the form and the data: (two-step process)
    File > Print to PDF > Save as %filename%.PDF
    Open %filename%.PDF > Export > Word Document
    Is this the process? Pardon my confusion, but I am a newbie, and I do not have the program to test with.
    Thanks for your help, kind sir.

  • Uk date format issue with ASP and Access Database

    I have an Asp form which updates records in an Access
    database. Problem is
    that the date format in the database record is dd/mm/yyyy
    (UK), when
    the record is displayed on the form it is mm/dd/yyyy(US)
    which after I
    update the record in the database the date has changed to the
    new format.
    I have tried everything I can to change the format but to no
    avail...anyone any ideas how I can resolve this issue?
    Thanks
    Steve

    stevo.s wrote:
    > Hi
    >
    > I have tried changing the format on the date field on
    the server behaviours
    > panelto ddmmyyy. Also have tried to set the form field
    format to ddmmyy. I have
    > also tried to use a function I got from a posting
    somehwere on the net to no
    > avail. <%function ddmmyyyy(varDate)
    > ddmmyyyy = Day(DateValue(varDate)) & "/" &
    Month(DateValue(varDate))
    > & "/" & Year(DateValue(varDate))
    > end function
    >
    > I believe that this is a recognised issue with
    Dreamweaver and Access but
    > can't seem to grasp the work around! Problem being I am
    teaching myself through
    > books and internet articles and can be weeks at a time
    without being able to
    > look at the issue..each time I come back to it it is
    like starting all over
    > again! I was hoping that somewhere out there there is a
    simple solution the
    > issue perhaps a date picker with the built in
    functionality to address the
    > issue...I am keen to understand how to deal with the
    issue rather than just
    > change my database date field to fudge the problem as I
    am in the UK and when I
    > eventually start to use the application I would like
    there to be some
    > consistency with dates and that users are familiar with
    the format.
    >
    > Any help gratefully received!
    Its not Dreamweaver, or Access, its your servers locale, its
    set to US
    format, not the UK.
    On your page at the top use:
    <% Session.LCID = 2057 %>
    This will force the page into using UK formatted dates. Use
    it on any
    page that needs to format the page correctly.
    Dooza
    Posting Guidelines
    http://www.adobe.com/support/forums/guidelines.html
    How To Ask Smart Questions
    http://www.catb.org/esr/faqs/smart-questions.html

  • How to write data on Ms word document

    Hai all,
    plz slove this problem.....
    while click the button open ms word document with data....
    how write data on word document...

    in languages like delphi, c++ you can do this with OLE automation. but im not kinda sure about OLE support in java.there could be API's for this. just try a search on the net.. Read through OLE automation.
    /Cheers,
    -MadGuy
    From Sri Lanka

  • Document web item issue when we attach a Word document

    Hi experts,
    I have created a word document in BW and i want this document to be displayed in the List of documents webitem where the users can add some more comments in the template i have added.
    But even after the document is in place the document icon is not displayed but if i keep normal plain type text document then the document icon is visible with a edit option. but this edit option is also not avaialble for Worddocument
    do i need to make some config settings.
    thanks and regards

    Hi
    Thanks for the info, okay but when i am creating the document its getting me into plain text instead of opening the MSWORD format.
    i am doing this in portal from comments button.
    thanks and regards

  • 2 Formatting issues with HTML forms

    I have a couple of issues that we can't seem to get past with adobe livecycle designer 7.0. We have an internal form, rendered in HTML, that is emailed between departments, and the data entered is stored in an XML file that is created using the code similar to the following:
    protected void doPost(HttpServletRequest request,
    HttpServletResponse response) throws
    ServletException, IOException
    oOutput = response.getOutputStream();
    try {
    FormServerWithXML fsb = new FormServerWithXML();
    fsb.processForm(request);
    File file = File.createTempFile("Form_", ".tmp", new
    File("d:\\xmlFiles"));
    BufferedWriter(new FileWriter(file));
    out.write(fsb.getXMLString());
    out.close();
    When we use a numeric field and try to format it with any display pattern containing dollar signs, decimals, etc... the xml data for that field isn't being written to the xml file. All of the other fields are being written properly.
    The next issue we're having is that with HTML forms, when we create a multiline text field we are unable to limit the number of characters that are allowed in the field.
    I'm pretty new with this, so please send some advice my way if you have any.
    Thanks,
    Chad

    Thanks Rakhi, but that did not resolve my issue. Below is new out as per the thread suggestion and this is not what I wanted.:
    "<H>Thank you for choosing Enterprise.</> We look forward to seeing you at 9:00 am on Monday,
    November 28, 2011. This message is to confirm you have updated your reservation.
    Following are the details for the updated reservation:
    P.S. Remember us when you're renting in town. Enterprise is always nearby at more than 6,500
    neighborhood locations."
    - shalini

  • FCP and Motion formatting issues with DVCPro 50?

    The material is DVCPro 50 NTSC 48khtz. (Item properties indicate that I initially digitized it properly.) My sequence settings are DV50 NTSC 48khtz.
    I wanted to create a vignette effect so I exported my clips as a Quicktime (current settings) sequence to Motion. When I was done there I exported the sequence from Motion back to FCP as a DV NTSC movie.
    Some of the Motion effected clips will play, look great and then all the sudden I see a black band appear on the East side of the frame. I can stretch it in Motion some but it just degrades the image so I'd rather not.
    I'm surely grateful if someone can steer me in the right direction here.

    Thanks for the workflow tips and suggestions. I backtracked to my original sequence and found the problem originates there. I have narrow black lines on both sides of all these clips. Since I resized a few clips with moves, I didn't recognize the problem. Now that I'm closer the root of it, any suggestions?
    By the way, these problematic clips are intercut with no problem library footage that was also shot on DVCPro 50 and I took in on the same deck.
    I cruised the forum for any occurence of a similiar issue and most replies seem to suggest a formatting issue. I don't get it since I think I have everything set up correctly. As a precaution, I also tossed out my preferences using FCP Rescue 5.
    Welcome to the discussions, splotch.
    Not sure what is causing this, but I might propose an
    alternate workflow. Have your clips on the timeline
    as you wish, ctrl/right click on them and select
    Send To Motion.... Click the
    embedded and open Motion ticks, give it a name, then
    continue. Do your work in Motion, save, quit, and
    fall back into FCP. Your clips may lose their
    "anamorphicness" on their round trip, but just
    ctrl/right click on the clip and select Item Properties/Format..., then
    click on the anamorphic button.
    Try this and see if you are still getting the same
    problem...
    Patrick

  • Export BLOB data to a Word Document.

    Dear All,
    I am facing a problem during reading a blob data to a word file. My procedure work fine fine. But when I am about to open the Word Document. It gives me a message that "the document name or path is not valid. 1. Check the file permission for the document or drive. 2. Use the file open dialog box to locate the document."
    I am using 9i for this.
    Best Regards
    Umer Minhas

    Basically this happens when I write the blob data in Word File.
    I investigate this problem on MS sites and come to know that it was basically "328100 - WD2002: The Document Name or Path Is Not Valid".
    But after installation of hotfix, I again saw the same message. But when I use the utility of TOAD to export the data. It done all very well. This what basically estonished me.
    Best Regards
    Umer Minhas.

  • Mail formatting issues with 1.1.1 update

    With the 1.0.2 firmware HTML-formatted e-mail displayed correctly, if a bit too small to read, just like web pages do. Just like web pages, I could double-tap on - say - a table or a bit of text to zoom in and/or use pinch gestures to zoom in and out.
    Now when I look at the same e-mails that looked so good in 1.0.2, my iPhone re-formats and re-flows the e-mails into gibberish, kinda like PocketIE does on Windows Mobile. One e-mail (a hotel registration confirmation) had the header re-flowed into 60 or 70 lines of one character each. The daily status messages I get from my SBS2003 server - which were completly unreadable on my old XV6700 with WM5 - looked great on 1.0.2. With 1.1.1, the tables are scrunched up, many text fields have a second or third line with one or two characters on them, ect.
    Anyone else notice this? It's annoying enough that I'm almost willing to give up the other 1.1.1 features to get my mail working right again.

    Solved the problem with bit locker (and refresh and reset and a couple of other things that rely on the windows boot manager by reinstalling windows (went to Windows 10). That also solved my issues with high Cpu when playing YouTube videos and photoshop crashes due to the fact that Windows 10 loads the latest Intel drivers.
    Unfortunately the issue of Bluetooth mouses freezing still happens, though only twice yesterday, so that's an improvement.

  • Formatting issues with "Justify"

    I have a problem. I have a text field that ought to be justified and multiple paragraphs or a list of items will be entered into the text field.
    However, it appears the last line of each Justified (flush left and right) paragraph is spread across the text field, resulting in a very ugle display in the PDF (see below).
    Are there any known work arounds for this? Do I have an issue with my settings? Is this a bug?
    Any help or insight would be appreciated.
    Thanks, Mike

    Hi Prash,
    Throw this into a text object at the bottom of your dashboard and check the enable HTML option.
    It'll left justify ONLY the view selector drop down box.
    Cheers!
    -Joe
    <script type="text/javascript">
    var leftJustifyVSelector = function (debug,align){
         if (debug === 1) { document.write("Begining leftJustifyVSelector function"+"<BR>");}
         // Get all view selector objects
         var vselectors = document.getElementsByTagName('td');
         if (debug === 1) { document.write("Get the TD elements"+"<BR>");}
         if( vselectors == null){
              // Couldn't find a view selector
              if (debug === 1) { document.write("No view selectors available"+"<BR>");}
              return;
         // Otherwise loop through them and align them to the left
         if (debug === 1) { document.write("Looping over the view selects"+"<BR>");}
         for ( var view =0; view < vselectors.length; view++){
              // check if this is not a view select class TD element
              if ( vselectors\[view\].className == null ||
                   vselectors\[view\].className == undefined ||
                   (vselectors\[view\].className != "VSelSelector")){
                   // Not a view select TD
                   if (debug === 1) { document.write("Not a view selector TD.  Continue."+"<BR>");}
                   continue;
              // We must have found a view selector change the alignment property
              vselectors\[view\].align=align;
              if (debug === 1) { document.write("Done setting the align property to left"+"<BR>");}
    leftJustifyVSelector(0,"left");
    </script>

  • Is there any function module to download abap data to a word document?

    Hi all,
    I know that the downloading to word can be done by ole automation...But is there any function module in sap which can do the same....?? please let me know your expert comments.......

    Hello Rich,
    I have tried the function module word_ole_formletter ..but i am facing a problem...once i execute the program i can see that the data is coming to word document but it is coming in read only mode and again reverting back to a blank document as was befor the data is coming to word document..Can you suggest where i am going wrong...Also I tried to debug the function module but the break point is not coming to the function module ....

  • Book Module format issue with Blurb

    I uploaded a book to Blurb with two separate 2 page spreads filled with one photo across the two pages. This first photo appears mismatched with the right side being slightly smaller than the left side. The second photo appears with properly matched sizes.
    When I export the book as a PDF both images are cooreclty sized and aligned. Have tried my book creation & upload on windows 32 bit and windows 64 bit. Same results.
    Is there any solution to this glitch or some sort of work around?

    trshaner wrote:
    Essentially there is only one Blurb.icc file and its paper type agnostic.
    No such thing really. Profiles must take paper into account. Like you, I have that swatch book and measured each. They are all over the map in terms of their measured values for paper and worse, OABs. One size doesn't fit all but can if you don't mind suboptimal to really poor results!
    My guess is that the single Blurb.icc profile is actually the Blurb Standard paper profile.
    It isn't even a blurb standard  paper profile, it's based on GRACoL which I'm fairly certainly isn't what they are producing on all those papers given the standards. What they are doing is supplying a profile for soft proofing that has no bearing on the output to make those who feel they kind of, sort of understand color management and want to soft proof feel better. If you owned an Epson printer and output to Luster paper, how would supplying a profile for that printer but based on Matt work out? Not well. This is akin to the silly photo lab, RGB workflow where you are given an output profile you can't use and told to send sRGB. Rather pointless but if it makes the user feel that by soft proofing they've done something useful, better than a sharp stick in the eye.
    Based on sending the same images to differing vendors who produce books using Indigo (at least for the inside of the book), Blurb is far from best in class in my experience. And for B&W, on top of all the issues I've outlined, even the best shop is going to have issues with the Indigo screening which produces crossover in terms of color over the press sheet. That alone is a problem unless HP has updated their screening as they have promised for some time. Dead nuts neutral is hard to do!

  • Microsoft Word Documents Randomly Switching to Text?

    I have some Word documents that I save on the desktop for quick reference. Yeah, I know that's stupid and I'm going to put them in documents with aliases on the desktop. But, even though I have them saved as Word documents, after a while, whenever I open them, they open in TextEdit. Why is it randomly converting?

    They're not changing to text, they're being marked as being TextEdit documents. TextEdit can read/write .DOC and .DOCX documents. It doesn't do a very good job of reading them, but it can read them.
    There could be several reasons why some documents are listed as being TextEdit documents rather than MS Word documents. The easiest way to fix this is to select one document, do a get info, and set the 'Open With' app to MS Word and click the 'Change All' button.

  • Date Format Issue with Interactive Form

    Hi, here is the scenario:
    -We just upgraded to SP17 from SP15
    -I'm using Livecycle Designer 8.0
    When we were on SP15, this was not an issue.  I was wondering if anyone encountered this problem and if so, if there is a workaround?
    I create an interactive form to start a guided procedure process.  Im passing the data from my desktop Interactive form to another callable object in GP to send an email with the PDF attached.  This all works correclty. 
    My date/time fields are set to type DATE with a display pattern of YYYY-MM-DD.  When I create the form in the GP administrator to my desktop and open the PDF, the date format is correct. However, when I submit the form to start the process, the incomming date fields to be mapped to my second Callable Object have change in format from "2009-02-18" to  "Wed Feb 18 00:00:00 EST 2009".
    This is true in the new form I receive via email, and also in NWA->monitoring->guided procedures when I check the instances.  The input mapping is already set to the false formatting.
    When I open the form from the second callable object with the incorrect date format (in designer), the date's display patterns are set to YYYY-MM-DD but are not being displayed as such.
    New discovery....I tried to create a Business Logic callable object and format the date.  I created a string input and date output and mapped them accordingly.  When I perform a "TEST" from the design time and use the input "Wed Feb 18 00:00:00 EST 2009", the string is automatically converted to 18/02/2009 in the output, which is what I want to occur.  The only problem is when I run the actual process, the same "Wed Feb 18 00:00:00 EST 2009" is being output instead of the 18/02/2009 in the TEST.
    Anyone have any ideas?
    Thanks.
    Edited by: Warren Clements on Feb 26, 2009 2:20 AM

    This test program might help...
    import java.util.*;
    import java.text.*;
    public class ExpandYear
        public static void main(String[] args) throws ParseException
         SimpleDateFormat sdf_2dyear = new SimpleDateFormat("MM/dd/yy");
         SimpleDateFormat sdf_4dyear = new SimpleDateFormat("MM/dd/yyyy");
         String test1 = "3/21/00";
         System.out.println("test1: " + test1 + " to : " +
                      sdf_4dyear.format(sdf_2dyear.parse(test1)));
         String test2 = "4/9/99";
         System.out.println("test2: " + test2 + " to : " +
                      sdf_4dyear.format(sdf_2dyear.parse(test2)));

  • Date Format Issue with Pre-Insert trigger

    I have created a form wherein creation_date and last_update_date are columns in a table that needs to be populated with sysdate (in format mm/dd/yyyy hh:mi:ss am) at time of saving.
    In pre-insert triiger, if I assign date as follows , it works:
    :creation_date=sysdate;
    However this creates date in format yyyy/mm/dd.
    I would like to set it in format mm/dd/yyyy hh:mi:ss am.
    How can this be done-I tried using to_date and to_char but wont work.
    Any ideas?

    hi
    u may try this too.
    when-new-form-instance trigger:
    set_application_property(PLSQL_date_FORMAT,'DDMMYYYY HH12:MI:SS');
    set_application_property(BUILTIN_date_FORMAT,'DDMMYYYY HH12:MI:SS');
    forms_ddl('ALTER SESSION SET NLS_date_FORMAT=''DDMMYYYY HH12:MI:SS'''); sarah

Maybe you are looking for