Regarding Can we store User Selected values in prompts

Please help us in achieving the below requirement.
Requirement is to store User Selected values in prompts when the report is opened by a User for the first time and make use of those values to refresh the report next time onwards.
1.Can this be achieved in WebI ?
2.If it is thru SDK(we use Java), any experience/help in doing this ?
Environment : BO XI 3.1 with SAP BW Integration

Hi ,
If you dont want data to be displayed in this report for this two values , then exclude this two values when you restrcit your characteristic to the variable.
If you want not to display this values when user opens help for entering the values where he can see all the possible values for selection for the variable, then it wont be possible.
Hope this will help.
- Jaimin

Similar Messages

  • How can I store 2 GB value

    Hi,
    Can I store 2 GB value (2 * 1024 * 1024 * 1024) in long type variable? if it doesn't hold the value is there any other way to store the value?
    Thanks in advance.
    Regards,
    Venkat

    The range of primitives is as follows:
    byte -2^7 - 2^7-1
    short -2^15 - 2^15-1
    int -2^31 - 2^31-1
    long -2^63 - 2^63-1
    Thus an int can store a value between -2147483648 and 2147483647.
    long will store values between -9223372034707292161 and 9223372036854775807.
    Your 2GB value = 2147483648 is only 1 past what an int can store.

  • Retrieving user selected values in drop down

    Hello
    I am in trouble again
    I am trying to set the user selected values in the dropdown list but whatever i tried i always either get the default values or just the last selceted value or the first selected value
    Can anyone help please
    heres the code
    String values = request.getParameter("selectHeaders" + i++);
        while (values != null)
            selectedValues.add(values);
            values = request.getParameter("selectHeaders" + i++);
    [INSIDE HTML]
    <%
      for (int j = 0; j < headerList.size(); j++)
             String selectedHeaders = "selectHeaders" + j;
       %>
        <TD><%=headerList.get(j)%></TD>
        <TD><SELECT name="<%=selectedHeaders%>">
         <%
               for (int k = 0; k < sheetHeaders.size(); k++)
                       int m = 0;
                       int val = 0;
                       boolean isSelected = false;
                       if(selectedValues.size() != 0)
                            while((!isSelected) && (m < selectedValues.size()))
                                     String valueStr = selectedValues.get(m).toString();
                                      val = Integer.parseInt(valueStr);
                                     // logger.debug("THE USER SELCTED VALUE : " +val);
                                       // logger.debug("THE LOOP value k: " +k);
                                       if (val == k)
                                            isSelected = true;
                                        else
                                            m++;
                                    } //end of while
                                    logger.debug("THE BOOLEAN VALUE IS: "+isSelected);
                                    %>
    //this line is the one where all my confusion is
    <OPTION <% if(isSelected) {%> selected <%}%> value = '<%=k%>'><%=sheetHeaders.get(k)%></OPTION>
                            <% } //end of if(isSelectedValues.size())
                            else { %>
                                 <OPTION <% if (j == k) { %> selected <%}%> value="<%=k%>" ><%=sheetHeaders.get(k)%></OPTION>
                           <% } //end of else (selectedValues == 0)
                            } //end of for(k)
    [END HTML]

    I got the solution
    Thanx for your time
    have a nice day

  • How can i read user input value to my User exist

    Hi Guru's,
    I am facing one problem in Variables in BPS.
    I am calculating days from Month/year .I have one variable it is for Days,Second variable it is for Month/Year.
    First variable is user exist (for calculating the days),Second varible is user defined variable(this is a Input to the first variable).
    When i am giving the Month/Year(02/2008)variable i am getting the 29 days from the first variable.again i am changing the value of Month/Yera(03/2008) i am not getting the desired value.
    my doubt is my user exist not able to read current value of variable(month/year).how can i pass my value to user exist because this value is user input value based on this value i am calculating the days and dynamically displaying the layout.
    Here is the my sample code..
    seq = '0000'.
    ind = 0.
       i_area = 'ZTEST1'.
       area_var = 'ZVar2'.
    PERFORM instantiate_object USING    i_area
                                        area_var
                                 CHANGING lsr_var.
    PERFORM get_current_value_of_variable
                            USING lsr_var
                            CHANGING lto_value.
    READ TABLE lto_value INTO lso_value index 1  .
    i_month = lso_value-low.
    iv_month = i_month+4(2).
    iv_year = i_month(4).
    concatenate iv_year iv_month '01' into iv_date.
    begindate = iv_date.
    below bracket code calculating the leap year
    ( IF iv_date+4(2) = lc_feb.
        lv_hlp_date_year = iv_date+0(4).
        lv_hlp_rest      = lv_hlp_date_year MOD 4.
        IF lv_hlp_rest = 0.
          EV_DAYS = lc_days_29.
          lv_hlp_rest = lv_hlp_date_year MOD 100.
          IF lv_hlp_rest = 0.
            lv_hlp_rest = lv_hlp_date_year MOD 400.
            IF lv_hlp_rest NE 0.
              EV_DAYS = lc_days_28.
            ENDIF.
          ENDIF.
        ELSE.
          EV_DAYS = lc_days_28.
        ENDIF.)
      ELSE.
    below bracket code calculating the days
    (   CASE iv_date+4(2).
          WHEN lc_jan. EV_DAYS = lc_days_31.
          WHEN lc_mar. EV_DAYS = lc_days_31.
          WHEN lc_may. EV_DAYS = lc_days_31.
          WHEN lc_jul. EV_DAYS = lc_days_31.
          WHEN lc_aug. EV_DAYS = lc_days_31.
          WHEN lc_oct. EV_DAYS = lc_days_31.
          WHEN lc_dec. EV_DAYS = lc_days_31.
          WHEN lc_apr. EV_DAYS = lc_days_30.
          WHEN lc_jun. EV_DAYS = lc_days_30.
          WHEN lc_sep. EV_DAYS = lc_days_30.
          WHEN lc_nov. EV_DAYS = lc_days_30.
          WHEN OTHERS.   CLEAR EV_DAYS.
        ENDCASE.)
      ENDIF.
    data: st_date(2) type c.
    st_date = '01'.
    ind = 0.
    ind = ind + 1.
    here i am passing the low value and high value.
    yto_charsel-chanm = '0CALDAY'.
    yto_charsel-seqno = 1.
    yto_charsel-sign  = 'I'.
    yto_charsel-opt   = 'EQ'.
    yto_charsel-LOW = st_date.
    yto_charsel-chanm = '0CALDAY'.
    yto_charsel-seqno = 1.
    yto_charsel-sign  = 'I'.
    yto_charsel-opt   = 'BT'.
    yto_charsel-high = ev_days.
    INSERT yto_charsel INTO sto_charsel INDEX ind.
    ETO_CHARSEL = sto_charsel.
    lto_value = sto_charsel.
    How can i pass user input value to read this exist ,some where again i have to write code or else??
    This is very urgent can you help me..

    Hi,
    Instead of two perform statements, use single perform.
    PERFORM get_value USING i_area
                              i_variable
                         CHANGING lw_varsel.
    Take the values from lw_varsel-low.
    FORM statement for this perform is as follows.
    DATA: li_varsel TYPE STANDARD TABLE OF upc_ys_api_varsel,
            lv_varsel TYPE REF TO cl_sem_variable.
      FORM get_value USING p_area TYPE upc_y_area
                           p_variable TYPE upc_y_variable
                     CHANGING
                           p_lw_varsel TYPE upc_ys_api_varsel.
        CALL METHOD cl_sem_variable=>get_instance
          EXPORTING
            i_area       = p_area
            i_variable   = p_variable
             I_CREATE     =
          RECEIVING
            rr_variable  = lv_varsel.
           EXCEPTIONS
             NOT_EXISTING = 1
             others       = 2
        IF sy-subrc <> 0.
          EXIT.
        ENDIF.
        REFRESH li_varsel.
    ****Getting the Value*********
        CALL METHOD lv_varsel->get_value
          EXPORTING
            i_user     = sy-uname
            i_restrict = 'X'
          RECEIVING
            rto_value  = li_varsel.
        CLEAR : p_lw_varsel.
        READ TABLE li_varsel INTO p_lw_varsel INDEX 1.
        IF sy-subrc <> 0.
          EXIT.
        ENDIF.
      ENDFORM.                    "get_value
    Try this code.
    Bindu

  • Is there a way to hide some reports based on the selected values in prompt.

    Hi Experts,
    Is there a way to hide some reports based on the selected values in prompt.
    For ex. if a year is selected in the prompt then the report should display year wise report.
    If a year and half year both are selected in the drop down from prompt section then 2 reports should come.. One for year wise and another for half year wise.Kindly look into this.
    Regards
    Ashish

    Hi,
    Use presentation values in prompts for year,half,qtr and month.Example- For year-y is presentation variable in the same way for halfyear-h,qtr-q and month-m.
    create four intermediate reports.Example-Report r1 with only year column,r2 with only halfyear column,r3 with qtr column and r4 with month column.
    Make column in each report(r1,r2,r3,r4) is equal to their presentation variables(y,h,q,m).
    Use four sections.
    Section1-Place report that should come when only year.
    section2-Place report that should come for year and halfyear.
    Section3-Place report that should come for year,halfyear and qtr.
    Section4-Place report that should come for year,halfyear,qtr and month.
    Apply guided navigation for each section selecting guided navigation-
    For section1-
    properties->Guided navigation->check this Reference Source Request(Yes)->select report r1(year)->check this Show Section(if request returns row)
    In the same way do for remaining section2(select r2),section3(select r3) and section4(select r4)
    Thanks,
    Srikanth
    http://bintelligencegroup.wordpress.com/

  • How to Store bollean selection values and retrieve them in runtime?

    I have an array of bolleans representing a channel of a device. Now , when the user turns on the channel the selected channel array are supposed to be stored. Now when the user selects device 2 (using a ring function) the list refreshes t5he channel names and resets the bollean array to their default values and the new selection values are to be stored. Now if the user wants, he should revert back to device 1 and can review what all channels he had selected for Device 1. How can this functionality be achieved?
    Labview Learner
    Attachments:
    1.PNG ‏14 KB
    2.PNG ‏14 KB

    You need to store the boolean array somewhere.  I would likely just use a shift register
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How can i get user entry values at WAD

    Hi I need some user entry values display at wad?
    suppose i have x( user entry) if i will give x=1000
    on top need to show 1000 values?
    i need user entry boxes at wad level only
    ple let me know

    Hi,
    you have to set the checkbox "Display Variable Screen" in WAD. You can find if under:
    Web Template Parameters->Display Variable Screen
    Regards
    Erwin

  • How to bind a user selected value to a view object bind variable?

    Hi
    I have two pages in ADF BC application. In the first page ,i will give a drop down menu to user which displays all the table names in my databse.
    when the user selects a table and goes to the second page..he should be given a menu or a check list of all the columns in the user selected table....
    to display the columns i have used the query
    Select COLUMN_NAME from user_tab_columns where table_name = : table_name in the view object.
    now how to bind the user selected table value in the first page to the table_name bind variable in view object ?
    thanks
    swathi.

    Hi,
    depends on how the select box is implemented. With ADF and ADF Faces, the default value selection is the list index. In a value change listener you could look up the selected value from the underlying iterator. Store this value e.g. in a session attribute and point the NDValue of the ExecuteWithParams operation to #{sessionScope.your_attribute}
    Frank

  • Store User given value in an Odi Variable

    Hi,
    I want to store the recent user given value(at execution time) in a .txt file using shell script.So I want to pass the user given value to the shell script.So in package,I put the the variable in refresh mode as first step and then the odioscommand link by ok.When I try execute this package it fails(*ODI-1246:* The Logical Schema has not been set for Input_Variable).
    FYI:-
    I just create a simple variable of numeric type.Select the LATEST VALUE for it and schema is undefined.Default value is 0.
    After this problem occurred I select oracle schema,memory engine schema etc. and execute the package/scenario again But it result the same.
    Please Advice
    Thanks
    Papai
    NB
    Here is the problem details:-
    ODI-1246: The Logical Schema has not been set for Input_Variable.
    at com.sunopsis.dwg.dbobj.SnpSessTask.getDefaultDwgConnectConnection(SnpSessTask.java:508)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlV.getExecutor(SnpSessTaskSqlV.java:428)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlV.processTask(SnpSessTaskSqlV.java:405)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlV.treatTask(SnpSessTaskSqlV.java:240)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
    at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
    at java.lang.Thread.run(Thread.java:662)

    If you are using it as a refresh variable then you should have one refresh query and the logical schema selected inside it.
    If you are using it in set mode then just assign the default value. (No use of refresh query and logical schema.)
    If you are using it in declare mode then provide the value in run time. (No use of refresh query and logical schema.)

  • Limiting rows displayed from user-selection on dashboard prompt

    Hi,
    I'm looking for a way to limit the number of rows displayed after a user has made a selection using a dashboard prompt. Here is my scenario:
    User selects 24 periods of data using an 'In Between' dashboard prompt (i.e. Jan05-Dec06). 24 rows are returned by the query but I only want to show the last 12 rows (Jan06-Dec06).
    Motivation is that I'm using the MSUM function to display a 12-month moving sum total and I don't want to display the first 12 rows as they do not contain a complete moving sum total.
    I've looked at using a variable to store the user selection at the dashboard prompt, but the 'In Between' dashboard prompt does not allow one to store a result in a variable.
    Any suggestions are welcome!
    Thanks!

    Hi Som,
    Thanks again for your feedback. I've thought about using dynamic repository variables, but found them not to be the answer. Although the moving sum would always be a 12 month total, the user needs to be able to vary the range of periods using the dashboard prompt. Today he might only want to look back 12 months, tomorrow he may need a 5 year overview. Using dynamic repository variables would mean I'd have to create variables for the entire history i.e. CM until CM - 240 (20 years * 12 months). If a user then would like to report on a specific period, he would need to pick the correct dynamic variables, which would not be user friendly/acceptable.
    I think I may need to resolve this problem in my datamart by calculating & storing a 12 month total (the only 'fixed' requirement of the report) in my fact table. This would also remove the need for the user to select 12 months more that he would see in his report (a drawback of my original scenario above).
    Thanks again for your input!
    Regards,
    Dutch

  • Newbie: How can I store a previous value??

    I am trying to figure out how to do the following:
    int xcoor=0, ycoor=0, hstep, vstep;
    while true do
    update_step(hstep, vstep); // essentially have a big while loop to generate the necessary hstep/vsteps
    xcoor = xcoor + hstep; // I need to add a new hstep to the xcoor
    ycoor = ycoor + vstep; // I need to add a new vstep to the ycoor
    updategraph(xcoor, ycoor); // and feed the updated xcoor/ycoor to an XYgraph
    I think I should use a Master/Slave design? but how do I keep the previous value the first time in the Slave and then add the new values to the stored value??
    Attachments:
    new_Block_Diagram.bmp ‏2137 KB
    new_Block_Diagram.jpg ‏174 KB

    You probably want to use a shift register.
    Right-click on the right edge of the loop. Select the "Add Shift Register" option.
    It will add a widget on both the right and left sides of the loop.
    An item wired to the right side will appear on the left side during the next pass through the loop. You can initialize the value by wiring an input to the left side widget.
    [email protected]

  • Matching user selection value with xml statements

    I'm fairly new to the Spry framework and I'm trying to
    accomplish a simple project with it and struggling. Can anyone give
    me some direction or suggest some samples to look at?
    I'm creating a survey and I've generated a radio button list
    that will appear with each statement in my xml. I could write a
    general javascript function that captures the value and totals it,
    but it is a little more complex than that and that's where I'm
    stuck.
    Each statement has a career type associated with it (which
    I've stuck in the code, but will hide it later). I want to get the
    value of the user's checked radio button and then add it to a
    variable based on the career type? How do I get that career type
    and associate it with the user's choice? Do I need to put a
    function in "onclick" and set it as the current row?
    my html:
    <head>
    <script type="text/javascript"
    src="assets/includes/xpath.js"></script>
    <script type="text/javascript"
    src="assets/includes/SpryData.js"></script>
    <script type="text/javascript">
    var jSurvey = new Spry.Data.XMLDataSet("survey1.xml",
    "survey");
    var jStatement = new Spry.Data.XMLDataSet("survey1.xml",
    "survey/question");
    function getValue(){
    </script>
    </head>
    <body>
    <p spry:region="jSurvey"
    class="header">{jSurvey::surveyTitle}</p>
    <form name="scale">
    <table>
    <tr>
    <th scope="col">Statements</th>
    </tr>
    <tr>
    <td><div spry:region="jStatement"><p
    spry:repeat="jStatement"
    class="{ds_EvenOddRow}">{jStatement::statement}<br
    /><br />
    <span class="">{jStatement::careerType}</span>
    <input type="radio" name="option_{ds_RowID}"
    id="{ds_RowID}" value="0" onclick=" " >Dislike</input>
    <input type="radio" name="option_{ds_RowID}"
    id="{ds_RowID}" value="1" onclick=" ">Uncertain</input>
    <input type="radio" name="option_{ds_RowID}"
    id="{ds_RowID}" value="2" onclick=" ">Like</input>
    <input type="radio" name="option_{ds_RowID}"
    id="{ds_RowID}" value="3" onclick=" ">Like Very
    Much</input></p></div>
    </td>
    </tr>
    </table>
    <input type="submit" />
    </form>
    </body>
    my xml:
    <survey>
    <question>
    <statement>Use dental instruments within patient's
    mouth.</statement>
    <careerType>Dental Hygienist</careerType>
    </question>
    </survey>
    Any direction or samples I should look at would help.
    thanks, Brandy

    Hi Brandy,
    I would try writing out my radios like this:
    <input type="radio" name="option_{ds_RowID}"
    id="{ds_RowID}" value="0"
    onclick="AddAnswer('{jStatement::careerType}', this.value); " />
    And then define a function that tracks the answers by career
    type:
    var answers = {}; //. Associative array that will track our
    answers by career type.
    function AddAnswer(careerType, value)
    answers[careerType] = value;
    By the way, I see you doing something like this:
    <input ...> ... </input>
    Input elements aren't supposed to contain anything. That's
    why in my example I used:
    <input ... />
    --== Kin ==--

  • Displaying user selected value during PFR() in th same page again.

    Hi,
    I have search/Results both in the same Page.
    Hence initially Results(Advance table will be empty).
    Once user provides search conditions and clicks 'Go'.I perform VO query which is associated with the Advanced Table.Hence Results get populated automatically in the table.
    I need to display one of the search condition values as the Advanced Table header.Ex :Currency chosen (USD,Euro,INR etc)
    My Issue is
    I receive input conditions in the PFR().
    Once I query the VO i assume that OAF invokes PR() for the page.
    How can I pass the Currency unit received in PFR() to PR() to programmetically edit the Header of Advanced Table.
    Thanks,
    Gowtam.

    Gowtam,
    Set the values which you want to show as header as parameters when you are in PFR handling the search Go button request. In PR make sure to set the set the text for the header bean dynamically at each execution. If you get the parameter values, set them as header text as required and in case the parameters are null i.e. when you come to page for the 1st time, put your default text or null as required.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • J9.03,InputSelectLOV :why the lov Jsp can't return the selected value?

    I puted a InputSelectLOV in my dataeditcompenents.jsp to display the lov Jsp,but when i selected a row,it didn't display the value i selected in my edit Jsp,how can i do?
    and can i return more values from lov to put in my editform?
    the following is my dataeditcompentents.jsp

    the following is my dataeditcompenents.jsp:
    <%@ page language="java" import = "oracle.jbo.html.*" %>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <%-- This JSP component build an edit form for a single record and
    generates an update submit event.
    It is called by the DataEdit tag --%>
    <%
    // Retrieve all request parameters using our routine to handle multipart encoding type
    RequestParameters params = HtmlServices.getRequestParameters(pageContext);
    String amId = params.getParameter("amId");
    String dsParam = params.getParameter("datasource");
    String formName = dsParam + "_form";
    String rowAction = "Current";
    String event = "Update";
    %>
    <%-- Restore the data binding to the datasource passed as parameter --%>
    <jbo:DataSourceRef id="dsEdit" reference="<%=dsParam%>" />
    <jbo:DataSource id="lov" appid="<%=amId%>" viewobject="View1" />
    <%-- Select the way to retrieve the row to edit based on the event --%>
    <jbo:OnEvent name="edit" datasource="dsEdit">
    <% rowAction = "Get"; %>
    </jbo:OnEvent>
    <jbo:OnEvent name="create" datasource="dsEdit">
    <% rowAction = "CreateOnly"; event = "Create"; %>
    </jbo:OnEvent>
    <%-- Build a form with an editable field for each of the attributes of the row --%>
    <form name="<%=formName%>" action="<%=params.getParameter("targetURL")%>" enctype="<%=params.getParameter("encType")%>" method="POST">
    <%-- Retrieve the row to edit --%>
    <jbo:Row id="rowEdit" datasource="dsEdit" rowkeyparam="jboRowKey" action="<%=rowAction%>">
    <table border="0">
    <%-- Iterate through all the Attribute of the row --%>
    <jbo:InputSelectLOV datasource="dsEdit" dataitem="RecieveId" displaydatasource="lov" displaydataitem="SysId,UserName" displayvaluedataitem="SysId" formname="<%=formName%>" lovurl="lovcomp.jsp" />
    <jbo:AttributeIterate id="def" datasource="dsEdit">
    <tr>
    <td title="<jbo:ShowHint hintname='TOOLTIP'></jbo:ShowHint>" align="right"><jbo:ShowHint hintname="LABEL"></jbo:ShowHint><%
    // Mark all the mandatory attributes with '*'
    if (def.isMandatory())
    %>*<%
    } %>
    </td>
    <td wrap="soft" title="<jbo:ShowHint hintname='TOOLTIP'></jbo:ShowHint>"><jbo:InputRender datasource="dsEdit" formname="<%=formName%>" />
    </td>
    </tr>
    </jbo:AttributeIterate>
    </table>
    <%-- Generate an "Update" event as part of the Form --%>
    <jbo:FormEvent event='<%=event%>' datasource='dsEdit' addrowkey='true' />
    </jbo:Row>
    <jbo:OnEvent name="create">
    <% rowEdit.remove(); %>
    </jbo:OnEvent>
    <%-- Pass along originURL request parameters using a hidden field--%>
    <input type="hidden" name="originURL" value="<%=params.getParameter("originURL")%>">
    <input type="submit" value="Update">
    <input type="reset" value="Reset">
    </form>
    <jbo:ReleasePageResources />

  • InfoPath will generate a new sequential value (Unique ID) based upon a user-selected value

    I am trying to create an Infotpath form that is submitted to SharePoint and I have it working but not the way I would like it to work. Any help with much needed detail would be greatly appreciated due to the fact I am still a "newbie".
    I have two fields one called Ref Number which is a read only text box to the users and another field called Own Info which is a Drop-Down list. Bascially I would like it to where when the user clicks the submit button the Ref Number will get incremented.
    I have the form incrementing with leading zeros but every time the submit button is clicked and I would like it to be determined by the Own Info and not like this : concat(Own_Info , "-", substring("000", 1, 4 - string-length(max(ID) +
    1)), max(ID) + 1).
    Example:
    1.Own Info: D652 Ref Number : D652-0001
    2.Own Info: D652 Ref Number: D652-0002
    3.Own Info: D653 Ref Number : D653-0001
    4.Own Info: D653 Ref Number : D653-0002
    5.Own Info: D652 Ref Number : D652-0003
    So the Ref Number increments based off of the Own Info which will be about 25 different options. Again any help with much needed detail would be greatly appreciated. Thanks in advance!!!! 

    I have also done something like this using a list for the next reference number:
    Set up a list with the Own Info number and Next Ref Number
    Populate the list with the possible Own Info Numbers and the next available ref number for each one
    Own Info | Next Ref Number
    D652      |    0004
    D653      |    0003
    Use a workflow when the submit button is clicked that looks up the Own Info number from your custom list and gets the next ref number that corresponds to it
    concatenate the two and use for the combined number
    use the same workflow to update the next ref number
    One thing to be wary of when you set something up like this, is that if the workflow will run often (the form is being used and submitted heavily) a race condition can exist where two workflows might try to update the same Own Info->Next Ref Number. This
    is probably not the solution to use if this is your scenario.
    Marlene Lanphier MCTS

Maybe you are looking for

  • How to denormalize my data properly?

    Hello, I have two tables like this with a one to many correspondence: CREATE TABLE word word_id int, the_word varchar CREATE TABLE word_validations validation_id int, word_id int, -- References the lexeme table user_id serial, -- References the user

  • 9.0.3 DB Navigator Issues on 3rd Party JDBC

    A new problem in 9.0.3: under System Navigator, Connections, Database Connections, we are no longer able to drill-down to schema objects (such as tables and views) for the 3rd party JDBC connection that we have been using successfully in 9.0.2. I hav

  • Need help : for changing the flv movie size

    i am loading my flv thogh xml link if load my flv the same size what i kept in my folder using script shall i change the movie size because lot of movies is loads dynmicaly i cannot go and change each and evry movie so some body can help me to change

  • Password Recovery SRW Switch problem - SRW224G4P

    Hi, i have a problem with an SRW224G4P. I have lost my admin password. And yes i have read the "Linksys SRW series Switch Password Recovery Procedure". My problem is that the message "Autoboot in 2 seconds - press RETURN or Esc. to abort and enter pr

  • Create new buttons for photos

    I'm wondering how I can create a button to link to photo page instead of multiple photo pages on the top nav. bar. I just want all albums on welcome page to link to photo page..How can I do that? Thanks!