Date Calculation in Adobe Designer 7

I have a 'simple' expense sheet that allows the user to pick the start date of a 7 day week for recording and reporting business expenses. The 'start' date is chosen from the drop-down caledar; and the remaining 6 days of the week are generated from the 'start' date. The following script worked in previous version of Adobe, but not with Designer 7;
var f = this.getField("start");
var d = new Date(f.value);
d.setDate(d.getDate() + 1);
event.value = util.printd("mmm- dd- yy", d);
This script can/should be run for each subsequent day (the above is the next day +1, then followed by +2, +3, etc for each other day). Anyone have a solution to this?

Maurice,
I've had some problems with this myself -it seems a little buggy.
Try opening either Reader or Acrobat before you open Designer. When I do this it sometimes gives me the pdf preview tab when it hadn't been doing that before.
Of course, one of the downsides of doing it this way is that it occasionally doesn't actually view in the tab -but rather in the open application...
Hope this was somewhat helpful.
Jennifer

Similar Messages

  • Date Calculation in Adobe Forms using Javscript or Formcalc

    Hi,
    We are designing a Form where a date is used to calculate the Financial  year and Quarter.
    For ex: if the document date is 9-Mar-2015 then the financial year is 2014-15 and the quater is 4th Quarter. (ie) the financial is is from July(curr.year) until June (next year)
    So the form should show the data as:
    For Finyear 2014-15: 3rd Quarter
    In the Form design, I've the Document date as FloatingField  and  have the financial year and quarter as calculated using Javascript.
    For this I want to have the below logic in the form::initialize event for the datefield as below.
    But am not sure about the date functions for getting the fullyear and month.  I need some help wrt to scripting for the below logic.
    var year1, year2
    var Qaurter
    var date1
    var month
    date1 = This.rawvalue
    month = date1.Getfullmonth()
    year1 = date1.Getfullyear()
    if (month <=6)
    then
         year2 = year1 -1
    Txtfinyear.rawvalue = Concat (year2, "-",year1)
    else
    year2 = year1 +1
    Txtfinyear.rawvalye = Concat(Year1, "-" year2)
    endif.
    If (mnth >= and mnth <=8)
      then
    txtquarter.rawvalue = "1st"
    Similar code for other quarters:
    Am attaching the screenshot for the design.
    Thanks much in advance for your help
    Best Regards,
    Maithili

    Hi Sameer,
    you cant use JavaScript here in Web Dynpro. But if you want to calculate the sum through a button click that can be done through the Action Handler method.
    Suppose you have 2 fields to add whichare field1 and filed2 in the context tree and the sum will be shown in field3 of context tree - all of numeric data type - obviously. So you can do the following in the action handler method.
    int sum = wdContext.currentContextElement().getField1() +
              wdContext.currentContextElement().getField2();
    wdContext.currentContextElement().setFields3(sum);
    Regards,
    Shubhadip

  • Issues with Nested Tables and Adobe Designer

    Hi,
    I have some strange issues when I am trying to create a nested dynamic table with SAP DATA in Adobe Designer.
    My Outer Table has article items and in this table I got a nested charges. For instance the table contains this data:
    DATA
    |->Article1
    |--->charge111
    |--->charge211
    |
    |->Article2
    |--->charge122
    |--->charge222
    Now I am trying to display the data in a Adobe Designer table. But if I create a table with a row article and a repeating row charge all charges will be displayed under the first Article.
    This is the result:
    DATA
    |->Article1
    |--->charge111
    |--->charge211
    |--->charge122
    |--->charge222
    |
    |->Article2
    How can I solve this issue? I tried to select data binding on charges like article.DATA.charges.DATA[*] but this don't work.
    Anyone an idea?

    Alex,
    Is it print based form or interactvie form.
    ABAP
    If it is printbased form and if you are designing from SFP, you can use the following solution.
    You have to create a nested table in the context as below.
    say Table1-> Article ( fields: ARTICLENAME,....other fields) info Table2->cost info(fields:ARTICLENAME,Charge...,other fields).
    The 2 tables should contains data as beow.
    Table1 data.
    1row->Article1  -.....other values.
    2row->Article2  -.....other values.
    3row->Article3  -.....other values.
    Table2 data.
    1row->Article1  -Charge11 .....other values.
    2row->Article1  -Charge12 .....other values.
    3row->Article1  -Charge13 .....other values.
    4row->Article2  -Charge21 .....other values.
    5row->Article2  -Charge22 .....other values.
    6row->Article2  -Charge23 .....other values.
    7row->Article3  -Charge31 .....other values.
    8row->Article3  -Charge32 .....other values.
    9row->Article3  -Charge33 .....other values.
    In the context drag table2 into the table1 and define where clause on ARTICLENAME.
    In the layout drag nested table in the body page and make alignments.
    If your requirement is interactive, may be you can use the similar logic.

  • Hello,  Recently, I asked about the possibility of swap the Adobe Design Standard CS5.5 from windows to mac. In response, I was directed to the help page and and i know that it is possible. Today I see that the help page is out of date. How cann I now swa

    Hello
    Recently, I asked about the possibility to swap from windows to mac with Adobe Design Standard CS5.5. In response, I was directed to the help page and i know that it is possible. But today I see that the help page is out of date.
    How cann I now swap platforms for Adobe Design Standard CS5.5? Do I realy need to buy CS6? Or afer dowloading the mac version of CS5.5 I get the key. And if I realy need upgreade the CS5.5 cann I use the Mac version of CS6 for the dowloaded mac version of CS5.5? Is it possible?

    Thanks !
    I didn't know that I cann buy CS6 Mac upgrade in Adobe Store.
    So I have only to buy the CS6 Mac versions and upgrade CS5.5 Win to CS6 Mac?
    How does look the procedure?
    Do I need to install first the CS5.5 Mac on my Macbook and then upgrade it or is it not necessary?
    Thanks
    Langosz

  • How to get the data from mysql database which is being accessed by a PHP application and process the data locally in adobe air application and finally commit the changes back in to mysql database through the PHP application.

    How to get the data from mysql database which is being accessed by a PHP application and process the data locally in adobe air application and finally commit the changes back in to mysql database through the PHP application.

    If the data is on a remote server (for example, PHP running on a web server, talking to a MySQL server) then you do this in an AIR application the same way you would do it with any Flex application (or ajax application, if you're building your AIR app in HTML/JS).
    That's a broad answer, but in fact there are lots of ways to communicate between Flex and PHP. The most common and best in most cases is to use AMFPHP (http://amfphp.org/) or the new ZEND AMF support in the Zend Framework.
    This page is a good starting point for learning about Flex and PHP communication:
    http://www.adobe.com/devnet/flex/flex_php.html
    Also, in Flash Builder 4 they've added a lot of remote-data-connection functionality, including a lot that's designed for PHP. Take a look at the Flash Builder 4 public beta for more on that: http://labs.adobe.com/technologies/flashbuilder4/

  • Share Data between Pro and Designer Form

    Good evening,
    Old Form:
    I recently inherited an adobe pro form created a few years ago. The naming conventions are horrible, and they refuse to replace the form to spit out an xml file. But they want the data to fill into an access database.
    New Form:
    I was able to create an adobe designer form, with proper naming conventions, that exports an xml file that can be imported into the access database.
    Help:
    Is there a way to link the old form data to the new form, with the naming conventions being different?
    Ideally, id like to create a button that will display a dialog box to select the old form and import the data without converting to an xml first…is this possible?
    Thanks in advance!

    Hello Pieter,
    Ok, it sounds like you are asking about 5 different things here.  Let me break them up and respond individually.
    There is no overhead inherent to using a MathScript node on RT.  Since the MathScript code is implemented on top of LabVIEW code, there will be varying levels of performance with respect to a native LabVIEW implementation, but simply having the node itself does not cause any overhead.
    On a Windows platform (or other desktop platform), the answer is the same: the node does not introduce any overhead into your algorithm.
    If you use the application builder to create a compiled program that uses the run-time engine, you are no longer able to change the .m file.  Or, to be a little more technically accurate, the LabVIEW run-time engine does not have a compiler.  Thus, you can change the .m file all you want, but the actual .m file that is used by your built application is the version that was present when you built the application.
    The behavior you observe with MathScript executing new code will only happen if you are running a VI with the full development version of LabVIEW.  We need the LabVIEW compiler in order to generate new code when you update a .m file and this is only present with the full development version of LabVIEW.
    The search path is only necessary when you are developing your VI on the host.  You can set a search path by right-clicking on "My Computer" in your project, choosing Properties, and then "MathScript: Search Paths."  Note: your VI will need to be in the "My Computer" target to locate your .m file.  After you have created your MathScript node, you can drag the VI to the target.  You are correct that the .m file is compiled when the program is deployed and you do not need to transfer the .m file to the target.
    Grant M.
    Staff Software Engineer | LabVIEW MathScript | National Instruments

  • Integrate Adobe Designer with ABAP Workbench  WEB AS 6.2

    Hi,
    I believe Adobe designer integration works from WEB AS 6.40. I read in someother post, its possible with older version too. is it true?.If so, we have WEB AS 6.2. I downloaded Adobe Designer 6.0.2,Do i need to configure to integrate or will it be automatically configured once i download the Designer .
    I am trying to develop PDF forms using SAP Help but I dont see the Adobe components in the Form Builder.
    Please help me understand.
    Thanks,
    Sujatha

    Hi Sujatha,
    SAP PDF-based forms technology (i.e. SAP Interactive Forms technology) is similar to SAP SAP Smart Forms technology. The form has a layout part and interface part. Generated form is a generated function module. The difference is that you need additionally ADS for PDF-based forms in runtime.
    Printing program is calling generated function module of the form and sending printing data via interface of the function module. You can prepare printing data via local call (select, function module, local method etc.) or via RFC call to back-end system.
    There is one disadvantage of RFC only: to create form interface in the design phase you need all used data types locally. Using SAP WebAS 6.40 without any application and R/3 Enterprise back-end for instance you miss some data types in SAP WebAS 6.40 and you have to create/import them there.
    Jiri

  • Problem launching Adobe Designer in Netweaver Developer Studio

    Hi All,
    I have successfully (I believe) installed all the components required to have Adobe Interactive Forms running on WAS 6.40 (SR1), in accordance with Achim Hauk's blog 'My struggles with the Adobe Document Services in WAS6.40' (thanks Achim!).
    When I go to try the Interactive Form tutorial, and I launch the Adobe Designer 6.0 from Netweaver Developer Studio (version 2.0.9) by right-clicking on my InteractiveForms UI element and selecting 'Edit', I get a popup error 'An error occurred decoding Base64 data - encoded data is invalid or corrupted'.  Does anyone know what this means and how to correct it?  When I press the OK button on this popup the Adobe Designer is correctly launched, however any changes I make within the Designer don't seem to be saved.
    Any help would be very much appreciated.  Not sure if it makes any difference, but I have Adobe Reader 6.0.2 installed on my client.
    Thanks
    John Moy

    Hi John,
    I've installed the SP15 sneak preview last weekend. Based on my experience, if you are not using SSL set up, you only need three steps to set up ADS.
    1. Create user ADSUser and user group ADSGroup
    2. Set up basic authentication
    3. Set up credential file
    Now, step 1 and 2 which is in the guide is already done when you finish the installation of sneak preview SP15. All you have to do is to set up credential file.
    I was having problem with Read timed out issue, and Markus pointed that web service time out need to be increased in my case. I haven't tested it yet since I am away from my PC, but i'm pretty sure it will fix the time out problem.
    Also if you download the credential a while back, that file will expired the end of this month (Feb). Markus has posted a new credential file which will expire in June.
    Regards,
    Iwan

  • Variant with Dynamic Date Calculation

    I have a variant that includes a dynamic date calculation.  I'm using the Current day -1 date calculation. Does the dynamic date calcuation use the time zone of the system or the time zone designated on the user id for the calcuation?

    time zone of the system.. if you want to use the user time use Sy-timlo

  • Submit problem using Adobe Designer 7.0 form & GroupWise email

    We are designing an interactive form using Adobe Designer 7.0, and would like for other people in the organization to be able to fill in the form electronically then hit the "Submit by Email" to return the data.
    For email, we are using Novell GroupWise.
    Problems are occurring once the recipient of the form selects the "Send Data File" button. This action either causes Adobe to crash, or causes an error message, "Acrobat is unable to connect to your email program."
    Can anyone help? Is anyone successfully using this function with GroupWise email?

    I don't really have a solution for you - perhaps the following may be of use though:
    Try reinstalling Designer 7 and ensure that at the point where you are asked about your e-mail client that you tell it that you are using GroupWise.
    You may like to see if you can send an e-mail using the same method that we employ.
    This is the script we use on the 'click' event of a button that sends an e-mail with the form attached (via GroupWise) to the e-mail address as specified ("[email protected]" in the example below).
    var myDoc = event.target;
    myDoc.mailDoc(false,"[email protected]", "", "",
    "This is will appear in the subject line....",
    "Here is the message text............");

  • Issue in Adobe Designer

    Hi Friends,
      When I try to open the layout in Adobe designer from transaction code SFP, I am getting the below error when clicking on the Layout tab. I am also not able to see the data bindings.
    "Unable to Load local library:<some path>"
    Please advice what could be the issue.

    Hi,
    Check your Adobe lifecycle Designer version ( Version :ALD 7.1 and above is preferrable)
    Check your Adobe reader version (Version : between 7 and 8 its preferrable)
    By
    Parthi

  • Help needed!  New to Adobe Designer

    Hello!
    I am new to Adobe Designer, so pls forgive me if this is a stupid question...I have also tried to search for the answer - but no luck...
    This is the requirement:
    - the user opens a PDF form
    - the user fills in the required fields
    - the user clicks on a SEND button
    - an alert is shown "PDF sent!"
    ==> I.e. this button should send the PDF form to a pre-defined e-mail address in the BACKGROUND. The user should not see the e-mail, nor be able to edit it. I.e. we are looking for a way to send the PDF to an e-mail address without being dependant on whether the user has an e-mai client or not. The receiver should see an e-mail in his inbox with the PDF form attached to it and a standard text.
    Is this possible to achieve? What is required?
    I appreciate all suggestions!
    Kind regards,
    Crister

    > this button should send the PDF form to a pre-defined e-mail address in the BACKGROUND
    This would not only be a HUGE security hole if this were allowed (you can have any PDF form out there e-mailing any information it wants to any address without you even knowing it) but it would also require Acrobat to handle SMTP transfers to a mail sever.
    The solution of allowing the OS-defined default mail client to handle this solves both problems. Aandi's option is what you would have to do - submit the data via webservice and have your remote server e-mail out the data.

  • Adobe designer calling a web service

    Hi everyone,
    I want to make a call to a web service created in SAP.
    I have the URL of the wsdl file.
    I created a new data connection in the Adbobe designer that points to that URL.
    I drag and droped the connection into the editor.
    Now, I have 2 input fields.
    The first stands for the input.
    The second stands for the response coming from the web service.
    The button points to the URL of the backend where the web service is located.
    When I press the button, nothing is happening...not even an error.
    Can someone please help with that issue ?
    Thanks in advance.
    Regards.

    Hi Juergen,
    I am trying to call a SAP web service.
    I do not know which encoding it is.
    Here is the beginning of the wsdl.
    <b>
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:s0="urn:sap-com:document:sap:rfc:functions" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="urn:sap-com:document:sap:rfc:functions">
    </b>
    In the wsdl, it is specified.
    <b>
    - <input>
      <soap:body use="literal" />
      </input>
    - <output>
      <soap:body use="literal" />
      </output>
    </b>
    Yes, I am using authentication: sap-user and sap-password for meanwhile. We will want to use a certificat.
    I am using Designer version 6 and 7.
    I am not using Netwaever for this project but only using Adobe Designer.
    I didn't try to re-merge data option.
    I hope it clarifies the situation.
    Thanks in advance.

  • Adobe Design & Web Premium CS6 - Student - no Acrobat Pro installed

    I purchased and installed Adobe Design & Web Premium CS6 - Student Version. The box and the Adobe site list Acrobat Pro included. But in reviewing the Creative Cloud, it lists Acrobat Pro as a Trial. I do have Acrobat Standard already installed. Is the Pro version included with this software Suite and if so, how do I install it? Is the Standard version preventing the install?
    Thanks

    DaveKStL which version of Windows are you using?  I would recommend removing your installation of Adobe Acrobat Standard using the Programs and Features Control Panel.  Once removed you can then can install Adobe Acrobat Professional which is included with your Creative Cloud Membership.  For additional information please see Install and update apps - https://helpx.adobe.com/creative-cloud/help/install-apps.html.
    If you continue to face difficulties installing Acrobat Professional please see CC desktop lists applications as "Up to Date" when not installed - http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.html.

  • Is Adobe Design Standard CS6 accessible via App Mgr?  Programs don't start from it

    When I click on an Adobe application, say Photoshop, in the App Mgr main menu, nothing happens.  But when I go the usual Windows route Start - Programs - Adobe Design Standard CS6 - Photoshop , Photoshop starts right away. My Design Standard CS6 is 64=bit, is fully registered and up to date - no new updates.  But what about App Mgr?  It is good for updates, but does not seem intended for program startup.

    BobMz,
    That's right, the application manager is for updating and downloading the adobe programs, not for launching already installed adobe applications.
    Does InDesign work from the Windows>Start>All Programs menu?

Maybe you are looking for

  • Lock-ups/freezes - Nvidia GeForce 8600M GT

    Hi all, I have been the owner of a MacBook Pro since August or so. My problem is that when working with my MacBook Pro, occasionally the display freezes up. Sometimes it recovers, sometimes the machine refuse to recover. If I listen to iTunes, I hear

  • E mail is frozen.  Cannot open or delete messages., E mail is frozen.  Cannot open or delete messages.

    E mail is frozen.  Cannot send or receive messages.  Checked settings which seem correct.  also, i signed off from aol mail on the web.  Any suggestions would be greatly appreciated!

  • What is the best format and page weight for graphics?

    The Apple support adviser suggested that I ask this question here. I am creating a presentation that will be shown with varying kinds of monitors and projectors. I want to be sure that my graphics are clear and easy to read. How much does page weight

  • Repairing lv 2012 installation

    To increase my hard disk space, I have deleted some of the older version of LabVIEW, including LV861, 2009, 2010, and 2011.  Now my new installation of 2012 will not run.  I have tried to repair the installation, but it has asked for the LV861 instal

  • Loading External Files From SWF Root

    Hi All, I do not know anything about flash.  I have been provided with some flash movies/apps to include in a web design that I am doing.  These flash movies load an external xml file. This is failing. The problem appears to be that when the flash mo