i want run following code on button click of view. i am
trying to retrieve data from isc_order_details table and
isc_product table. but after retriaval of data i m getting
error like FIELD MUST BE ENTERED!!
DECLARE
m number;
n number;

CURSOR order_details IS
SELECT PRODUCT_ORDER_QUAN,PRODUCT_ID FROM
isc_order_details WHERE order_id=:isc_order_master.order_id;

amount NUMBER (8,2):=0.0;
alert number;

BEGIN
go_block('isc_order_details');

first_record;
m:=:system.cursor_record;
last_record;
n:=:system.cursor_record;
OPEN order_details;
--for i in m..n
loop

FETCH order_details
INTO :ISC_ORDER_DETAILS.PRODUCT_ORDER_QUAN,:ISC_ORDER_DETAIL
S.PRODUCT_ID;
IF order_details%FOUND THEN
SELECT order_value,order_date

INTO :ISC_ORDER_MASTER.ORDER_VALUE,:ISC_ORDER_MASTER.ORDER_D
ATE
FROM isc_order_master WHERE
order_id=:ISC_ORDER_MASTER.ORDER_ID;

SELECT product_desc,product_price
INTO :ISC_ORDER_DETAILS.PRODUCT_DESC,:ISC_ORDER_DETAILS.PROD
UCT_PRICE
FROM isc_product WHERE
product_id=:ISC_ORDER_DETAILS.PRODUCT_ID;
next_record;

END IF;
EXIT WHEN order_details%NOTFOUND;

END LOOP;
last_record;
CLOSE order_details;

EXCEPTION
when NO_DATA_FOUND then
alert:=SHOW_ALERT('ENTER_DATA');
Go_Item('isc_order_master.order_id');
END;


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Programming Code AllOther Interview Questions

How can we write an algorithm for show max and min from two integer inputs ? without using if() , without any functions ...

1 Answers  


what full form name of B.K.U.

0 Answers  


import java.awt.*; import java.awt.event.*; public class Agency extends Frame implements ActionListener { Label l1,l2,l3,l4; Button b1; TextField t1,t2; String s1,s2,s3,s4; public static void main(String args[]) { new Agency().setVisible(true); } public Agency() { super("Gas Agency Package"); setSize(1280,800); setBackground(Color.lightGray); setLayout(null); // setLayout(new BorderLayout()); t1=new TextField(20); t1.setBounds(440,150,200,30); t1.setBackground(Color.white); t2=new TextField(20); t2.setBounds(440,180,200,30); t2.setBackground(Color.white); t2.setEchoChar('*'); l1=new Label("Gas Agency Package"); l1.setBounds(400,30,300,50); l1.setFont(new Font("TimesRoman",Font.BOLD,25)); l1.setAlignment(Label.CENTER); l2=new Label("Enter your ID and Passoword"); l2.setFont(new Font("TimesRoman",Font.BOLD,20)); l2.setBounds(270,80,300,50); l3=new Label("Enter ID"); l2.setFont(new Font ("TimesRoman",Font.BOLD,20)); l3.setBounds(270,150,120,50); l4=new Label("Enter Passoword"); l2.setFont(new Font ("TimesRoman",Font.BOLD,20)); l4.setBounds(270,180,140,50); add(l1); add(l2); add(l3); add(t1); add(l4); add(t2); b1=new Button("Login"); b1.setBackground(Color.white); b1.setBounds(400,280,100,70); b1.addActionListener(this); add(b1); } public void actionPerformed(ActionEvent e) { if(e.getSource()==b1) { s3="svce"; s4="svce"; s1=t1.getText(); s2=t2.getText(); if(s1.equals(s3) && s2.equals(s4)) { //System.out.println("password is correct"); MenuForm m= new MenuForm(); m.setVisible(true); //this.dispose(); } else { System.out.println("password not correct"); } this.dispose(); } } } plzzzzzzz xplain me this java code like why i m including this packages n the whole code plzzzzzz

0 Answers  


Write a program that will convert an integer pointer to an integer and vice-versa.

0 Answers  


plzzzzzzzzz xplain this code import java.awt.*; import java.awt.event.*; public class Link extends Frame implements ActionListener { Label l1; Button b1; public static void main(String sr[]) { new Link().setVisible(true); } public Link() { super("Warning"); setSize(500,500); setBackground(Color.lightGray); setLayout(null); l1=new Label("There is no Link"); l1.setBounds(0,0,500,460); l1.setFont(new Font("TimesRoman",Font.BOLD,35)); l1.setAlignment(Label.CENTER); add(l1); b1=new Button("QUIT"); b1.setBackground(Color.orange); b1.setBounds(0,460,500,40); b1.addActionListener(this); add(b1); } public void actionPerformed(ActionEvent e) { this.dispose(); } }

0 Answers  


Hello, Can anyone tell me the source code for FLAMES game in Control Language Programming(CLP)of AS/400.

1 Answers  


how to test the orientation of the layout in android.to note any changes in the ui design when change orientation

0 Answers  


What is the coding about how to recognize color in fuzzy logic using Matlab R2009b?

0 Answers  


In LSMW , what does the following error mean and how to rectify it : Incorrect interface data for set 78 in method C . This error is occuring in idoc processing step of LSMW.

0 Answers   Wipro,


You have been asked to install a servlet engine (tomcat, glassfish, etc.) for a companies servlets. Assuming the company has an existing web/DBMS server (which may or may not be on the same server), explain in detail how would you implement the development project and a deployment solution.

0 Answers  


i am doing my final year project about programming use verilog ,i am new about it so got problem,i want to record the readings of a waveform every 2us use the verilog code ,every ten readings i need to add them together after that i need to compare this series of number to get which one is the biggest , right now i don't know how to use code to store the readings every 2us on a waveform ,pls help me thanks a lot .

0 Answers  


Find out the list of roles which gives access to all t-codes in SAP? Thanks in advance.

0 Answers  


Categories