Click functionality that counts clicks

Hi there,
  I've been trying to figure this out for a while now but haven't gotten anywhere.
  I want to be able to click a button in Edge Animate once, have it make a symbol do something, then click it again, and then have the symbol do something different.
  Basically I want to be able to count the number of clicks the user does with a variable and then make an if/else based on the number that the count variable is. (Unless there's a better way?)
  If anyone has any idea of how to do this as a jumping off point I'd be very grateful. Thank you!!

Do you have one symbol with several labels?
Here is a possible way:
i=-1;
$(document).click(function(event){
  $(event.target).closest(".clickable").each(function(){
    i++;
    if(i==0){
     sym.getSymbol('ani').play('color');
sym.getSymbol('ani').$('info').html('color');
    if (i==1){
     sym.getSymbol('ani').play('move');
sym.getSymbol('ani').$('info').html('move');
    if (i==2){
    sym.getSymbol('ani').play('change');
sym.getSymbol('ani').$('info').html('change');
    } else{
Sample here:  https://app.box.com/s/cpcp4pjy96tos8fm6li5

Similar Messages

  • In the program pages there is a function that automatically will save may document not only one i click save

    in the program pages there is a function that automatically will save may document not only one i click save

    In Lion and Mountain Lion you must save the first time then it will autosave for you with versions.
    ForEverSave, a 3rd party application, might actually prompt you after a set period. Check it out and any alternatives.
    Peter

  • Looking for a function that returns the currently opened document type

    Dear SAP gurus
    I have a user exit for transaction VA02. In VA02, when I click on button (Item details-configuration),
    it launches a URL in a browser. I am asked to add to the URL, values like Document Type, Document Number
    and Line Item Number.
    I can get Document Number and Line Item Number from the presently opened Sales Document by using the standard Function 'CUCB_GET_OWNER_OF_CFG'.
    However, I am not able get the value of Document Type. Is there any function that will give me
    the value of the Document type of the present document that is open.
    Any feedback/Suggestion will be highly appreciated.
    Thanks
    Ram

    If you're in a VA02 user exit, the document type should be in VBAK-AUART, if I remember the field name correctly.  I would think that ANYWHERE in VA02, that field will be available to you.
    If you want the text of the document type, forward navigate from vbak-auart data element to the domain and look at the values...there'll be a config (T) table (and you may need to add T to the end to get the associated text table) that describes the document type in your system's language,  like:
    E OR   Order
    or something like that...  Sorry, in my installation, we don't use the logistics modules, so I'm writing from memory.

  • Can a loaded SWF call a function that lives in the parent?

    I'm building a pretty simple Flash site in AS3. There is a
    main movie (main.swf) that simply loads different swfs via buttons
    on a main nav bar. The user clicks on a MC in "main.swf" and a
    function is called, loadMyContent("section1.swf"), is called and it
    animates in nicely. Other buttons use the same function, loading
    section2.swf, section3.swf, etc.
    I've defined how "loadMyContent()" works in the the main
    movie's document class file. It's all working fine when I just need
    to load content from a user action from the buttons that live in
    "main.swf". I want to call that same "loadContent" function from
    within "section1.swf" and have "main.swf" run it's "loadContent"
    fuction, but I can't seem to figure out how to make a child call a
    function that lives in the parent.
    Is there any way of having my child do this?
    I have a suspicion I may have to define that "loadContent"
    somewhere else, but I'm a little stumped now. I'm not really
    familiar with design patterns yet, although I want to get an
    understanding of them sometime soon. Can anyone offer some help
    with my immediate need or suggest a route to a solution?
    Thanks.

    kglad,
    Thank you very much! That worked perfectly. My section1 FLA
    is now compiling it's SWF without complaint.
    In case someone else is following this, the exact code I
    ended up using to cast "this.parent.parent" as a MovieClip is:
    MovieClip(this.parent.parent).loadMyContent("section2.swf");
    The discussion I think kglad is referencing is
    this
    discussion. If that's not it, just let me know. Again, kglad,
    thank you!

  • Please Help regard function that will return values of each JComboBox items

    I'd like to create a function that will return values of each item on the JComboBox at a time when
    I click on each item of a comboBox. I had this following codes, but didn't work.
    Please help me !!!Please correct it... thanks a million
    String wp;
    String text;
    String A[] = {"WARNIGNS","CAUTIONS","NOTES"};
    JComboBox ABC = new JComboBox();
    for (int i=0;i<A.length;i++) {
    ABC.addItem (A);
    text = Get_It(); //assigns each value of JComboBox's item to variable text when clicks at each item
    //of a comboBOx
    private String Get_It(){
    ABC.addActionListener(new ActionListener (){
    public void actionPerformed(ActionEvent e){
    wp = (String)CBweapon.getSelectedItem() ;
    return wp;

    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    public class AlertFrame extends JFrame {
    String s_alert[] ={"WARNIGNS","CAUTIONS","NOTES"};
    JComboBox CBweapon;
    String wpText;
    public AlertFrame() {
    super("Alerts");
    Container contentPane = getContentPane();
    contentPane.setLayout(null);
    setSize(600,600);
    CBweapon = new JComboBox();
    for (int i=0;i<s_weapon.length;i++) {
    CBweapon.addItem (s_weapon);
    contentPane.add(CBweapon);
    CBweapon.setActionCommand("");
    //set position for components
    CBweapon.setBounds(370 + insets.left,295+ insets.top, 150,30);
    System.out.println(getit()); //calling getit() function
    //this function will be return a String of JcomboBOx value if click on each item of combobox
    private String getit(){
    CBweapon.addActionListener( new ActionListener (){
    public void actionPerformed(ActionEvent e){
    wpText = (String)CBweapon.getSelectedItem() ;
    return wpText;
    public static void main(String args[]) {
    AlertFrame af = new AlertFrame();
    af.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    System.exit(0);
    **I have no errors on compile or run, but it didn't return a string value to System.out.println(getit());
    It maybe because of the "void" of public void actionPerformed(ActionEvent e){
    wpText = (String)CBweapon.getSelectedItem() ;
    Please help me

  • I have just purchased Real player 15sp but it does not seem to recognise Firefox13? and I cannot use the extra functions that it has. Example I cannot download

    I have just purchased Real player 15sp but it does not seem to recognise Firefox13? and I cannot use the extra functions that it has. Example I cannot download videos. Thank you.
    Jack

    Cannot download videos
    This is caused by the RealPlayer Browser Record Plugin extension. To fix it, disable the extension.
    The RealPlayer plugin will still work.
    At the top of the Firefox window, click on the Firefox button (Tools menu in Windows XP), and then click Add-ons. The Add-ons Manager tab will open.
    In the Add-ons Manager tab, select the Extensions panel.
    Select RealPlayer Browser Record Plugin.
    Click on Disable.
    Click Restart Now to start Firefox with the extension disabled. My add-on manager says the add-on is disabled.
    I tried this and it didn't work, what else?

  • Writing functions that contain scriptlets/expressions

    How do I go about writing functions in my JSP page that contain scriptlets and expressions? Also, I'd like to reference session/request/response variables from within.
    I want something like this:
    <jsp:useBean id="myObject" class="com.classes.*" scope="session" />
    <%!
    void printList()
         String str1 = myObject.getName();    <%-- reference outside object --%>
         String str2 = request.getParameter("address");  <%-- use request variable --%>
         out.println(str1 + ": " + str2); <%-- I know it's illegal to do this, but how do I print to the browser from a function? --%>
         <%= request.getParameter("zipcode") %> <%-- Also illegal (are expressions allowed?) --%>
         out.println("<A HREF=\"<% session.getAttribute("url") %>\">Click here</a>");  <%-- dynamic and static content: how do I do this? --%>
    %>I unsure as to how to carry out the above actions. My biggest problem is the last example. How do I print out HTML interspliced with dynamic content with my function?
    I'm pretty sure that nesting <% %> tags inside of <%! %> directive tags is illegal. Is writing a void function that prints out a bunch of static and dynamic data simply not possible with JSP? If so, is it necessary that I write several functions to return values which can then be printed later in the page via separate scriptlets or expressions?

    Take a look at generated servlet code and try to understand how it is working.
    request and response is available only inside some method body. So to access it in your method, you must pass it as argument.
    void printList(HttpServletRequest request, HttpServletResponse response) { ... }everything inside
    <%!
    is added to servelt code, but things inside <% %> are added to processing method body not servlet body.
    Take look at jsp and corresponding servlet:
    JSP:
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <html>
    <head><title>JSP Page</title></head>
    <body>
        <%="place 1"%>
    </body>
    </html>
    <%!
        public String aaa() {
            return "palce2";
    %>GENERATED SERVLET
    package org.apache.jsp;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.servlet.jsp.*;
    public final class test_jsp extends org.apache.jasper.runtime.HttpJspBase
        implements org.apache.jasper.runtime.JspSourceDependent {
        public String aaa() {
            return "palce2";
      private static java.util.Vector _jspx_dependants;
      public java.util.List getDependants() {
        return _jspx_dependants;
      public void _jspService(HttpServletRequest request, HttpServletResponse response)
            throws java.io.IOException, ServletException {
        JspFactory _jspxFactory = null;
        PageContext pageContext = null;
        HttpSession session = null;
        ServletContext application = null;
        ServletConfig config = null;
        JspWriter out = null;
        Object page = this;
        JspWriter _jspx_out = null;
        PageContext _jspx_page_context = null;
        try {
          _jspxFactory = JspFactory.getDefaultFactory();
          response.setContentType("text/html;charset=UTF-8");
          pageContext = _jspxFactory.getPageContext(this, request, response,
                         null, true, 8192, true);
          _jspx_page_context = pageContext;
          application = pageContext.getServletContext();
          config = pageContext.getServletConfig();
          session = pageContext.getSession();
          out = pageContext.getOut();
          _jspx_out = out;
          out.write("\n");
          out.write("\n");
          out.write("<html>\n");
          out.write("<head><title>JSP Page</title></head>\n");
          out.write("<body>\n");
          out.write("    ");
          out.print("place 1");
          out.write("\n");
          out.write("</body>\n");
          out.write("</html>\n");
          out.write("\n");
        } catch (Throwable t) {
          if (!(t instanceof SkipPageException)){
            out = _jspx_out;
            if (out != null && out.getBufferSize() != 0)
              out.clearBuffer();
            if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
        } finally {
          if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
    }

  • Is there a function that uses Get_DAQ_De​vice_Info - device_typ​e_code to get info

    Is there a function that uses Get_DAQ_Device_Info - device_type_code to get info on the hardware characteristics such as a list of available gains or A/D converter resolution?

    Duncan;
    When calling Get_DAQ_Device_Info we get most of the information for our board. For example: the base address, calibration status, counter type, serial number, device type code, DMA and Interrupt levels, etc.
    At this moment we do not have any function that will let us know the number of channels of a certain device and the configuration mode supported by the board.
    However, you can use the Init_DA_Boards to retrieve what type of board is installed on the machine at a given time, and to have a look up table with the available gains for the possible boards that can be used on your application.
    Hope this helps.
    Filipe A.
    Applications Engineer
    National Instruments

  • Help with a store function that takes string array

    Hi All,
    I have a function that takes in two string arrays, status_array, and gender_array. You can see the partial code below. Somehow if the value for the string array is null, the code doesn't execute properly. It should return all employees, but instead it returns nothing. Any thoughts? THANKS.
    for iii in 1 .. status_array.count loop
    v_a_list := v_a_list || '''' || status_array(iii) || ''',';
    end loop;
    v_a_list := substr(v_a_list, 1, length(trim(v_a_list)) - 1);
    for iii in 1 .. gender_array.count loop
    v_b_list := v_b_list || '''' || gender_array(iii) || ''',';
    end loop;
    v_b_list := substr(v_b_list, 1, length(trim(v_b_list)) - 1);
    IF v_a_list IS NOT NULL and v_b_list IS NOT NULL THEN
    v_sql_stmt := 'select distinct full_name from t_employee where status in (' || v_a_list || ') and gender in (' || v_b_list || ')';
    ELSIF v_a_list IS NOT NULL and v_b_list IS NULL THEN
    v_sql_stmt := 'select distinct full_name from t_employee where status in (' || v_a_list || ') ';
    ELSIF v_a_list IS NULL and v_b_list is not null THEN
    v_sql_stmt := 'select distinct full_name from t_employee where gender in (' || v_b_list || ')';
    ELSE
    v_sql_stmt := 'select distinct full_name from t_employee';
    END IF;
    OPEN v_fullname_list FOR v_sql_stmt;
    RETURN v_fullname_list;

    I'd first recommend trying to avoid the dynamic sql.
    use an approach like
    [http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:210612357425] or
    [http://stackoverflow.com/questions/1625649/oracle-parameters-with-in-statement/1655743#1655743] or [http://stackoverflow.com/questions/1715978/how-to-use-an-oracle-associative-array-in-a-sql-query]
    but if that isn't in scope, do a
    dbms_output.putline(v_a_list) ;
    dbms_output.putline(v_b_list) ;
    dbms_output.putline(v_sql_stmt) ;around and see what it emits

  • What is the function to count number of spaces in a cell.

    Hi Experts,
    In Webi, i am stuck with one scenario. The scenario is I have a column named Customer Address. In that i want to know how many "spaces" are there for the each row.
    I have created variable and tried using various functions like Count, Substr etc... but those are not appropriate for this scenario. Please Help me.
    Customer Address
    1400 RamNivas Opp.Croma Circle6 Gurgon
    11-88 KPHB Opp.BrandFactory Hyd
    1-4-8 ChitrangColony Vijayanthi Chennai
    I want output like Below,
    Address has to display till second space or till third space or till fourth space........
    based on the client decision i will select the address length.

    Hi Sreeram,
    I hope you are talking about Webi here. This is what I would do if I really want to achieve this. I am not saying this is the best way to do. Give it a try and decide if you can achieve the same results by using some other functions. Here is my answer:
    Lets assume that our address is "1st 2nd 3rd 4th ".
    If your customer decides one space then you will display "1st". if 3 then "1st 2nd 3rd" should be displayed.
    The following example formula should display the values before the 2nd space.
    =Left([CAddr];(Pos([CAddr];" ")+Pos(Right([CAddr];Length([CAddr])-Pos([CAddr];" "));" "))-1)
    How it works on "1st 2nd 3rd 4th ":
    1. Get the position of 1st space. You will get 4.
    Pos([CAddr];" ")
    2. Get the remaining string after the 1st space. You will get "2nd 3rd 4th ".
    Right([CAddr];Length([CAddr])-Pos([CAddr];" "))
    3. Get the position of 2nd space in remaining part of the string. You will get 4.
    Pos(Right([CAddr];Length([CAddr])-Pos([CAddr];" "));" ")
    4. Get the position of 2nd space in the whole address. You will get 8
    (Pos([CAddr];" ")+Pos(Right([CAddr];Length([CAddr])-Pos([CAddr];" "));" "))
    5. Get the string from left until the position of 2nd space. As we will get a leading space we need to subtract 1 from the above formula. You will get "1st 2nd" as result.
    =Left([CAddr];(Pos([CAddr];" ")+Pos(Right([CAddr];Length([CAddr])-Pos([CAddr];" "));" "))-1)
    All you need to do is replace "CAddr" with your column name. If your customer decides 3rd position, you can edit this formula to add another step.
    This formula should give you some ideas to get started with. Let me know if something is not clear.
    Sujit.

  • Function that returns a valid object name

    Hello,
    I heard there was a new function that would return a unique unused valid
    object(table) name that could then be used to create an object
    by that name, but I can not seem to find it in the documentation references.
    What I want to do is to create tables, then drop them at a later date
    without having to check if that name has been used already
    or creating a sequence.
    Any ideas?

    You may be thinking of SYS_GUID which can be used to generate unique identifiers for objects, as in TYPEs. Not database objects like TABLEs. The SYS_GUID datatype is "the 32-character hexadecimal representation of the 16-byte RAW value of the global unique identifier". Consequently it is very likely to start with a digit and so is not valid as a table name.
    You could generate a valid random name using something like this: 'A'||to_char(sysdate, 'YYMMDDHH24MISS'). If you want to create more than one per second you'll have to create a function that increments some global counter to ensure uniqueness. However, DDL like creating or dropping tables is a performance killer and not really something you want to do on the fly.
    Cheers, APC

  • Problem with a simple function that return a number

    Hi,
    I'm writing a function that return a number. I receive always an error (invalid number) but I don't understand why.
    The function is this:
    >
    FUNCTION COUNT_OBJECT(workflow_name_p IN NUMBER, object_type_p IN VARCHAR2) RETURN NUMBER
    IS
    object_inserted NUMBER;
    BEGIN
    object_inserted := 0;
    IF workflow_name_p = 'AIMDailyIngestorWorkflow'
    THEN
    object_inserted := 1;
    else
    object_inserted := 100;
    END IF;
    RETURN object_inserted;
    END COUNT_OBJECT;
    I have left only an if and an assignment because I do not find the error.
    When I execute the function I receive always this error:
    ORA-01722: invalid number
    01722. 00000 - "invalid number"
    *Cause:   
    *Action:
    There are not operation, only assignment I cannot understand.
    Could someone help me?
    Thanks bye bye.

    I changed in this way:
    FUNCTION COUNT_OBJECT(workflow_name_p IN VARCHAR2, object_type_p IN VARCHAR2) RETURN NUMBER
    IS
    object_present NUMBER;
    object_inserted NUMBER;
    table_name_p VARCHAR2(4000);
    query_stmt VARCHAR2(4000);
    BEGIN
    IF workflow_name_p = 'AIMDailyIngestorWorkflow'
    THEN
    SELECT SUM(B.STOREDOBJS) INTO object_present
    FROM DPCTJOBTYPESTATS B
    WHERE B.WORKFLOW_NAME = workflow_name_p AND B.OBJTYPE=object_type_p;
    SELECT 'AIM.'||B.TABLE_NAME INTO table_name_p
    FROM DPCTSWOBJTYPE B
    WHERE B.OBJTYPE=object_type_p AND SOFTWARE='AIM';
    EXECUTE IMMEDIATE 'SELECT COUNT(*) FROM ' || table_name_p || ';' INTO object_inserted;
    object_inserted := object_inserted - object_present;
    END IF;
    RETURN object_inserted;
    END COUNT_OBJECT;and now the error is:
    ORA-00911: invalid character
    ORA-06512: at "INFRA.WORKFLOW_STATISTICS", line 504
    00911. 00000 - "invalid character"
    *Cause:    identifiers may not start with any ASCII character other than
    letters and numbers. $#_ are also allowed after the first
    character. Identifiers enclosed by doublequotes may contain
    any character other than a doublequote. Alternative quotes
    (q'#...#') cannot use spaces, tabs, or carriage returns as
    delimiters. For all other contexts, consult the SQL Language
    Reference Manual.
    but the line 504 is the blank line higlighted with the ***.
    Why this error? The code seems correct.
    Thanks, bye bye.

  • Create timer function that does not use start-sleep

    Hey all I would like to create a timer function that does not use the start-sleep command because this freezes my GUI. I've wrote the start of a function but it seems to move on before the specified time has finished.
    Here's what I have:
    $Global:timerCounter=0
    $Global:timer = new-object System.Windows.Threading.DispatcherTimer
    Function Timer{
    param(
    [parameter(Mandatory=$true)]
    [int]$time
    $timer.Interval = [TimeSpan]"0:0:$($time)"
    $timer.Add_Tick({
    $Global:timerCounter++
    if($Global:timerCounter -ge 1) {
    $Global:timer.Stop()
    $timer.Start()
    Then in my script i would like to call Timer -time #of seconds. It seems that when I call it the add_tick is registered and then started but it continues on with the rest of my script. Is there a better way of doing this without using start-sleep?
    Thanks!

    Okay the issue I'm having is that I have code after the $timer.start that I don't wan't to run till a powershell job is done. In all the examples I've seen it has to come to the end of the code then it starts the tick. So in your example it comes to the
    end of of your code and showsDialog() then starts ticking.
    So:
    add-type -AssemblyName system.windows.forms
    $form=New-Object System.Windows.Forms.Form
    $btn=New-Object System.Windows.Forms.Button
    $form.Controls.Add($btn)
    $btn.add_Click({$form.Close()})
    $btn.Dock='Fill'
    $btn.Font='Lucida Console, 20.25pt, style=Bold'
    $btn.Text=[DateTime]::Now
    $timer=New-Object System.Windows.Forms.Timer
    $timer.Interval=1000
    $timer.add_Tick({$btn.Text=[DateTime]::Now})
    $timer.Start()
    $form.ShowDialog()
    #I want to do other things here but only after the ps job has finished
    Thanks I really am trying to figure this out. 
    Here is the code I'm working with I guess I'm unclear on how to order the timer and the rest of my code:
    if($syncHash.mainCopy){
    $syncHash.mainJobDone = $false
    $syncHash.writeHost = $false
    while(-not $syncHash.mainJobDone){
    [System.Windows.Forms.Application]::DoEvents()
    if($syncHash.writeHost -eq $false){
    Write-OutputBox -Message "Copying"
    $syncHash.writeHost = $true
    $syncHash.inProgress = $syncHash.mainCopy | Where-Object {$_.State -match 'running'}
    $syncHash.currentCopyTime++
    }elseif($syncHash.currentCopyTime -ge ($syncHash.averageCopyTime * 2) -and $syncHash.collectionCopyTime.Count -ne 0){
    $syncHash.Unusable += $syncHash.currentMainCopyMachine
    $syncHash.computersNotForInstall += $syncHash.currentMainCopyMachine
    $syncHash.inProgress = $null
    $syncHash.mainCopyTimedOut = $True
    Write-OutputBox -Type WARNING: -Message "$($syncHash.currentMainCopyMachine) is taking too long. Removing Job.."
    Add-Content -Path $log_path -Value "$($syncHash.currentMainCopyMachine) taking to long to copy to"
    Stop-Job $syncHash.mainCopy
    }else{
    $syncHash.inProgress = $syncHash.mainCopy | Where-Object {$_.State -match 'running'}
    Write-OutputBox -Message "." -NoNewLine
    ############################# ############# So I need it to wait right here I have other code other than in this block ############# that needs to run $syncHash.currentCopyTime++
    if(-not $syncHash.inProgress){
    $syncHash.mainJobDone = $true

  • Possible to write a function that takes any type as parameter ?

    I need to write a function that will take 2 parameters ( of any type - VARCHAR etc ) and return a boolean.
    ( Im trying to write a function that will do NULL processing.
    something like..
    if ( P1=P2 OR ( P1 IS NULL AND P2 IS NULL ) ) then
    return true ;
    end if;
    return false ;
    the function simply compares its parameters P1 & P2 and returns true if they are equal - including if both are NULL
    Is this possible to write at all.
    My code looks very ugly without this being wrapped in a function.

    You may be able to use SYS.AnyData for this. However, dealing with the data would be confusing, so overloading the FUNCTION would most likely be a better idea.
    This doesn't work, but it looked like fun, so i tried:
    CREATE OR REPLACE FUNCTION Equal_Or_NULL(A SYS.AnyData, B SYS.AnyData)
    RETURN PLS_INTEGER
    AS
    Local_A     VARCHAR2(4000);
    Local_B     VARCHAR2(4000);
    Junk          PLS_INTEGER;
    BEGIN
    IF A IS NULL AND B IS NULL THEN RETURN 1; END IF;
    CASE A.GetTypeName
      WHEN 'SYS.NUMBER'     THEN Junk := A.GetNumber(Local_A); Junk := B.GetNumber(Local_B);
      WHEN 'SYS.DATE'     THEN Junk := A.GetDate(Local_A); Junk := B.GetDate(Local_B);
      WHEN 'SYS.CHAR'     THEN Junk := A.GetCHAR(Local_A); Junk := B.GetCHAR(Local_B);
      WHEN 'SYS.VARCHAR'     THEN Junk := A.GetVARCHAR(Local_A); Junk := B.GetVARCHAR(Local_B);
      WHEN 'SYS.VARCHAR2'     THEN Junk := A.GetVARCHAR2(Local_A); Junk := B.GetVARCHAR2(Local_B);
    END CASE;
    RETURN CASE WHEN Local_A = Local_B THEN 1 ELSE 0 END;
    END Equal_Or_NULL;
    /Overloading would be much simpler, as the arguments could be directly compared.
    IMO, Do not do this. Hiding logic in a FUNCTION it for cosmetic purposes is a bad idea.

  • Is there a way to create a function that concatenates

    Hello,
    I constantly find myself needing to create a forumla tha concatenates employee's ID, last name, and first name.  Is there a way to create a function in Crystal that will allow me to create a function that already has this concatenation in place?  I am using Crystal XiR2.
    Thanks,
    Z

    Hi Zack,
    Custom function is a function that can be used in any report and it doesn't depend on database. We have to provide the values in order to claculate what we want and basing on the values provided it calculates accordingly. We cannot use global variables in custom functions and also evaluation time functions (like whileprintingrecords,whilereadingrecords). So I think it is not possible to get the strings concatenated without passing the values.
    Alternatively you can go for a query using Add Command like this
    select IDFirstNameLastName as value from table
    Regards,
    Raghavendra

Maybe you are looking for

  • Images all mixed up

    Please help, My original images are stored on a server.  I had to alter the position of the files.  Aperture found some but not others.  I worked through most of the images using the "Locate Reference Files" command.  As I was on one of the last fold

  • Help on Substitution Rule

    Hi Sappers! I am working on a substitution rule and I would appreciate some pointers from you. Requirement: Remove the GL account 12345678 from the substitution rule. This account is presently used by a lot of different cost centers and the when ever

  • Apex Versioning

    Is it possible to compare 2 Application Export files and generate a report detailing the differences between the 2 Exports ? I am tyring to push APEX as a RAD tool and the infrastructure/architecture folks insist that they need to know what pages/ite

  • Cost centers not triggered

    HI Gurus, When I am trying to assign Organizational Units to Cost centers, I am unable to find any cost centers that are triggered to choose.I request you all to kindly help me in this regard. Regards Phani Prasad.

  • Accessing SDM, Deploy Tool from Browser

    Hello Experts, Can we access SDM or Deploy tool using Internet Explorer?? Just like a SAP MMC?? Thanks, Prashant