Put a unique number on each form is submitted

My Department is new to Live Cycle Designer.  We created a PDF using LCD ES form that is used to approve the purchase of certain types of equipment.  I was prompted to change to include a unique identification number, and I need advice on where to start.

The user goes on the web opens the PDF homologation form, fills out and clicks a button to send (on the form) that fits over the filled PDF an email that is sent to our office.  Once the form comes to us, it must be distributed to the other 4 or 5 oversight offices, and we want to identify each shape with a unique number, so we can monitor his progress.

So what I was asked to do is to find a way to put a unique number generated automatically on the form at one point before it is emailed to us.  The number may have a number any numbers or characters (for as long as it is readable by humans) and does not need to be sequential.  I think a 5 or 6 digit would be good.

I thought that the right approach would be to create a small Access database to generate/store identification numbers and then get the form of capture/read a new number every time that you click the submit button.  While I can connect to my database of test very well, what I do understand not how to execute SQL of LCD, or how to do it after the events, as when the form is opened or when the user clicks the submit button.  I didn't see any chance of finding similar good one so far.

Is this the right way to go, or is there a better way to do it in LCD?

Thanks for your time,

-Max

I created an example showing the various options that are available. Note that if you connect an external source such as a database and your users use player then you have to drive to extend the form using LiveCycle to allow this.

The file that I was talking about is attached. If you need the process and controls for the DB I mention just ask and I'll post those as well. You will need LiveCycle server for this part.

Paul

Tags: Adobe LiveCycle

Similar Questions

  • Unique number for each line of output

    Hi experts,

    I want a column that gives unique number in output.l can use rownum but the problem here is that I have two statements select with 'union' is not giving unique number. I am also a groupby clause.


    I tried with row_number() also same results.

    any help...

    Thank you
    KSS

    Hello

    Example usage of PEM:

    SQL> select rownum, deptno, sal
      from (  select deptno, max(sal) sal
                from emp
            group by deptno
              having count( * ) > 2
            union
            select deptno, sal
              from emp
             where hiredate = (select min(hiredate) from emp))
    
        ROWNUM     DEPTNO        SAL
    ---------- ---------- ----------
             1         10       5000
             2         20        800
             3         20       3000
             4         30       1600
    
    4 rows selected.
    

    Concerning
    Peter

    Edited by: Peteron August 12, 2009 12:15 AM
    -Dang, end again

  • Automatically generated Unique number

    Hello

    I would like to have some sort of function on my document that creates a unique number for each submitted form.

    The form is both submitted by .xml and .pdf.

    is it possible to do something like that?

    See you soon,.

    Wes

    Hi Wes,

    I don't know how good you are with script/Javascript, but also I have such a function, you may have different ideas 2 based on what you want to do:

    1. you can have a string generator that could be based on information inserted in certain areas of the user.

    for example: you can use the substring function to get some partial information from different fields of the form and concatenate together to create a unique "ID" of the form.

    Unfortunately, this could have IDS that might be the same if a form is filled with more than once by a user, and or (rare) some information could be almost equal to the others...

    2. There is the option which can use the date and time of the form when it is submitted. Using this method is almost perfect never have the same unique ID 2. You can also use a random string generator to concatenate the time with her.

    The best option you have is to have all of the answers above. Unique ID would start with partial information in the form + date/time of the form provided or vice versa.

    If you want more of these 3 options above, you can also add a random string generator in the process. Here is a help for the random string generator, you can modify it as you wish...

    random password generator?

    Mag

  • NI-VISA takes a unique I.D. number for each USB device?

    Hi all

    I'm relatively new to LabVIEW and VISA Toolbox.

    When you communicate with LabVIEW and a USB via VISA, VISA shoots a D.I. unique number for the USB device for each connection established?

    I have reference: http://www.ni.com/white-paper/4713/en

    Kind regards

    Bryan

    Bryan,

    I don't understand what you're saying, so let me rephrase my answer and see that if this may help you - IF your device properly implements the USB standard and has a serial number, VISA uses this serial number.  If your device does not implement the USB standard correctly or if it does not have a serial number, VISA will do for you.

    If your device has a serial number, the VISA can be used to communicate with it.  There are routines that detect and identify VISA devices connected to your PC.

    JasonP

  • need to generate unique sequence for each transaction number

    need to generate unique sequence for each transaction number

    Use sometihng like that



    use the orcl: sequence-next function val

  • number for each record that is extracted (query)

    Hello
    I want to what a number for each record that is retrieved from the recording which was released by this query

    For example
    For the first line/recored
    Number generated, ksnumber, date
    1, gg111 11/05/05
    2, oo235 06/12/05

    the query returned 2 records 1 and 2 are the number generated by this code.
    In addition if it is built in function, where in the code can I put it?


    < cfquery = name "gelov datasource ="kl90">"
    SELECT
    -------------------------------------------

    Of
    --------------------------------
    WHERE
    -----------------------------------------
    -----------------------------------------------------

    ORDER BY
    < cfswitch expression = "#Form.orderBy #" >
    < cfks value = "KSNUMBER" >
    KS. KS_NBR
    < / cfks >
    < cfks value = "DATECREATED" >
    KS. KREATDAT
    < / cfks >
    < / cfswitch >
    < / cfquery >

    <! - report html - >
    < cfswitch expression = "#Form.outputFormat #" >
    < cfks value = "HTML" >

    <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
    "< html xmlns =" http://www.w3.org/1999/xhtml "> "
    < head >
    < meta http-equiv = "Content-Type" content = text/html"; charset = iso-8859-1 "/ >"
    Report Kss Ctwye < title > < / title >
    < / head >
    < style type = "text/css" >
    table {}
    do-family: Arial, Helvetica, without serif.
    do-size: 10px;
    }
    TD {}
    do-family: Arial, Helvetica, without serif.
    do-size: 10px;
    }
    Th {}
    do-family: Arial, Helvetica, without serif.
    do-size: 10px;
    }
    H2 {}
    do-family: Arial, Helvetica, without serif.
    do-size: 12px;
    }
    H3 {}
    do-family: Arial, Helvetica, without serif.
    font-size: 13px;
    }
    < / style >

    < body >
    < cfoutput >
    < table border = "0" cellpadding = "3" cellspacing = "0" >
    < b >

    < td align = "center" >
    Kss Ctwye report < h3 > < / h3 > < br > < br > < table >
    < /tr >
    < b >
    < td align = "center" >
    < / h2 > report returned #getCtwyeKss.RecordCount # entries < / h2 > < table >
    < /tr >
    < b >
    < td >
    < table border = "1" cellpadding = "2" cellspacing = "0" >
    < b >

    < td width = "160" > Ks number < table >
    Date of creation of the < td > < table >
    <!-< class = 'dataField' td > address < table >
    < class td 'dataField' = > Type < table >
    < class td 'dataField' = >-> Description < table >
    < /tr >

    < cfloop query = "getCtwyeKss" >


    < tr bgcolor = "< cfif currentrow mod 2 > F8F8FF < cfelse > WHITE < / cfif >" >
    < td > #KS_NBR # < table >
    < td > #dateformat(KREATDAT,"mm/dd/yyyy") # < table >


    < /tr >
    < / cfloop >

    < /table >
    < table >
    < /tr >
    < /table >

    < / BODY >
    < / HTML >
    < / cfoutput >
    < / cfks >

    < cfks value = "CSV" >


    < NAME CFHEADER = "Content-Disposition" VALUE = "attachment; filename = ctwye.csv">
    < cfcontent type = "application/msexcel" > "Ks number", "Date of creation".
    < cfoutput query = "getCtwyeKss" > #ltrim (KS_NBR) #, "#dateformat(KREATDAT,"mm/dd/yyyy")" # "< tr #IIF (getCtwyeKss.CurrentRow MOD 2, OF (»), DE('backgroundColor="##999"')) # >"



    <!-< tr bgcolor = "< cfif currentrow mod 2 > # 808080 < cfelse > ##ffffff < / cfif >" >-->
    < / cfoutput >


    < / cfks >
    < / cfswitch >


    is not a Coldfusion tag. Use instead.

    The following code prints line numbers


    Select ksnumber, date
    from yourTable


    #currentrow #, #ksnumber #, #date #.

  • Assign the different number to each different group of lines

    Hello
    I have a simple request, but I can't find any solution.

    I would attribute the different sequence number to each different group of my results.

    My goal is the following:

    http://img10.imageshack.us/img10/51/obieeseqnumbertogroup.jpg

    I tried RCOMPTE, C.V. etc... but without success...

    Can you help me with this?

    Hello

    You can try the steps below to get what you are looking for:

    -Assuming that your criteria has these columns date, the worker and the group. Create another column with fx as rcount (group) and apply the sort on the column group in the application type tab is necessary to generate counts of sequence based on the criteria group.
    -Then apply different conditional formatting on this new column.
    -Now in the pivot put this new column in the measure, the worker column into rows and columns date column. You should get an output according to the image displayed by you earlier.
    -If you must also sort either worker or date column, do it in pivot view, not in the criteria tab.

    I hope this helps!

    Thank you

  • How to display the line number in the form?

    Hi guys,.
    First I fll you in the story so far...

    I have a block of data in database named: V_PAYUPLOADHEADER_HP, in the property palette I put in order by facility and warehouse.

    I want to display the line number for each record of recoveries, so I do: V_PAYUPLOADHEADER_HP. NUMB, which will contain the line number.


    Here are some methods I've already tried:
    -First I tried to make a database of field element = O, column name = ROWNUM.
    The result is the jump of integer (1, 2, 5, 3, 4 etc. instead of 1, 2, 3, 4, 5) I think it is because of the agenda that I set.
    I have to keep this order by setting, so I look for another way to display the rownum.

    -Then I tried to set the data item = N, column name = null, mode of calculation = formula, formula =: system.trigger_record.
    When I run the value of: V_PAYUPLOADHEADER_HP. NUMB is 1. For all recovered records is 1, 1, 1, 1 instead of 1, 2, 3, 4.

    -J' also tried to use the trigger after QUERY attached to the block.
    In relaxation, I have this code:
    : V_PAYUPLOADHEADER_HP. NUMB: =: system.cursor_record;
    When I run the value of: V_PAYUPLOADHEADER_HP. NUMB is 1. For all recovered records is 1, 1, 1, 1 instead of 1, 2, 3, 4...



    Is there something I missed?
    What can I do to display the rownum?

    Hello
    Maintain this point NON-base of DATA and create a trigger on the block called after REQUEST level and use the code below...

    :FIELD_NAME:=:SYSTEM.TRIGGER_RECORD;
    

    -Clément

  • is there any function in the osb to generate a unique number in proxy

    is there any function in the osb to generate a unique number in proxy

    FN - bea: uuid()

    The function fn - bea: uuid() returns a universal unique identifier. The function has the following signature:

    FN - bea: uuid() as XS: String

    You can use this function in the pipeline of proxy to generate a unique identifier. You can insert the unique identifier that is generated in an XML document in the form of element. You are unable to generate a unique identifier to the system variable. You can use this to edit a message payload.

    For example, suppose you want to generate a unique identifier to add it to a message for follow-up purposes. You can use this function to generate a unique identifier. The function returns a string that you can add it to the SOAP header.

  • Generator of sequence numbers for any number of PDF forms

    Hello

    With the help of this forum, I now have a simple Workbench process that acts as a Web service to generate a sequence number.

    When it is called by a PDF form it reads a value in a database, increment the value and then reads the db to return the value incremented to the form.

    It works fine, but now I need something else: I have about 60 forms and each will have its own sequence.

    The way I see what I have to do is:

    -include a new column in the db table to store the IDs forms (I already did).

    -modify the SQL statements to include the number of Ref form as a parameter of a WHERE clause (I already did).

    and...

    -Send the Ref form number from the PDF file during the call to the web service. = > I have not yet figured out how do.

    -receive this Ref number in the workbench to use as a parameter in the WHERE clause.

    Please could someone help me out here?   Or point to a few examples online that I could use as a guide?

    Will I receive the news of the PDF in the form of XML file and extract the info from its structure?

    Thanks much for the advice.

    Marcos

    Hello

    Any variables created within a process are accessible by all of the finding.

    You don't need to associate the value through the extra activity.

    for example you can directly use the value of the variable in the SQL activity to increment & get the next number in the sequence.

    Note that you must not even two activities SQL to do. A single SQL activity can execute multiple SQL queries.

    Hope that helps.

    Nith

  • How can I put an internal link in my form (e.g. click on goto page 3)

    How can I put an internal link in my form.  I would like to add a button to my form (or image) that when you click on will take the user to a specific page in my form.

    To access a specific page, you can use

    xfa.host.currentPage = '3 '.

    Remember that the page numbering starts at 0 not 1.

    If number 3 will take you to page 4 for example.

  • Hi all, I have an iMac (21.5 inch, mid 2011) with 4 memory slots, 2 has 2 GB each, is it OK to put a 4 GB in each of the empty slots or should I buy 4 new 4 GB and replace all, Sebastian Cheers

    Hi all, I have an iMac (21.5 inch, mid 2011) with 4 memory slots, 2 have a 2 GB each, is it OK to put a 4 GB in each of the empty slots or should I buy 4 new 4 GB and replace all, Sebastian Cheers

    You can put 2 x 4 GB DIMMS in the empty slots, this will give you a total of 12 GB. iMacs are very sensitive to the RAM, it is best to buy RAM from reliable sources like Crucial (direct purchase) or OWC OWC RAM

  • whenever I put my serial number it says unable to validate

    I bought the adobe lightroom product 6 and they even charged my credit card, but every time I put the serial number it says unable to validate. HELP PLZ

    Check your hosts file.

    help for that and other adobe.com sure common connection problems read, http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html

  • I tried to install from a cd lightroom 6 on my mac. I put the serial number, but a disclaymer says that it can not be activated

    I tried to install from a cd lightroom 6 on my mac. I put the serial number, but a disclaymer says that it can not be activated

    What is the full message, you see that you call 'a disclaymer '.

  • Adobe cs5 Animation download Cant put the serial number!

    I CAN'T PUT IT IN!

    Ive tried countless times to try to put the serial number in the thing where it says it will and it worked the first time, but then we restarted the computer and it said we were on the 30 day trial thing, so we put the number even once and nothing happened! Help, please!

    I repeat... EXACTLY which version of the operating system?

    If Mac 10.11.5 I read several reports of problems, especially with older programs

    Invalid License http://helpx.adobe.com/creative-suite/kb/error-serial-number-valid-product.html

    - and more help in http://helpx.adobe.com/creative-suite/kb/invalid-serial-number-cs4.html

Maybe you are looking for

  • iTunes... Please help

    Hi I realize that this could its crazy but I tried everything read and I'm not the wisest.  Since the latest updates to my iPhone and iPad iTunes has disappeared!   I don't have iTunes Store and there is a new icon that Said just music.  All my music

  • Update 10.2.1 IMOVIE crashes just

    IMOVIE 10.2.1 update crashes when exporting media in the timeline, what gives? Anyone else have problems?

  • Qosmio F20 with Vista: display is not wake up from sleep/standby

    I hope someone can stop pulling my hair out - please!I have a Qosmio f20-136 that I upgraded to 2 GB of RAM. I managed to install Ultimate Visa on what actually works very well. I get a score of 3.4 Visa which means Aero works very well. The lowest s

  • can not download framework 3.5 vnet

    Download of updates

  • Wassword BIOS for CQ57-313SZ

    I need the password BIOS Adminsitration or power on password for my Compaq Presario CQ57 313SZ After three times, the system is disabled (69859603)... All the figures here are worng. Who can help me? Thank you very much!! I hope!!