How can i generate sequence numbers to my detailed block in Oracle Forms 9i

Hi all,
i have a detail block.
in that block sno (serial no) (multi row column)is one column.
What i want is when i enter into that block sno should generate automatically....like..
1 for first record
2 for second record..
i need the code for this can anybode help me.
Venkat.

Hello,
You could use the current record number in a When-Create-Record trigger:
If :block.sequence IS NULL Then
   :block.sequence := Get_Block_Property( 'block', CURRENT_RECORD ) ;
End if ;Francois

Similar Messages

  • How to auto-generate a "empno" field at run time in oracle forms 6i

    Hello!
    I have connected to a SCOTT schema. And i am using emp table. At run time mode when i press F8 then the data is displayed in the fields.
    My task is to generate auto "empno" as soon as i run the form. Kindly do the needful.
    Thanks in advance

    Hi Francios,
    I think with your solution our user only able to see the current information in the form.I donot think it will auto generate the empno.
    Dear user,
    I suggest what you can do is to create one sequence in your database and use it to generate automatic
    empno.
    In post query trigger try to implement the idea.
    Suppose in the name of the sequence is empno_seq.
    if emp.empno is null then
    :emp.empno := empno_seq+1;
    end if;
    Try i hope it will work
    Regards
    Rajat

  • How can I Generate two different reports from single execution of Test cases in NI teststand

    Hi,
    My requirement is to generate two different reports from NI teststand. One for the Logging of error descriptions and the other report is by default generated by the Teststand. How can i generate a txt file that contains error descriptions other than that mentioned in the default report?
    Solved!
    Go to Solution.

    Do you need to do that just for these two sequences but not for other sequences? I don't see a problem to use SequenceFilePostStepRuntimeError. Create this callback in both sequence files and configure them to log into the same file. SequenceFilePostStepRuntimeError callback is called after each step of the sequence file if it has runtime error. You can access the calling step error information via RunState.Caller.Step.Result.Error property. Take a look to attached example.
    The "other way" is useful if you need to log errors not for every step of the sequence file, but for some of them. This is more complex, because you need to create a custom step types for these steps. For the custom step you can create substeps (post-step in your case) which will be executed every time after step of this type executed. Then, this is you job to determine if error happened in the step, acces to step's error information is via Step.Result.Error property. 
    Also, be aware that step's post-expression is not executed in case of error in the step.
    Sergey Kolbunov
    CLA, CTD
    Attachments:
    SequenceFilePostStepRuntimeError_Demo.seq ‏7 KB

  • I have a new iPad with wifi. When I send messages I can see my sons and my husbands but not my phone number.  We all have an iPad and all use the same apple ID as iPad the bill.  How can I remove their numbers and add mine?

    I have a new iPad with wifi. When I send messages I can see my sons and my husbands but not my phone number.  We all have an iPad and all use the same apple ID as iPad the bill.  How can I remove their numbers and add mine?

    Add another e-mail account to your messages, so people could reach you on that e-mail from messages. As soon as you are online (if you have wifi only iPad) you are able to send and receive messages. i.e. your son can send you a messages from his iPhone addressing it to your (that additional) e-mail address.

  • How can I generate SSL Keys from a Oracle 9iAS server version 1.0.2.2.0

    How can I generate SSL Keys for use on Oracle 9iAS server
    version 1.0.2.2.0. I have tried using the open_ssl method but
    was unsuccessful.

    <?xml version="1.0" encoding="UTF-8" ?>
    <nodes>
    <node>
    <category_id>3</category_id>
    <parent_id>2</parent_id>
    <name>Mobile</name>
    <is_active>1</is_active>
    <position>1</position>
    <level>2</level>
    <children>
    <node name="Nokia" category_id="6" parent_id="3" is_active="1" position="1" level="3">
    <node name="Nokia N79" category_id="7" parent_id="3" is_active="1" position="2" level="3" />
    <node name="Nokia N95" category_id="7" parent_id="3" is_active="1" position="2" level="3" />
    <node name="Nokia N97" category_id="7" parent_id="3" is_active="1" position="2" level="3" />
    </node>
    <node name="Samsung" category_id="7" parent_id="3" is_active="1" position="2" level="3">
    </node>
    </children>
    </node>
    <node>
    <category_id>4</category_id>
    <parent_id>2</parent_id>
    <name>Laptop</name>
    <is_active>1</is_active>
    <position>2</position>
    <level>2</level>
    <children></children>
    </node>
    <node>
    <category_id>5</category_id>
    <parent_id>2</parent_id>
    <name>Monitor</name>
    <is_active>1</is_active>
    <position>3</position>
    <level>2</level>
    <children></children>
    </node>
    <node>
    <category_id>8</category_id>
    <parent_id>2</parent_id>
    <name>Camera</name>
    <is_active>1</is_active>
    <position>4</position>
    <level>2</level>
    <children></children>
    </node>
    </nodes>
    Is this correct format to create dynamic menu?

  • How can I get serial numbers or the free versions of Adobe, Air, Flash Player 14, and Reader XI Pro

    How can I get serial numbers or the free versions of Adobe, Air, Flash Player 14, and Reader XI Pro that I had installed on my computer before Microsoft crashed my computer and I had to do a fresh install? I finished reinstalling Win 8.1Pro on my computer thanks to Microsoft Lvl 1 Techies corrupting my Command Structure so nothing would work. I had recently taken a picture of my installed programs (control panel, uninstall programs list) so that I would be able to reinstall everything I needed. I can't seem to find an email for the Reader which I remember paying for, the others I believe were free installs. Can anyone help me out.

    Safari Version 5.0.5  <  from your first post
    5.0.5 is an outdated version of Safari.
    There is an update available for Safari for version 5.1.1
    That may help.
    Click your Apple menu icon top left in your screen the click Software Update
    Restart your Mac after the updates are installed.
    Try full screen ...
    If you have problems using Software Update from the menu you can use the standalone installer here >  Safari 5.1.1

  • How can we generate the reports in html or text file formats?

    Hi,
    Is there any package that can help in creating HTMLDB reports in .txt files or .html files? (Similar to TEXT_IO in Oracle Forms)
    How can we generate the reports in html or text file formats from HTMLDB?
    Thanks in Advance
    Renjith

    Hello all.
    Bi Publisher is great, but has a very high price tag. It's even more expensive than Forms & Reports Services. We are considering APEX to replace Forms & Reports on the web, but the reporting limitations are still a problem.
    I wonder if there is another option.
    Thanks

  • How can we generate the report of backup,tablesapcefrom OEM / RMAN

    How can we generate the report of backup status,tablesapce(usedf,free space) for all the databases from OEM / RMAN
    1.)we need generate the report of tablespace used,free, archive...
    2.)How can we generate the Backup status report also

    user13584223 wrote:
    How can we generate the report of backup status,tablesapce(usedf,free space) for all the databases from OEM / RMAN
    1.)we need generate the report of tablespace used,free, archive...There are DBA_* views that expose the necessary information. They are documented in the Reference Manual.
    2.)How can we generate the Backup status report alsoThere are rman commands that give that. They are documented in the Backup and Recovery User's Guide.
    =================================================
    Learning how to look things up in the documentation is time well spent investing in your career. To that end, you should drop everything else you are doing and do the following:
    Go to [url tahiti.oracle.com]tahiti.oracle.com.
    Locate the link for your Oracle product and version, and click on it.
    You are now at the entire documentation set for your selected Oracle product and version.
    <b><i><u>BOOKMARK THAT LOCATION</u></i></b>
    Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab (for 10.x) or the "Master Book List" link (for 11.x) you will find the complete documentation library.
    Spend a few minutes just getting familiar with what <b><i><u>kind</u></i></b> of documentation is available there by simply browsing the titles under the "Books" tab.
    Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what <b><i><u>kind</u></i></b> of information is available there.
    Do the same with the SQL Reference Manual.
    Do the same with the Utilities manual.
    You don't have to read the above in depth. They are <b><i><u>reference</b></i></u> manuals. Just get familiar with <b><i><u>what</b></i></u> is there to <b><i><u>be</b></i></u> referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
    Then set yourself a plan to dig deeper.
    - Read a chapter a day from the Concepts Manual.
    - Take a look in your alert log. One of the first things listed at startup is the initialization parms with non-default values. Read up on each one of them (listed in your alert log) in the Reference Manual.
    - Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
    - When you have finished reading the Concepts Manual, do it again.
    Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.
    =================================

  • How can I generate a table of contents from bookmarks

    How can I generate a Table of Contents from bookmarks in Adobe Acrobat XI?

    Something to try.
    Rick Bostein  provided a "Create Bookmark Report" Acrobat Action.
    With this report as a PDF you could insert it at the start of your PDF document to serve as a "TOC". 
    Go here:
    https://acrobatusers.com/actions-exchange 
    Scroll down some.
    Be well...

  • I am trying to fill in a form in adobe exportpdf. How can I fill in numbers and symbols? Parenthesis, dollar sign etc.

    I am trying to fill in a form in adobe exportpdf. How can I fill in numbers and symbols? Parenthesis, dollar sign etc.

    Hi;
    Can you provide a little more detail, maybe a screenshot?  ExportPDF only converts PDFs to other file types, what exactly are you using to try to fill out the form?  The two Adobe form filling tools I would recommend would be:
    1) Adobe Reader - a free download you can install on your computer and can be used to fill out most any form.  For numbers, symbols etc it can depend on the field you are entering data into, some fields have restrictions, but you would use those keys on your keyboard, if nothing is entered then that field probably has restrictions.
    2) Adobe Fill & Sign: https://cloud.acrobat.com/fillsign - using the Fill & Sign tab on the acrobat.com website you can fill out most PDFs.  To enter numbers, symbols, etc you would simply add them using your keyboard.
    Thanks,
    Josh

  • How can I generate javadoc in PDF format?

    Hi,
    How can I generate javadoc in PDF format?
    Thanks,
    Fayezin

    HTML to PDF with Java, using OpenOffice.org - example here: [http://www.dancrintea.ro/html-to-pdf/|http://www.dancrintea.ro/html-to-pdf/]
    You can use OpenOffice.org, running as a server and command it remotely for document convertion.
    Besides HTML to PDF, there are also possible other convertions:
    doc --> pdf, html, txt, rtf
    xls --> pdf, html, csv
    ppt --> pdf, swf
    Code example:
    import officetools.OfficeFile; // this is my tools package
    FileInputStream fis = new FileInputStream(new File("c:/test.html"));
    FileOutputStream fos = new FileOutputStream(new File("c:/test.pdf"));
    // suppose OpenOffice.org runs on localhost, port 8100
    OfficeFile f = new OfficeFile(fis,"localhost","8100", true);
    f.convert(fos,"pdf");
    -----------------------------------------------------------------------------------------------------------------------------------------

  • How can I lock in numbers for use in a spreadsheet ap?

    How can I lock in numbers on my Ipad for use in a spreadsheet?

    There is a forum that deals exclusively with "Numbers" discussions:
    https://discussions.apple.com/community/iwork/numbers?view=discussions

  • How can I format my Numbers spreadsheet into a PDF file

    How can I change my Numbers spreadsheet into  a PDF format so that people to whom I send it can open it on their PC?

    You can also "share" via iCloud.
    The recipient can view it (and edit it, unless you specify read only) using a modern browser on a Mac or PC. The recipient does not need to have an iCloud account..
    SG

  • How can we generate result set report?

    how can we generate result set report ?means the out put of one query be the input of another query?how it is?

    Hi
    You have to use APD ( analysis process designer) to use results of one query as the input for the other queries.
    Check this link
    http://help.sap.com/saphelp_nw70/helpdata/en/49/7e960481916448b20134d471d36a6b/frameset.htm
    Regards

  • How can we generate a usage report

    Hi Friends,
    As my application is going to live, for that i want to usage report.
    how can we generate a usage reopts ?
    Thanks in advance

    Hi,
    Take a look at Usage Tracking; http://apex.oracle.com/pls/apex/f?p=44785:24:370475959673014::NO:24:P24_CONTENT_ID,P24_PREV_PAGE:4152,2
    Good Luck,
    Daan Bakboord
    http://obibb.wordpress.com

Maybe you are looking for

  • How to replace numbers with text in tax return pdf using Adobe Acrobat X Pro

    How do I replace numbers with text in tax return pdf using Adobe Acrobat X Pro? The tax return was created using CCH software. Thanks for your review.

  • Business systems defined in SLD not visible in Integration Directory.

    Hi, After having finished with the SLD configuration involving defining the product, software component, TS and BS. Then I imported in the Integration Repository from SLD and then defined message interfaces, types etc. After that, in Integration Dire

  • Get Query value Technical Name

    Hi, I have ZANALYSIS template and different queries use this template, I have to show a link to download a document. The document will be stored as Query Techincal Name.DOC. So i need to get QUERY techincal name in runtime to build path, how can i ge

  • TableView FXML problems

    Hello, I'm currently trying to learn some FXML and have at least 4 problems with the TableView component: 1) TableView shows some strange behavior after maximizing the window: https://dl.dropbox.com/u/1030857/maximized.PNG and minimizing it afterward

  • [SOLVED] ADF BC - Substitution

    Hi, I'd like to implement substitution between Application Modules. I have one Workspace containing one project from which I generate a jar containing the base AM. I have one other completely different Workspace and Project in which I have one AM tha