Tuesday, January 18, 2022

How to Generate Serial Number in Oracle Forms?

 


Step 1:

First and foremost, develop a tabular form. EMP was developed by myself in this particular instance. Form a tabular table of contents.

How to Generate Serial Number in Oracle Forms?

Step 2:

Create a text field with the name Sno in the title.

How to Generate Serial Number in Oracle Forms?

Step 3:

Navigate to the property palette by selecting the SNO. F4 is the shortcut key for the property palette.

How to Generate Serial Number in Oracle Forms?

Step 4:

Scroll down or search Database item and set it to No.

How to Generate Serial Number in Oracle Forms?

Step 5:

Now we'll move on to the block level. Additionally, Create WHEN-CREATE-RECORD and POST-QUERY Triggers.

How to Generate Serial Number in Oracle Forms?

Step 6:

To use both triggers, you must copy and paste the same code.

:emp.sno := :system.trigger_record;

How to Generate Serial Number in Oracle Forms?

How to Generate Serial Number in Oracle Forms?

Output:

How to Generate Serial Number in Oracle Forms?

If you have any problem so download the file to click on "Download".

Download

 I hope it's helpful for you. If you have any queries, don't hesitate to contact me.

Name : Muhammad Sahal Qasim
E-mail : s.m.sahal789@gmail.com
Thank you.

0 comments:

Post a Comment

If you have any doubts, please let me know. I will help you.