473,811 Members | 2,190 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to loop in oracle forms

11 New Member
Hi,

Question..

What syntax can I use if I want to loop in oracle forms? My problem is I want to insert mulitple records in a multirecord block. This is what I did and it seems like its not working. Please help!
[PHP]PROCEDURE P_EDIT_PO IS
CURSOR c_edit_podetail IS
SELECT rpi.rec_no,
rpi.pack_ind,
rpi.comp_ind,
rpi.item,
rpi.item_parent ,
rpi.item_desc,
rpi.vpn,
rpi.dept,
rpi.class
FROM ros_poe_items rpi,
ros_poe_entry roe
WHERE rpi.order_no = :B_ros_poe_entr y.order_no
AND roe.order_no = rpi.order_no;
Go_Block('B_ros _poe_items');
Clear_Block(No_ Validate);
First_Record;
for REC in c_edit_podetail LOOP
fetch c_edit_podetail into :B_ros_poe_item s.rec_no,
:B_ros_poe_item s.pack_ind,
:B_ros_poe_item s.comp_ind,
:B_ros_poe_item s.item,
:B_ros_poe_item s.item_parent,
:B_ros_poe_item s.item_desc,
:B_Ros_poe_item s.vpn,
:B_ros_poe_item s.dept,
:B_ros_poe_item s.class;
Next_Record;
EXIT WHEN c_edit_podetail %NOTFOUND;
end LOOP;[/PHP]

Can anyone help me? this is really an urgent question.

thanks
Oct 12 '08 #1
1 10729
amitpatel66
2,367 Recognized Expert Top Contributor
You are trying to call another block after your select query. Could you please let us know what you are trying to do exactly?
Oct 18 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
4027
by: Kaix | last post by:
Hello, is there a possibility to control oracle forms form a external application. I like to push a value in a text field in a oracle forms app and "press" a button in this form. Maybe i can use OLE like EXTRA Attchmate. Thanks. Kai
1
8053
by: MEG | last post by:
Hi, I am trying to do some authentification in a form and have run into a problem. The user types the usename/password into a couple of fields and presses the login button. The button trigger PL/SQL looks like this : DECLARE uservar VARCHAR2(15) := '';
2
2984
by: Azhar Bilgrami | last post by:
Hi: I want to Migrate Oracle form 3 to Oracle forms 6i, but I couldnt find that software on Oracle Website, can u please Help me?. Take care of ure self. Azhar
1
3972
by: Chris | last post by:
Our company developed the last couple of years a development tool: using this tool we configure and program (using SQL, and Java-Script) very, very easy an application. The output of the effort is a state-of-the art n-tier, j2ee, pure-java/xml-Application - but without coding one single line java. And: the application looks really sexy. Some of the mentioned features are patented in US. Everything goes well, our customers loves this way of...
2
9431
by: Thomas Kindermann | last post by:
Hello everyone, I'm an oracle database adminstrator and I search some information about possibilities to create easy forms for data input (for example for test data). My Oracle release is now currently 9.2.0.5 Now i try use the Oracle Forms application. I try to install the version 'Forms 6i R2' on my client PC with Windows
1
2607
by: tristant | last post by:
Hi all I need to make decision on which development tool to use: Oracle Forms or Visual Studio .Net. We run Oracle 9i on AIX. And we will develope database application. If use .NET we will use win2003 as App server. Could any pls give me argument which tool is better ? Will there be any issues or problems I might faced if we standadised on .NET and Visual Studio as platform and development tool and Oracle/AIX as the database?
0
7093
by: anuj13singhal | last post by:
Hi, I am trying to open a word document on the client machine. the document is present on the oracle application server (on windows). For that I have created a java class file wordbean.class. (Source code below) package oracle.forms.demos.ole; import com.jacob.activeX.ActiveXComponent; import java.awt.Panel; import com.jacob.com.*;
5
4689
by: paulnamroud | last post by:
Hi all, We have an application written with Oracle Forms 5.0 and report builder 3.05. We are using Oracle 8i as a database. We have around 50 forms and 10 reports. I'm in a process of analysing and evaluating to upgrade/migrate or rewrite this application with a new tool in order to convert it on a web application. I have made few search and i found these 2 choices: - Migrate this application to Oracle Forms 9i or 10g Or,
1
3082
by: Samarjit | last post by:
Hi, I just want to know whether Oracle forms 11g supports other databases like DB2, SQL Server etc. Also does Oracle forms 11g supports Oracle database 9i or 10g apart from 11g?
0
9728
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10648
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10389
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10402
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10135
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9205
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7670
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5692
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4339
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.