How to Filter the lovRowSetInfo for LOV
Hi,
I am developing Java Application using Swing JDeveloper 3.1. My problem is how can i filter the contents of LOV so that only the nessarry data that match the condition only will display.
Below is my solution:
lOVRowSetInfo.setQueryCondition("employeeCode = 'AA'");
lOVRowSetInfo.executeQuery();
lOV.setRestrictedQuery("infobus:/oracle/Session1/employee/employeeCode", null);
lOV.show();
First i try to filter the lOVRowSetInfo which is fix into the LOV. I filter it so that only employee code which match the AA will display. But after i press a button to show the LOV box, the data that shows in the LOV seems like not filter at all. It still display all the value of the employee table.
Can anybody help to solve this probelm ?
From,
Teeming
I have the same challenge. Any help would be greatly appreciated.
Brad
Similar Messages
-
How to filter the data on Reports from collected from differnet Agents
1) I have to write a Plug-in which would fetch the same type of data from 7 Agents. I need to generate the report for each Agent separately,This plug-in will be deployed in various different environment. So I will not know the host name as it will be deployed different environment. Can anyone suggest how to filter the data for each agent from the table. I see one solution of using Bind variable for the Target GUID in PL/SQL file. Can you please suggest if there is any other better way of doing this.????
Also Can you please suggest what are the best ways to debug the OEM Plug-in?
Thanks Anyway.....What I mean filtering data means displaying data for each Agent Seperatly. Assume I have collected Filesystem data from 5 Agents (5 different server). Now I want do display file system data for Agent1 (server 1). How would I fetch it from MGMT$Metric_Current. Currently I use a bind variable
??EMIP_BIND_TARGET_GUID?? to filter the data for a Agent from MGMT$Metric_Current view. I compare Target Name entered while deploying Plug-in with the Target_Name column of specified view.Is there any other way of fetching data from this table for a Agent?
I hope I am prety clear now. My Problem is IO dont want to force user to enter exact Server name while deploying Plug-in.
Thanks...... -
How can I filter the Values for the dropdowns in webdynpro
I have given data source to table, but as there are some repetitive values in table of dropdowns, I want to filter the Values for the dropdowns in webdynpro.
How can I do this?I have given datasource to table in properties of table.
I have 2 different dropdowns for different columns in the table.
if the size of the table is 20 I get all the values populated in the dropdowns.
In these values, there are some repetetive values which I dont want to appear.
I can display it by making loop and can select from the values.
the problem is how to set the new values to that drop down again using context?
eg
dropdowns have,
presales activity
presales activity
presales activity
presales activity
presales activity
I need to filter the variable element and put back it in dropdown.
Thanks and regards
Hanif Kukkalli -
Hi,
How we use the rights on LOV to filter.What you need to do is to edit the LOV sql (assuming it is custom folder) and insert there some
kind of security mechanism.
Also you can create dependencies in the parameters so that if you will select on the "Region" parameter the value of "New York" when opening the values for "Departments" you will get only the relevant departments.
This can be done in the parameters definition, you can choose there to limit the results according to another condition. (note that it might create some performance issues)
Tamir -
In BI how to filter the selection options based on inputs on top field
Hi Friends,
In BI, How to filter the selection options based on inputs on top field.
The system should automatically filter the lower level drop downs based on the selection of a higher level.
For e.g. :
If a user selects a Country then the States drop down should only display the State's belongs to the Country. Similarly when a State is selected, the District drop down should display only those District's belongs to the State.
Thanks in Advance.
Regards
Jayaram MHi Anil,
Thanks for reply but I couldn't use Compounding Characteristic here. Need some other solution.
Regards
Jayaram M -
How to filter the data in different sections (e.g. Report Footers)?
Hi,
I am using Crystal Reports 11 to generate cross-tables.
I plan to generate 3 cross-tabs, and each cross-table will be put in a section. For example, cross-tab1 in Report Footer a; cross-tab2 in Report Footer b; cross-tab3 in Report Footer c.
I know use "Select Expert" to filter data. But, it seems that "Select Expert" filters data for the whole report.
I want to filter the data for each cross-table separately. For example, filter cross-tab1 based on condition1; filter cross-tab2 based on condition2; filter cross-tab3 based on condition3.
How to filter the data in different sections (e.g. Report Footers)?
Thank you in advance.Hi,
Now that you've inserted the subreport just right-click the sub-report and click Edit. The Design page for sub-report should open up.
You can now insert the cross-tab on the Report Header and insert a record selection formula of your choice.
Also, suppress all the other sections of the subreport so the Main report only shows the crosstab without any spaces.
Do the same for all the subreports.
-Abhilash -
How to get the "Key" for Dimension in SSAS.
Hi
How to get the "Key" for Dimension in SSAS.
(Below value is the PPSParameters table XML column value in PPSDatabase in SharePoint.
Below three key values are belongs to "Dimension". I have tried to find the key but I could net get it.)
<NewDataSet>
<UserValues><Key>16A201A9E75128559F947D58E6D187A9</Key></UserValues>
<UserValues><Key>7FBEA449A6ED5606973306445839619E</Key></UserValues>
<UserValues><Key>A8F75F9720817BCD2E1DFC1C1CF1E678</Key></UserValues>
</NewDataSet>
Thanks & Regards
Poomani SankaranTo Be Honest there is not one straight Cmdlet that atleast I have come across
The best way would if you have Lync monitoring server
Using the Lync Server 2013 Monitoring Server
If you have the Monitoring Server role configured in your environment, and for Lync Server 2013 everyone should!, you can use information contained in the LcsCDR database to pull back the last time a user signed in. You can run the following query* to
pull back the user's SIP URI and their last login time:
USE LcsCDR
SELECT dbo.Users.UserUri, dbo.UserStatistics.LastLogInTime
FROM dbo.UserStatistics
JOIN dbo.Users ON dbo.Users.UserId = dbo.UserStatistics.UserId
ORDER BY UserUri
Which produces the following output:
The advantage to using the Monitoring Server to obtain this data is that unlike the information contained in the rtcdyn database, the information from the LcsCDR data will persist even when the user isn't signed into Lync.
To get approx count of users enable for Lync Server in your organisation
Get-CsUser -Filter {Enabled -eq $true} | MeasurE
Please not the above command let will give you an approx number not exact
From the Monitoring report yet the SIP account that signed in and then from count find out how many user havent signed in this is manual task
Hope this is helpful
Please remember, if you see a post that helped you please click ;Vote As Helpful" and if it answered your question please click "Mark As Answer" Regards Edwin Anthony Joseph -
How to filter the data in dropdown?
Hello,
How to filter the data
I got all the project name in dropdown when you select the project name in other textbox the project id will come automatically.
so I want to get only those project name that is assigned to that particular user.
I have
ProjectName(dropdown),
ProjectId(Textbox),
Employee code(Unique value),
employee Id (Unique for particular employee means if User A works on 5 projects so for all 5 projects the employee Id will be same),
Project Id( 5 projects 5 different id)
I didnt get the exact formula or I have to use any javascript code.Any help...
Thanks,If I am understanding correctly, you want to populate a drop down with values from a list.
Using InfoPath:
right click on the drop down to be populated, and choose drop down list box properties.
add the list with the values as a data source.
click the filter box next to entries.
select the field you want from the other list.
click filter data.
set the filter (click AND if you need more lines).
click OK on any dialogs you need to to get back to the editor.
Test your form. -
How to filter the "delete" command in oracle streams ?
How to filter the "delete" command in oracle streams ? (oracle 9i R2 )
Message was edited by:
user507013Hello
write a procedure doing "nothing" for delete transcation :
connect adminstrm/..
CREATE OR REPACE PROCEDURE write_delete_lcr (
message IN SYS.ANYDATA,
error_stack_depth IN NUMBER,
error_numbers IN DBMS_UTILITY.NUMBER_ARRAY,
error_messages IN EMSG_ARRAY )
AS
s_id sys.anydata ;
ad SYS.ANYDATA;
lcr SYS.LCR$_ROW_RECORD;
ret PLS_INTEGER;
vc VARCHAR2(30);
apply_name VARCHAR2(30) ;
errlog_rec log_errors%ROWTYPE ;
ov2 SYS.LCR$_ROW_LIST;
BEGIN
return;
End;
for your apply do :
BEGIN
DBMS_APPLY_ADM.SET_DML_HANDLER(
object_name => TABLE_NAME,
object_type => 'TABLE',
operation_name => 'DELETE',
error_handler => true,
user_procedure => 'write_delete_lcr',
apply_database_link => NULL);
END;
Hafedh KADDACHI
Oracle DBA -
In VB Programming code -- How to access the formula for suppressing a field
In VB Programming code -- How to access the formula for suppressing a field
I am using Crystal Reports 2008 v1
Using VB code, I am attempting to modify a Crystal Report before exporting it into a PDF format and then displaying it on the Web.
My problem is that I am unable to access the formula used to dynamically suppress a field.
The following code is working:
mySections = rd.ReportDefinition.Sections
For Each mySection As CrystalDecisions.CrystalReports.Engine.Section In mySections
' myFieldToChange is a String set to the text of the field I need to adjust the Suppression
iloop = 0
For Each RecObj As CrystalDecisions.CrystalReports.Engine.ReportObject In mySection.ReportObjects
If mySection.ReportObjects.Item(iloop).Name.ToLower = myFieldToChange Then
myTextObject = CType(mySection.ReportObjects.Item(iloop), CrystalDecisions.CrystalReports.Engine.TextObject)
myTextObject.Text = "new field text goes here"
mySection.SectionFormat.EnableSuppress = True
' Here is where I want to change the formula for the Suppression
End if
iloop = iloop + 1
Next
Next
I can not find any reference to the actual suppression formula in the SDK help file.
Note, the EnableSuppress can be set to True for False, but if there is a formula for dynamic suppression, the True or False value is overwritten. The results of the formula determine the suppression.
Is there a way to reference this formula. I know that I can put on in using the Crystal Report Designer software, I need to modify this formula using VB code and the SDK.Hello, Mark;
If you are using the ReportDocument object you do not have access to the Conditional Suppression formula. You can get around it by using a formula field in the report for the supression and then using the FormulaField code to change it at runtime.
If you want to change the supression condition directly at runtime you need to use RAS and the ReportClientDocument.
Elaine -
How to obtain the license for the mentioned products.
Hi All,
Please help me in below licensing issues.
1) Our functional team got the below error while accessing "Job Scheduling Workbench".
Error: The Workbench is inaccessible because Oracle Manufacturing Scheduling has not been licensed. Please work with your Account Manger to purchase the license.
2) Another error message while accessing the navigation Flow Manufacturing --> Product Sync --> Flow Routings
Error: APP-BOM 20972: You cannot access this form
Cause: You do not have a license for Oracle Flow Manufacturing.
Action: Obtain a license for Oracle Flow Manufacturing.
Please guide me how to obtain the license for the above products.
Environment: eBS R12.1.3 on Linux 5.8
Regards,
SivaThanks for providing the document. I follow the document and get back to you for any issues.
Regards,
Siva. -
A^b = n ,How to get the value for a ?
a^b = n ===> n = Math.pow(a,b)
How to get the value for a ?
dose Java have API to get the value for a ?
Thanks for help~~~a^b = n
=>
a = n^(1/b)
So,
a = Math.pow(n,1.0/b) -
How to get the date for the first monday of each month
Dear Members,
How to get the date for the first monday of each month.
I have written the following code
SELECT decode (to_char(trunc(sysdate+30 ,'MM'),'DAY'),'MONDAY ',trunc(sysdate+30 ,'MM'),NEXT_DAY(trunc(sysdate+30 ,'MM'), 'MON')) FROM DUAL
But it look bith complex.
Abhishek
Edited by: 9999999 on Mar 8, 2013 4:30 AMUse IW format - it will make solution NLS independent. And all you need is truncate 7<sup>th</sup> day of each month using IW:
select sysdate current_date,
trunc(trunc(sysdate,'mm') + 6,'iw') first_monday_the_month
from dual
CURRENT_D FIRST_MON
08-MAR-13 04-MAR-13
SQL> Below is list of first monday of the month for this year:
with t as(
select add_months(date '2013-1-1',level-1) dt
from dual
connect by level <= 12
select dt first_of_the_month,
trunc(dt + 6,'iw') first_monday_the_month
from t
FIRST_OF_ FIRST_MON
01-JAN-13 07-JAN-13
01-FEB-13 04-FEB-13
01-MAR-13 04-MAR-13
01-APR-13 01-APR-13
01-MAY-13 06-MAY-13
01-JUN-13 03-JUN-13
01-JUL-13 01-JUL-13
01-AUG-13 05-AUG-13
01-SEP-13 02-SEP-13
01-OCT-13 07-OCT-13
01-NOV-13 04-NOV-13
FIRST_OF_ FIRST_MON
01-DEC-13 02-DEC-13
12 rows selected.
SQL> SY. -
I have the code to read from a file but my problem is how to prompt the user for the file name at run time.
import java.io.File;
import java.io.FileNotFoundException;
import java.util.InputMismatchException;
import java.util.Scanner;
public class FileRead {
public static void main(String args[]) {
Scanner scan = null;
File file = new File("Results.txt");
String number;
try {
scan = new Scanner(file);
while (scan.hasNext()){
number = scan.next();
System.out.println(number);}
catch (FileNotFoundException ex1){
System.out.println("No such file");
catch (IllegalStateException ex2){
System.out.println("Did you close the read by mistake");
catch (InputMismatchException ex){
System.out.println("File structure incorrect");
finally{
scan.close();}
}Any hints would be greatly appreciated. Thank you in advanceI have read through some of the tutorials that you have directed me too and they are very useful, thank you. however there are still a few things that i am not clear about. I am using net beans 5.0 I have placed a text file named Results.txt into the project at the root so the program can view it.
When I use the code that you provided me with, does it matter where the file is, or will it look through everywhere on the hard drive to find a match?
This code compiles but at run time it comes up with this error
run-single:
java.lang.NoClassDefFoundError: NamedFile
Exception in thread "main"
Java Result: 1
BUILD SUCCESSFUL (total time: 3 seconds)
import java.util.Scanner;
import java.io.*;
class NamedFileInput
public static void main (String[] args) throws IOException
int num, square;
// this Scanner is used to read what the user enters
Scanner user = new Scanner( System.in );
String fileName;
System.out.print("File Name: ");
fileName = user.nextLine().trim();
File file = new File( fileName ); // create a File object
// this Scanner is used to read from the file
Scanner scan = new Scanner( file );
while( scan.hasNextInt() ) // is there more data to process?
num = scan.nextInt();
square = num * num ;
System.out.println("The square of " + num + " is " + square);
}his is the code that i used. It is the same as the code you posted for me (on chapter 23 I/O using Scanner and PrintStream) Sorry im just really stuck on this!! -
How to restrict the GR for Production Order when Goods Issue is not done
Hi Gurus
How to restrict the GR for Production Order when all the required components for production order are not issued with all required quantity. Even for partial issue system should not allow GR with 101. The user status with RMWA, RMWF & CGFB is not working.
Pls suggest best solution.
Abhijit.Hi,
You can club together the GI nad GR at the time of confirmation..
I.e Backflush for the components and auto GR for the Product.
So that you can stream line the Process.
The best Option would be to use the User Exit:
Enhancement - MBCF0002
Functional Module - EXIT_SAPMM07M_001
Include - ZXMBCU02
Refer below link for further details..
How to stop the goods receipt before issueing the goods for production orde
Regards,
Siva
Maybe you are looking for
-
Hi, so i have Jabber working with my UC540 and my network access points AP541Ns. this is good! However no doubt there will be many things we find problems with... One of the big ones is the lack of a dial plan for Jabber with the iPhones contacts. It
-
Help ! How do I get a sheet of wallet size of the same picture to print
Hi, I have tried everything to get wallet size pictures to print. Can anyone please tell me how to get a sheet of the same picture in wallet size? I'm looking for a whole sheet of the same picture that I can cut and give away. I have iPhoto 09. I can
-
hello, I can see the Icon of my external hard on the mac os x 10.6.8 but I can not open it or view any file in the external hard your prompt reply will be appreciated thanks
-
For all you folks trying to install a new DVD burner with no luck
I just bought a Panasonic UJ 841 for my Toshiba A100. It contains BOTH master and slave firmware. I installed the drive and like most of you it disn't see the drive in the BIOS. I contacted the guy in Taiwan who I bought the drive from and he showed
-
i have been using my ipod with i tunes for some time, i now have an iphone 3gs and can download everything from my itunes account via my laptop except my audio books any idea what i have to do?