Greetings,
I have a form that, when submitted, calls a plsql procedure. The form
has a number of fields (text, hidden, select, radio) but the
particular field that is giving me problems is a <selectwhich allows
multiple selection. When I receive the form values in my procedure I
getting only the first value of those that are selected. For example
if I select 1000, 1100, 1200, 1300 in the list I only get 1000 in my
procedure. If I send the form to a ColdFusion template that dumps the
contents of the form fields I get
org_list_pick=" 1000,1100,1200, 1300"
but when I get the contents of the form fields in the plsql procedure
I only see the 1000.
My procedure is defined as:
PROCEDURE eadoc_setup (searchwhat IN VARCHAR2 DEFAULT 'emp',
report_emp IN VARCHAR2 DEFAULT NULL,
orgqry IN VARCHAR2 DEFAULT NULL,
report_org_id IN VARCHAR2 DEFAULT NULL,
org_code_pick in varchar2 default null,
ckmatrix IN VARCHAR2 DEFAULT 'no',
report_code IN VARCHAR2 DEFAULT NULL,
report_code_lis t IN VARCHAR2 DEFAULT NULL,
listqry in varchar2 default null,
org_code_list in varchar2 default null,
startdate IN VARCHAR2 DEFAULT '01/01/1950',
orderby IN VARCHAR2 DEFAULT 'org' ,
searchtype IN VARCHAR2 DEFAULT 'simple') IS
org_code_pick is the variable that is causing me the problems.
We are using OAS on an HPUX box. I'm not sure of the version of OAS.
Our database is 8.1.7.
I have tried submitting the form with both get and post with the same
results. This is actually the first time I have tried parsing a
select statement with "MULTIPLE" using pl/sql, however I have been
parsing forms with pl/sql for several years.
What am I doing wrong?
TIA,
Rick. 1 3388 yo************* @yahoo.com (Rick Owen) wrote in message
news:<ad******* *************** ****@posting.go ogle.com>...
Just to clarify. The form is an HTML form (not an oracle form). The
form tag looks like:
<form action="http://server/psl/acc/rpt_eadoc.eadoc _setup"
method="post" onSubmit="retur n verify(this);" name="myform">
Greetings,
I have a form that, when submitted, calls a plsql procedure. The form
has a number of fields (text, hidden, select, radio) but the
particular field that is giving me problems is a <selectwhich allows
multiple selection. When I receive the form values in my procedure I
getting only the first value of those that are selected. For example
if I select 1000, 1100, 1200, 1300 in the list I only get 1000 in my
procedure. If I send the form to a ColdFusion template that dumps the
contents of the form fields I get
org_list_pick=" 1000,1100,1200, 1300"
but when I get the contents of the form fields in the plsql procedure
I only see the 1000.
My procedure is defined as:
PROCEDURE eadoc_setup (searchwhat IN VARCHAR2 DEFAULT 'emp',
report_emp IN VARCHAR2 DEFAULT NULL,
orgqry IN VARCHAR2 DEFAULT NULL,
report_org_id IN VARCHAR2 DEFAULT NULL,
org_code_pick in varchar2 default null,
ckmatrix IN VARCHAR2 DEFAULT 'no',
report_code IN VARCHAR2 DEFAULT NULL,
report_code_lis t IN VARCHAR2 DEFAULT NULL,
listqry in varchar2 default null,
org_code_list in varchar2 default null,
startdate IN VARCHAR2 DEFAULT '01/01/1950',
orderby IN VARCHAR2 DEFAULT 'org' ,
searchtype IN VARCHAR2 DEFAULT 'simple') IS
org_code_pick is the variable that is causing me the problems.
We are using OAS on an HPUX box. I'm not sure of the version of OAS.
Our database is 8.1.7.
I have tried submitting the form with both get and post with the same
results. This is actually the first time I have tried parsing a
select statement with "MULTIPLE" using pl/sql, however I have been
parsing forms with pl/sql for several years.
What am I doing wrong?
TIA,
Rick.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Newbie |
last post by:
OK, this may be impossible since I'm using 3rd party shopping cart ASP
software, but I've been able to finagle a lot of other stuff I thought
wouldn't work, so here we go:
I'm using a form in which users enter numbers to be calculated into a square
footage cost. Upon submitting, the results page uses ASP to give the total
and the chance to...
|
by: Sven Neuberg |
last post by:
Hi,
I have been handed the task of updating and maintaining a web
application, written in ASP and Javascript, that takes complex
user inputs in HTML form and submits them to server-side ASP
pages for processing. The problem is, the user inputs can
become very complex, and the way this application was developed,
the inputs are all...
|
by: John Buchmann |
last post by:
I thought this would not be difficult, but i'm stumped!
I need to iterate through a bunch of form fields, and
read the data (value, text, etc.) from them.
(I need to iterate through them programmatically because
it is not known ahead of time which form fields will be
displayed on the browser. The fields will be displayed
or hidden...
|
by: Mr Newbie |
last post by:
DropDown lists and Listboxes do not appear in the list of controls and
values passed back to the server on PostBack in Request.Form object. Can
someone confirm this to be correct and possibly answer why ?
The impact of this is that values added via javascript will never make it
back to the server side code unless one does some jiggery pokery...
|
by: Esa |
last post by:
Hi,
I'm having problems with one strange web system where submitting an
application and making queries about its handling status require a series of
form submits and response parsing - all in HTML. Luckily other interfaces
are "modern" using xml file up/downloads without any difficulties...
I'm not very used to .NET-environment yet, so...
| |
by: Bill |
last post by:
I'm using the POST method to submit a simple form html page with yes/no
and checkbox fields to an asp response page which stores the values in
a new dim string, then uses it to build a new table using ADO. I'm
getting sometimes correct values, sometimes null values (when I know I
pass a valid default value) and other times multiple values! I...
|
by: yanjie.ma |
last post by:
Hi,
I've got a two part question on table and form design (sorry for the
length but it takes a bit to explain). Our sales department uses a
look-up table to help the them select the best equipment to use for a
customer's needs. It basically consists of a table with the following
setup:
Equipment: Option1: Option2: Option3: ...
|
by: Chris Carlen |
last post by:
Hi:
Having completed enough serial driver code for a TMS320F2812
microcontroller to talk to a terminal, I am now trying different
approaches to command interpretation.
I have a very simple command set consisting of several single letter
commands which take no arguments. A few additional single letter
commands take arguments:
|
by: adwest |
last post by:
Forgive me if this is a foolish question. I "play" in Access and have only created a few rather simple relational databases. My knowledge and experience is limited. I have no formal training, just picked up a few books and have gone from there... I'm not sure how to relate my question using the accepted shorthand, so I'm afraid this will be a...
|
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...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
| |
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. ...
|
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...
|
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...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| | |