Value set for the Variable

Slide enter, I want to set the variable _ExpirationDate equal to cpInfoCuirrentDate + 365 days (1 year).  Somehow, I am out of the syntax, or maybe I'm trying to assign it to the wrong place.  How would you accomplish this?  Thank you!!!

Hello

Looks like it is possible but will be on the tricksy. Basically, you need to use the three variables:

  • cpinfoCurrentMonth
  • cpinfoCurrentDay
  • cpinfoCurrentYear

You create a variable and configure to match the year. Then you increment this variable by one.

Click here to see an example of manipulation of the variable

See you soon... Rick

Useful and practical links

Captivate wish form/Bug report form

Certified Adobe Captivate training

SorcerStone blog

Captivate eBooks

Tags: Adobe Captivate

Similar Questions

  • setting for the variable range

    Hello
    I can define range for a variable.
    ex:-curmnth-Member - Jan: Dec
    prevmnth1-Member - Dec:Nov
    prevmnth2-Member - Nov:Oct
    Here is curmnth, the name of the variable, and it could be the Member defined in the range.i works on 11.1.1.3
    I have defined it as that and everything using this variable in the calc script, it is not taking.am I did correct, if not then please correct me

    Please your postal code so that we can see what you're trying to do.

    Robb gives you techniques to make the code more readable in this forum.

    And if you know how to insert a Smiley whistling as I will be very cross indeed.

    Kind regards

    Cameron Lackpour

  • 3097 memory failure allocating memory for the Variables

    Hello - have an old Lenovo tablet of 3 year with Windows XP. Its been performing very well. I get a message that appears randomly who says:

    3097 memory failure allocating memory for the Variables

    installedapp872 = StrSub (Apps, Start, stop-stop)

    WinBatch 32 2000

    WIL Version: 3.0cbv

    has ran a chdsk

    Reinstall the memory.

    Found nothing on Google about this message.

    I appreciate your help.

    Try R.clicking my computer, properties, advanced, performance, swap file,.

    Click Change button, with C: drive selected, the value to "let the system handle",

    2 X game, close, restart the pc.

    Also, try http://oca.microsoft.com/en/windiag.asp

    Download & run the test memory microsoft...

  • Value set with the table type

    Hi all
    I use R12.1.3 EBS. I want to create a value set with the posting type "Table". But I must specify what application will be set and the table to use. I want to refer to an another diet/no apps. Is this possible? I have the link of database between this regime to receivables / via SQL Developer, I'm able to query or manipulate the data.

    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    PL/SQL Release 11.1.0.7.0 - Production
    "CORE     11.1.0.7.0     Production"
    TNS for Linux: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production
    Thanks in advance,
    Bahchevanov.

    Create a custom view in the schema of APPS that points to the table in the remote database, and you should be able to create a validated set of values from table based on the custom view. This will require you to create a link of database on the remote database (or a private database link in the APPS schema)

    HTH
    Srini

  • Character set for the words

    Hello

    Does anyone know what charset LPX uses for the words when you export a project at noon?

    I have set in Hungarian language of OS X. The correct character set for the Hungarians should be ISO-8859-2 (Latin 2), yet when I export a logical project that uses these words at noon, the external drive is not displayed correctly the

    That is to say. o is displayed as Ăł or similar, any set of characters I use in other software

    P. S.

    I submitted a bug report, as this seems to be a bug, but there was no reaction yet on the report

    PS.

    Never mind, I just realized the character encoding used is UTF-8

  • Windows 2008 Server: unable to update the password. the value provided for the new password does not respect length, complexity, or history of the field requirements

    Unable to update the password. the value provided for the new password does not respect length, complexity, or history of the field requirements

    Hello

    I suggest you to send your request in this forum for better support.
  • DPS: Judge to use the parameter Raster or vector in the States of the objects when the majority of the page is a photo. What is the best setting for the overall performance?

    I am trying to decide whether to use the parameter Raster or vector in the States of the object when the majority of the screen is a picture (with a modest but important legend for children to read). The legend certainly makes it look more net as vector. But does the photo! The raster setting seems to make the lower-res images in comparison. In my first edition of my application, I thought that raster would be the best setting when the photo was the subject dominating the page. But now, after seeing how strong he looks like vector, (but with almost a refresh of the unacceptable time. Perhaps better on the latest iPad. Most of my readers/students in class will use iPad 2 s, which has a slower processor). I wonder if I should go through the trouble of changing States of photo objects that have the type as well to the vector. It doesn't seem to be as sensitive to a re - draw on the iPad 2 (non-retine)

    Is Filesize hit if I make about 1200 on these objects range from Raster to vector? (It is a huge, highly interactive history book, so I'm curious if acutally go to vector on these photos would reduce the size of the file) What is the best setting for the overall performance?

    I see the freeks screen outside for a bit if you try to pinch and zoom in a vector object (photo) vs raster. Which is disappointing. Does slow down load time/refreshment in frame, which is a little less. I also found that the drop shadows really bad that redraws effect in vector, almost vibrating in a slide show, for example. Thus, in cases where I need shadows, I'm sticking with Raster.

    All tips go ahead?

    Brian

    Does that help? http://boblevine.us/Digital-Publishing-Suite-101-keep-text-sharp-in-raster-slideshows/

  • I have a note of galaxy tablet. with photoshop touch in English, my question is can be set for the Spanish program

    I have a note of galaxy tablet. with photoshop touch in English, my question is can be set for the Spanish program

    I could have sworn that PS Touch takes example of Android 'language & entry' slot parameter settings. for example, if it is set to English, then tap PS will be in English.

  • How to value for the variable user massively

    Hello world

    Is it possible to massively value variable user, for example the currentVersion value variable user as 'Work' for all users instead of setting a preference?

    Thank you very much
    Van Huy.

    It kind of defeats the object if you want to set a user variable in the world and perhaps a substitution variable can be a better option.
    In any case, one option is to export the LCM user preferences, update the output and then import them into.
    If you want to take the risk of piracy tables then look at HSP_USER_VARIABLE_VALUE, HSP_USER_VARIABLE and HSP_OBJECT

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Pass a variable value set to the selector to the Listview

    This was probably picked several times on the forum, but I'm going crazy with research and try to do things with my code.

    Everything I'm doing is to expose the variable rssmobileEnabled defined in the SELECTOR, so that I can go and test it in my LISTVIEW onSelectedValueChanged IF statement, according to the code below.

    I did the variable in "BOLD" below to indicate. This must be a simple solution, after all how it can be difficult to just define a global variable...

    The SELECTOR code:

     Picker {
        id: picker
        title: "Select Feed"
        dataModel: XmlDataModel {
         source: "models/blackberry.xml"
        }
    
          pickerItemComponents: [
              PickerItemComponent {
                    type: "rsslink"
                    content: Container {
                    layout: DockLayout {
                    }
                         Label {
                             multiline: false
                             text: pickerItemData.text
                             textStyle {
                                  base: SystemDefaults.TextStyles.SubtitleText
                             }
                          }
                      }
                 }
            ]
    
       onSelectedValueChanged: {
           var rsslinktext = (dataModel.data([ 0, picker.selectedIndex(0) ]).text);
           var rsslink = (dataModel.data([ 0, picker.selectedIndex(0) ]).rssSource);
           var rsslinkquery = (dataModel.data([ 0, picker.selectedIndex(0) ]).rssQuery);
           var rssmobileEnabled = (dataModel.data([ 0, picker.selectedIndex(0)]).mobileEnabled);
    
            //Load the selected feed
            dataSource.load();
       }
    } // Picker
    

    Code of the LISTVIEW:

                ListView {
                    id: myListView
    
                    // Associate the list view with the data model that's defined in the
                    // attachedObjects list
                    dataModel: dataModellist
                    layout: StackListLayout {}
                    listItemComponents: [
                        ListItemComponent {
                            id: header
                            type: "header" //"item"
    
                            //custom components used instead of standardlistitem
                            Container {
                                Label {
                                    id: emptytextheader
                                    text: ""
                                }
                            }
                        },
                        ListItemComponent {
                            id: item
                            type: "item" //"description"
    
                            Container {
                                layout: DockLayout {}
                                //custom components used instead of standardlistitem
    
                                Container {
                                    id: itemdetails
                                    Label {
                                        id: title
                                        text: ListItemData.title
                                        //textStyle.fontWeight: FontWeight.Bold
                                        multiline: true
                                        textStyle.color: Color.Cyan
                                    }
                                    Label {
                                        id: pubdate
                                        text: ListItemData.pubDate
                                        textStyle.color: Color.create("#ff00c200")
                                        textStyle.fontSize: FontSize.XSmall
                                    }
                                    Label {
                                        id: description
                                        text: ListItemData.description
                                        textStyle.fontSize: FontSize.Small
                                        multiline: true
                                        textStyle.color: Color.Yellow
                                        maxHeight: 130.0
                                    }
                                }
                            }
                        }
                    ]
    
                    onTriggered: {
                        var feedItem = dataModel.data(indexPath);
                        var page = detailsPage.createObject();
    
                        if (rssmobileEnabled == "y")
                            {
                                .....
                            }
                    }
                }
    

    Hello

    "var rssMobileEnabled" declares a local variable, is not available in onTriggered.

    Declare it as a property instead:

    TopLevelItem
    {
       property bool rssMobileEnabled
       (or 'property string' if it's a character)
    

    reference it without prefix "var":

    rssMobileEnabled =...

    You can also declare the property on another element (not necessarily higher level) and reference it by id:

    elementId.rssMobileEnabled

  • value set for text input or textarea

    I use following code to define cfinput text and argument cftextarea value my database, but after the code fails for standard as components html

    < input type = "text" > textarea or.

    < type CFINPUT = "text" name = "Mytext" id = "idMyText" value = "" #mySP.MyValue # "/ >"

    Is there a way to set the value of database for the standard controls?

    Your information and help is much appreciated,

    Kind regards

    Iccsi,

    @Iccsi,

    You don't give much explanation of "following code fails", so we are shooting in the dark here.  First thought is: have you wrapped the tag form or entry HTML with a tag?  The tag includes the features of already, which maybe why your code works butdoesn't work.

    Rule of thumb trying to ColdFusion variable of output values to the page: If you are not inside a ColdFusion tag designed to export data to the page (like CFFORM, intrusion via CFMAIL, etc.), you must have a tag enclosing somewhere.

    -Carl V.

  • BindVariable setting for the iterator

    I created a viewobject that has 1 ViewCriteria. I created a page of query using ViewCriteria as query component. Everything works perfectly. Now, I've added my a few extra bindVariable a whereclause whch who aren't in ViewCriteria. I have attached my own queryListener so that I can only provide values for these bind variables before you run the query. After setting it, when I run the query, it gives me error "Missing IN or out parameters" which means that it is not picking value of bindvariable which are used in my own where clause. Any help on this?

    Hello

    But still, you must check the box. It is mandatory.

    For the default implementation: you can get more information from this link

    http://jdeveloperandadf.blogspot.com/2011/03/custom-Java-bind-variable-in-where.html

  • Change the color setting for the monitor at a resolution of the screen

    Why have I not change the colors to true color (32 bit) to high color (16 bit) in order to have a clear view for some of the programs?

    Hello

    Your problem with clear display is not related in large part to the quality of the colors

    I guess you have Win 7. Let's check some settings of

    • Your resolution is set correctly? Go to display properties and check the resolution are set at the recommended.
    • Set your level of color quality 32 bit true color
    • Click on Start, and then click Control Panel option. Click view to open the options screen to change the size of screen text on Windows 7 operating system. Check if Smaller - 100% (default) is selected.
    • Check the ppp settings go to set custom text (PPP) size and check if the value is 100%, and use Windows XP style DPI is checked.

    What programs do not display correctly?

    Please publish results.

    Best regards

    Andrew

  • Definition of value Date for the DataControl WS attribute

    Hi all

    I have a Web service data control and I am trying to set the value of the current date of the bean managed when a new row is added to a table.

    I tried both options, but he keeps passing a null value when I submit the application:

    newRow.setAttribute("modifiedBy", JSFUtils.getADFUser());
    newRow.setAttribute("modifiedOn", new java.util.Date());
    
    

    newRow.setAttribute("modifiedBy", JSFUtils.getADFUser());
    newRow.setAttribute("modifiedOn", simpleDateFormat.format(Calendar.getInstance().getTime()));
    
    

    ModifiedBy is set correctly.

    Shows the XML code for the complex type:

    modifiedBy - tpye: java.lang.String

    modifiedOn - type: java.sql.Date

    Any ideas? Thank you!

    JDeveloper 11.1.1.7.0

    You will probably need convert the current date java.sql.Date type:

    Try this:

    java.util.Date utilDate = new java.util.Date ();

    newRow.setAttribute ("modifiedOn", new java.sql.Date (utilDate.getTime ()));

  • How can we access the value defined for the attribute search criteria

    Hi guys,.

    Is it possible to access the value that has been set to attribute programmatically in the bean in support of a search term?

    Kind regards!

    Schuhler

    Check the sample 85 ADF code corner sampleshttp://www.oracle.com/technetwork/developer-tools/adf/learnmore/85-querycomponent-fieldvalidation-427197.pdf

    Frank shows how to access the variables.

    Timo

Maybe you are looking for