List all parameter in a parameter list
Hi all,
My form have a Parameter List which will have different number of parameters added to it based on different situations.
The parameter list will then pass to a procedure, does anyone know How to list out all the parameters from the parameter list
I mean, as the parameter name, parameter value & the number of parameter are changed in runtime, that's y I don't know how to show all the parameters from the list.
Thanks!
How about adding one more parameter that contains indicators for each parameter you have added to the list? A simple text field might work with zeros and ones where ones correspond to parameters that are present and zeros for those not present. Or maybe a comma separated list of abbreviated indicators, but that would be more difficult to parse.
Similar Messages
-
How to list all files and directories in another directory
I need to be able to list all the directories and files in a directory. I need to write a servlet that allows me to create an html page that has a list of files in that directory and also list all the directories. That list of files will be put into an applet tag as a parameter for an applet that I have already written. I am assuming that reading directories/files recursively on a web server will be the same as reading directories/files on a local system, but I don't know how to do that either.
Hi,
Here is a method to rotate through a directory and put all the files into a Vector (files).
* Iterates throught the files in the root file / directory that is passed
* as a parameter. The files are loaded into a <code>Vector</code> for
* processing later.
* @param file the root directory or the file
* that you wish to have inspected.
public void loadFiles(File file) {
if (file.isDirectory()) {
File[] entry= file.listFiles();
for (int i= 0; i < entry.length; i++) {
if (entry.isFile()) {
//Add the file to the list
files.add(entry[i]);
} else {
if (entry[i].isDirectory()) {
//Iterate over the entries again
loadFiles(entry[i]);
} else {
if (file.isFile()) {
//Add the file
files.add(file);
See ya
Michael -
Parameter List displaying all the values on Parameter form
Dear All...If I uncheck the "Restrict List to predetermined values" option, then report parameter form displays all the values on web parameter form instead of displaying those values in the List Item. Is it the Default behaviour of Oracle Reports 10g or Can I control it anyway because if I've 1000 entries in a list, then displaying all those values openly on the form is an ugly thing and it increases the size of parameter form very much.
Hello,
A solution is provided in the Note :
Note.465886.1 How to Implement an Alternate Solution to Unrestricted List Of Values (LOV) in Parameter Form on the Web:
regards -
CR 2008, missing parameter values in parameter list
somehow this thread got posted in the .NET SDK section, so re-posting here...
When my users run the report, the list of values in the paramter list does not include all the possible values that exist in the view on SQL server.
How can I get ALL the values of the field in the view to show up in parameter list? What is controlling how many/few values show up? I have not limited in any way what should be returned from the view (not a cascading set of parameters), and the view is not set up to limit what values are available either.
Thanks for any pointers.
RobertFrom a mis-post on the .NET forum, a solution was suggested that works....
Re: CR 2008, all values in parameter list not showing up -
Problem creating an sql query with a parameter which is a list
Hi,
Im having a problem creating a certain SQL query.
The query looks like this:
SELECT gstock_id FROM germplasm_stock gps, germplasm gp WHERE gps.germplasm_id = gp.germplasm_id AND organism_id IN ($childList:VARCHAR).
the organism_id field is of DECIMAL type.
the parameter childList is actually a list of Id's, something like: 123,124,789
and it is created dynamically by an other function, so I cant just put it there staticlly.
I tried using the ARRAY type instead of VARCHAR, but that didn't work,
anyone knows how can I give this query a parameter which is a list of numbers ?
ThanksI have tried all the following options and the same issue occurs:
EXEC dbo.uspGetSiteChanges @ChangeVersion = ?
With Parameter: 0, @ChangeVersion, ChangeVersion
EXEC dbo.uspGetSiteChanges ?
With Parameter: 0, @ChangeVersion, ChangeVersion
In my first data flow I use the following and it works on two OLE DB Sources:
EXEC dbo.uspGetSiteChanges @ChangeVersion = ?
With:
In my second data flow task, I use the same command and parameter mappings and it fails, very strange. -
Setting user parameter for system - save - list - options
i want to set the user parameter for system > save > list > options so user dont need to select every time for any option.
Moderator message - Title modified because the page renderer can't handle ">".
Edited by: Rob Burbank on Nov 10, 2009 9:15 AMNot Answerd
-
List all servers with OS and service pack
Is there an easy way using any script or software to list all servers joined to your domain including operating system (i.e. server 2008) and service pack level, without having to check each manually?
Hi Cf090,
The limit is used to Specify the number of objects to return that matches the criteria that you specify. If you specify a value of
0 for <NumberOfObjects>, this parameter returns all matching objects. If you do not specify this parameter,
dsquery displays the first 100 results by default.
For more detailed information to use dsquery, please refer to this article:
http://technet.microsoft.com/en-us/library/cc754232.aspx
If you have any other questions, please feel free to let me know.
Best Regards,
Anna -
NDS Gateway Active Sync Listing All users on each poll
When Sun Identity Manager 6.0 sp1 runs an active sync poll event with the NDS Resource Adapter against the Gateway the following behaviour is exhibited within both the customer environment and the Lab environment.
The Gateway will list all the users using the Novell Client, even users who have not had their modification timestamp updated since the last poll.
The Gateway will then return the relevant users to the Sun Identity Manager application. Using the Search Parameter modification timestamp as can be seen below.
�<SearchParameters>
<Map>
<MapEntry key='modificationTimestampFilter'>
<Long>1166504812</Long>
</MapEntry>
</Map>
</SearchParameters>
This is causing the Synchronisation process at the customer to take much longer than necessary. Every time Sun Identity Manager polls the resource all the users are listed within the gateway service.
Can you please confirm if this is the expected behaviour? Or should the gateway only be listing users that have been updated since the last poll event.Their is an issue with the NDS adapter. Contact Sun support, they have an appliance that can be installed to rectify.
Good luck. -
How can I list all the column names of a table by programming?
Hi,
Now I want to write an function which has the following features:
Firstly, The function was given a parameter as table name.
Then, it will lists all the columns names of the table.
e.g
table: person
---firstName------lastName----+
Michale Jackson
We can get the columns 'firstname' and 'lastName' by calling the function with table name 'person'.
And I also wonder that where I can get reference book or any other materials?
Thanks.
Edited by: wenjing wang on Feb 15, 2008 6:42 AM
Edited by: wenjing wang on Feb 15, 2008 6:57 AMhi,
hope the below code helps u. Just take the headee which contains the field name and split it like below and compare it with the field name u want here 'last name'.
here,
'First name' will be in wt_filedata1 and remaining field names in wt_filedata2, so 'do' continues.
c_tab must be the separator, either , or + or tab etc..
CODE:
read table person into wl_header index 1.
do.
split wl_header at c_tab into: wt_filedata1 wt_filedata2.
if wt_filedata1 <> 'lastname'.
cnt1 = cnt1 + 1.
wl_header = wt_filedata2.
else.
exit.
endif.
enddo.
Please reward if it is useful.
regards,
sri -
How to list all files in a given directory?
How to list all the files in a given directory?
A possible recursive algorithm for printing all the files in a directory and its subdirectories is:
Print the name of the directory
for each file in the directory:
if the file is a directory:
Print its contents recursively
else
Print the name of the file.
Directory "games"
blackbox
Directory "CardGames"
cribbage
euchre
tetris
The Solution
This program lists the contents of a directory specified by
the user. The contents of subdirectories are also listed,
up to any level of nesting. Indentation is used to show
the level of nesting.
The user is asked to type in a directory name.
If the name entered by the user is not a directory, a
message is printed and the program ends.
import java.io.*;
public class RecursiveDirectoryList {
public static void main(String[] args) {
String directoryName; // Directory name entered by the user.
File directory; // File object referring to the directory.
TextIO.put("Enter a directory name: ");
directoryName = TextIO.getln().trim();
directory = new File(directoryName);
if (directory.isDirectory() == false) {
// Program needs a directory name. Print an error message.
if (directory.exists() == false)
TextIO.putln("There is no such directory!");
else
TextIO.putln("That file is not a directory.");
else {
// List the contents of directory, with no indentation
// at the top level.
listContents( directory, "" );
} // end main()
static void listContents(File dir, String indent) {
// A recursive subroutine that lists the contents of
// the directory dir, including the contents of its
// subdirectories to any level of nesting. It is assumed
// that dir is in fact a directory. The indent parameter
// is a string of blanks that is prepended to each item in
// the listing. It grows in length with each increase in
// the level of directory nesting.
String[] files; // List of names of files in the directory.
TextIO.putln(indent + "Directory \"" + dir.getName() + "\":");
indent += " "; // Increase the indentation for listing the contents.
files = dir.list();
for (int i = 0; i < files.length; i++) {
// If the file is a directory, list its contents
// recursively. Otherwise, just print its name.
File f = new File(dir, files);
if (f.isDirectory())
listContents(f, indent);
else
TextIO.putln(indent + files[i]);
} // end listContents()
} // end class RecursiveDirectoryList
Cheers,
Kosh! -
A handy query which lists all important DG related init parameters
Version : 11.2/10.2
Do you guys have a handy query which I could run at Primary and Standby sites which will lists all important
Data Guard related init parameters.
Something like below but a query that list important Dataguard related init.ora parameters
col name format a35
col display_value forma a20
set pages 25
SELECT name, display_value FROM v$parameter WHERE name IN ('db_name',
'db_block_size','undo_retention',
'shared_servers',
'memory_target','sessions',
'processes',
'session_cached_cursors',
'sga_target',
'pga_aggregate_target',
'compatible',
'open_cursors',
'nls_date_format',
'db_file_multiblock_read_count',
'cpu_count',
'cursor_sharing')ORDER BY name;Yes more parameters from Mseberg..
Adding one more important parameter LOCAL_LISTENER which plays a big role in dataguard with RAC too..
sys@ORCL> SELECT name, display_value FROM v$parameter WHERE name IN ('db_name','db_unique_name','log_archive_config','log_archive_dest_2','log_archive_dest_state_2','fal_client','fal_server','standby_
file_management','standby_archive_dest','db_file_name_convert','log_file_name_convert','remote_login_passwordfile','local_listener') order by name;
NAME DISPLAY_VALUE
db_file_name_convert
db_name orcl
db_unique_name orcl
fal_client
fal_server
local_listener
log_archive_config
log_archive_dest_2
log_archive_dest_state_2 enable
log_file_name_convert
remote_login_passwordfile EXCLUSIVE
standby_archive_dest %ORACLE_HOME%\RDBMS
standby_file_management MANUAL
13 rows selected.
sys@ORCL> -
"All" option in report parameter
Hi
I created 4 parameters for my report.
Those default selected are the 1st value in database so if click "submit query" its not display ALL
so now i wanna create an "All" option for each parameter and make it default so it make easier to users if they want to display all
How to create this "All" option?
Thank youHi,
First thing is that hopefully your query has been done is such a way that it can show all.
If not you can use the parameter along with NVL as follows :
where column_code = nvl (:test_parameter, column_code)
user13010403 wrote:Those default selected are the 1st value in database so if click "submit query" its not display ALLI am not sure what you meant by this, I think you are using Report Parameter form.
For the test_parameter in the query for the list of values use such a type of query:
select column_code, column_name
from table_name
union
select null, '***All***'
from dual
order by 2Note: using *** before All will place it first for ordering
Hope this helps
Best Regards
Arif Khadas
Also for List of Values for parameter check 'Hide first Column'
Edited by: Arif Khadas on May 5, 2010 1:23 PM -
List all form fields with JS?
I imagine this is a pretty easy one, but does anyone know what the script would be to list all form fields in the console? Specifically, at the moment, I only need it for buttons, but I imagine it would be useful for any fields as well.
Take a look at the "Required Fields" tool at this site:
http://www.pdfscripting.com/public/65.cfm
Its a toolbar button that lists all fields that are required. It could easily be changed to filter for any field parameter, or none.
Thom Parker
The source for PDF Scripting Info
pdfscripting.com
The Acrobat JavaScript Reference, Use it Early and Often
http://www.adobe.com/devnet/acrobat/javascript.html
Then most important JavaScript Development tool in Acrobat
The Console Window (Video tutorial)
The Console Window(article) -
Display all records from 4 select list
Hi,
trying to associate 4 select list where i could display all records from a list linked to an other list.
1./ Created an item for each select list
P1_employee_name
P1_departments
P1_employee_type
P1_locations
2./Set both null and default values to '-1' for each item
3./Associated these items to source columns in the Region:
where employee_name=:P1_employee_name
or :P1_employee_name ='-1'
and departments=:P1_departments
or :P1_departments ='-1'
and ......
When running the report, couldn't display all records from a given list associated to an other list.
e.g: Display all emp and type of emp for sales dept in Paris.
Thks for your helpI believe the issue is that you need to group your predicates such as:
where (employee_name=:P1_employee_name
or :P1_employee_name ='-1')
and
(departments=:P1_departments
or :P1_departments ='-1')
Also, if you are not already using the "select list with submit" type items, these work great for this case as the page will be submitted when the user changes the value of employeenam and the report will then reflect this change. -
Snow Leopard finder doesn't list all files on Windows 7 volumes
From my Macbook Pro (10.6.8), I can connect to my Mac Pro, while it is running Windows 7 in Boot Camp, in order to access the Mac Pro's 6 volumes (1 Boot Camp, 5 Mac volumes). This is using SMB via Finder's 'Connect to server…' on an Airport network.
However, Finder never displays all the files and folders on any of the Mac volumes it connects to through Windows 7. It seems to show approximately the first 18-9 files and folders, and then nothing. The same applies when I open a nested folder — it doesn't list all of its contents.
Any ideas as to what's causing this and how I can fix it? I have searched all over but can't find any answers yet, so I'm hoping someone here has seen this before.Thanks for the reply, but I do have the Restore Windows box checked (see below). And the Resume features info (cnet link) only addresses how to turn the feature off, either selectively or globally. I'm simply looking for the functionality that I had with Snow Leopard and now seems to be absent. Maybe it's a bug in my Finder.
Maybe you are looking for
-
Can anyone help me on what to do.... I have bought a MSI 6116 and every time i boot up, it says CMOS Checksum error - Defaults loaded. Warning! CPU has been changed.Please re-enter CPU settings in the CMOS setup and remember to save before quite! I a
-
How do I send a sound? Lock? Erase? On iCloud web site Find My Phone link there is only the map. No links or any other instruction. Please tell me where to find this information. If I lose my phone I need to be able to use my computer to go to iCloud
-
Regarding TDS E Return.
Pls Help, Any body create logic of TDS E Return .which is quaterly basis. Pls do the needfull. *Assign full mark. regards, mahi
-
Navigation bar floating, can't seem to position to top
Could use a second set of eyes. Bought a theme template and did some adjustments in DW. For the life of me, I cannot figure out why the navigation bar - "top_bar" - is floating. it should be positioned at the top of the page. The footer also seems to
-
Deployment server not in Server Navigator
I am new to this, but I can't seem to run any application. When I click the icon to run the project (or press Ctrl-F5), the project compiles successfully but does not run. It stays in the design mode. I also noticed that the deployment server is not