How can I filter the LOV rows at the runtime

I am working in oracle forms 6i.
My lov is based on a view. If I selected one row from LOV, that row should not appear in list box.
I would like to restrict rows before saving a form. How can i filer the LOV rows at the runtime?
Please help me.

Dear Mr.MH_BD,
Thanks for your immediate response,
My form is built based on master and detail link.  On the multi row detail section I am invoking this LOV.  The record group containing the following query:
select fees_id,fees_name,term_fees from sk_fees_mst where fees_bal>0;
fees_id
fees_name
term_fees
12
Tuition Fees
2500
13
Smart Class
100
14
Admin Fees
300
If I selected the fees_id 13 for the first row of detail section, then the LOV should display only the following in the next row:
fees_id
fees_name
term_fees
12
Tuition Fees
2500
14
Admin Fees
300
(ie.) Before commit form I need to filter the already selected fees ids from record group.
Thanks in advance.

Similar Messages

  • How can I filter data by row contents? Similar to Excel's filter feature.

    I would like to view only the rows in which the data in column x is some particular value.
    For instance, I'd like to view (and create a group of channels) containing only data from rows where the text in column 2 is MC1.
    ... guess I can't put a picture inline...
    See attached for sample data.
    Thanks.
    Attachments:
    MyData.PNG ‏40 KB

    Hi ebloohm,
    This script will break out your loaded data rows by the "Station" channel values.  let me know if you want to filter out the "1;2" suffix or leave it differentiated.  If you want to do the same sort of thing not within a single file but across multiple files, then you'd do better to change your DataPlugin to enable the DataFinder to pull only the desired rows from each file.
    OPTION EXPLICIT
    Dim i, j, iMax, jMax, RawGroup, Channel, IdChName, OrderChName, Msg, LastTime
    Dim IdChDict, IdChannel, OrderChannel, RowDict, RowKeys, RowItems, DataChDict
    IdChName = "Station"
    OrderChName = "" ' "Time" or ""
    Set RawGroup = Data.Root.ChannelGroups(GroupCount)
    On Error Resume Next
    Set OrderChannel = RawGroup.Channels(OrderChName)
    On Error Goto 0
    Set IdChDict = CreateObject("Scripting.Dictionary")
    Set IdChannel = RawGroup.Channels.Add(IdChName, DataTypeString)
    IdChDict.Add UCase(IdChannel.Name), IdChannel
    Set Channel = RawGroup.Channels(IdChName) : IdChDict.Add UCase(Channel.Name), Channel
    jMax = RawGroup.Channels.Count-1
    Set DataChDict = CreateObject("Scripting.Dictionary")
    IF IsObject(OrderChannel) THEN
    DataChDict.Add UCase(OrderChannel.Name), OrderChannel
    END IF
    FOR j = 1 TO jMax
    Set Channel = RawGroup.Channels(j)
    IF NOT IdChDict.Exists(UCase(Channel.Name)) AND UCase(Channel.Name) <> UCase(OrderChName) THEN
    DataChDict.Add UCase(Channel.Name), Channel
    END IF
    NEXT ' j
    Msg = "Enumerating all the Groups..."
    Call MsgBoxDisp(Msg, "MB_NOBUTTON", "MsgTypeNote", 0, 0, 1)
    Call CreateIdChannel(IdChDict)
    Set RowDict = EnumerateIdRows(IdChannel)
    RowKeys = RowDict.Keys
    RowItems = RowDict.Items
    iMax = UBound(RowKeys)
    LastTime = Timer
    FOR i = 0 TO iMax
    IF Timer > LastTime+1 OR Timer < LastTime THEN
    Msg = "Sort Extracting Group " & i+1 & " of " & iMax+1
    Call MsgBoxDisp(Msg, "MB_NOBUTTON", "MsgTypeNote", 0, 0, 1)
    LastTime = Timer
    END IF
    Call ExtractIdGroup(RowKeys(i), RowItems(i), IdChDict, DataChDict)
    NEXT ' i
    Call RawGroup.Channels.Remove(IdChannel.Name)
    Call MsgBoxCancel
    Sub TextToNumeric(Group, ChanName, ChanType, Factor, Offset)
    Dim RawChannel, NewChannel
    Set RawChannel = Group.Channels(ChanName)
    Set NewChannel = Group.Channels.Add("New|" & ChanName, ChanType)
    L1 = RawChannel.Properties("Number").Value
    L2 = NewChannel.Properties("Number").Value
    ChnLength(L2) = ChnLength(L1)
    Call ChnCalculate("Ch(L2) = CDbl(Ch(L1))")
    IF Factor <> 1 OR Offset <> 0 THEN
    Call ChnLinScale(NewChannel, NewChannel, Factor, Offset)
    END IF
    Call ChnMove(NewChannel, RawGroup.Properties("Index").Value, RawChannel.Properties("GroupIndex").Value)
    Call RawGroup.Channels.Remove(RawChannel.Name)
    NewChannel.Name = Mid(NewChannel.Name, 5)
    End Sub ' TextToNumeric()
    Sub CreateIdChannel(IdChDict)
    Dim j, jMax, RawGroup, ChListStr, IdChannels, IdChannel
    IdChannels = IdChDict.Items
    Set IdChannel = IdChannels(0)
    Set RawGroup = IdChannel.ChannelGroup
    Call RawGroup.Activate
    ChListStr = ""
    jMax = UBound(IdChannels)
    FOR j = 1 TO jMax
    ChListStr = ChListStr & "Ch(" & IdChannels(j).Properties("Number").Value & ") & ""."" & "
    NEXT ' IdCh
    ChListStr = Left(ChListStr, Len(ChListStr)-9)
    Call ChnCalculate("Ch(" & IdChannel.Properties("Number").Value & ") = " & ChListStr)
    End Sub ' CreateIdChannel()
    Function EnumerateIdRows(IdChannel)
    Dim j, jMax, RawGroup, RawChannel, RawChnStr, RowDict, StartRow, StopRow, RowMax
    Set RawGroup = IdChannel.ChannelGroup
    Call RawGroup.Activate
    RawChnStr = ""
    jMax = RawGroup.Channels.Count-1
    FOR j = 1 TO jMax
    Set RawChannel = RawGroup.Channels(j)
    RawChnStr = ChnStrAdd(RawChnStr, RawChannel.Properties("Number").Value)
    NEXT ' j
    Call ChnMultipleSort(IdChannel, RawChnStr, 0, 1)
    L3 = IdChannel.Properties("Number").Value
    Set RowDict = CreateObject("Scripting.Dictionary")
    StartRow = 1
    StopRow = 1
    RowMax = ChnLength(L3)
    Do While StopRow <= RowMax
    T1 = ChT(StartRow, L3)
    StopRow = ChnFind("UCase(Ch(L3)) <> UCase(T1)", StartRow+1)
    IF StopRow = 0 THEN StopRow = CLng(RowMax+1)
    RowDict.Add T1, StartRow & "|" & CLng(StopRow-StartRow)
    StartRow = CLng(StopRow)
    Loop ' Until End Of Channel L3
    Set EnumerateIdRows = RowDict
    End Function ' EnumerateIdRows()
    Function ExtractIdGroup(RowKey, RowItem, IdChDict, DataChDict)
    Dim j, jMax, RawGroup, RawChannel, NewGroup, NewChannel, RawChnStr, NewChnStr, DataChannels, Cols
    Dim StartRow, RowCount, NewDataType, NewDataDisp, NewOrderCh, IdChannels, IdChannel, OrderChannel
    Cols = Split("|" & RowItem, "|")
    IF UBound(Cols) < 2 THEN Exit Function
    StartRow = CLng(Cols(1))
    RowCount = CLng(Cols(2))
    IF Data.Root.ChannelGroups.Exists(RowKey) THEN Call Data.Root.ChannelGroups.Remove(RowKey)
    Set NewGroup = Data.Root.ChannelGroups.Add(RowKey)
    Call NewGroup.Activate
    IdChannels = IdChDict.Items
    jMax = UBound(IdChannels)
    FOR j = 1 TO jMax
    Set IdChannel = IdChannels(j)
    NewGroup.Properties.Add IdChannel.Name, ChV(StartRow, IdChannel.Properties("Number").Value)
    NEXT ' j
    RawChnStr = ""
    NewChnStr = ""
    DataChannels = DataChDict.Items
    jMax = UBound(DataChannels)
    FOR j = 0 TO jMax
    Set RawChannel = DataChannels(j)
    Set NewChannel = NewGroup.Channels.Add(RawChannel.Name, RawChannel.DataType)
    ChnLength(NewChannel) = RowCount
    RawChnStr = ChnStrAdd(RawChnStr, RawChannel.Properties("Number").Value)
    NewChnStr = ChnStrAdd(NewChnStr, NewChannel.Properties("Number").Value)
    NEXT ' j
    Call DataBlCopy(RawChnStr, StartRow, RowCount, NewChnStr, 1)
    NewChannel = ""
    On Error Resume Next
    Set NewChannel = NewGroup.Channels("Value")
    On Error Goto 0
    IF OrderChName <> "" THEN
    NewChnStr = ""
    jMax = UBound(DataChannels)
    Set OrderChannel = NewGroup.Channels(DataChannels(0).Name)
    FOR j = 1 TO jMax
    Set NewChannel = NewGroup.Channels(DataChannels(j).Name)
    NewChnStr = ChnStrAdd(NewChnStr, NewChannel.Properties("Number").Value)
    NEXT ' j
    Call ChnMultipleSort(OrderChannel, NewChnStr, 0, 1)
    END IF ' can order the rows of each extracted Group
    Set ExtractIdGroup = NewGroup
    End Function ' ExtractIdGroup()
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • How can I get my iPad to connect the love film app to my Apple TV?

    How can I get my iPad to connect the love film app to my Apple TV?

    Have you confirmed that the app supports AirPlay? If it doesn't, then you'll have to connect via screen mirroring. See:
    http://support.apple.com/kb/HT4437
    and
    http://support.apple.com/kb/HT5209
    Regards.

  • How can I select and delete rows based on the value in one column?

    I searched through the discussion board, and found a thread on deleting blank rows, but not sure how to modify it to work with my issue.
    I have put together a rather complicated spreadsheet for designing control systems, it calculates parts needed based on check boxes selected in a second spreadsheet.
    Since not all systems require all parts there are many rows that have a 0 quantity value, I would like to select these rows and delete them once I have gone through the design phase (checking off required features on a separate sheet).
    I like the way the other thread I found will gather all the blank rows at the bottom without changing the order of the rows with data in them.
    I don't understand exactly how the formula in the other thread works well enough to modify it to look for a certain column.
    I hope I made myself clear enough here, to recap, I would like to sort the rows based on a zero value in one (quantity) column, move them (the zero quantity rows) to the bottom of the sheet, and then delete the rows with a zero quantity (I can delete them manually, but would like to automate the sorting part).
    Thanks for any help anyone can provide here.
    Danny

    I apologize but, as far as I know, Numbers wasn't designed by Ian Flemming.
    There is no "this column will be auto-destructing after two minutes"
    You will have to use your fingers to delete it.
    I wish to add a last comment :
    if your boss has the bad habit to look over your shoulder, it's time to find an other one.
    As I am really pig headed, it's what I did. I became my own boss so nobody looked over my shoulder.
    Yvan KOENIG (VALLAURIS, France) mercredi 13 juillet 2011 20:30:25
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

    How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

    How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

  • How can I filter alerts shown in the Server app?

    In the time I've been running OS X Mavericks Server, the only alert to come up in the Server app's Alerts pane is "Virus detected in inbound email". That's about as surprising as finding that water is wet, so I'd like not to see those alerts. I don't want to turn off the email filtering, I just want don't want to hear about this one kind of event.
    How can I filter the alerts in general or this one in particular?

    Hi ephraimephraim
    I dont know if you found a solutions, but I hit the same problem so here is what I worked out...
    Go to: Mac HD/Library/Server/Mail/Config/amavisd
    In there you will find a file called amavisd.conf
    Make a backup copy of this just incase! Now open the file using TextWrangler (its free from here http://www.barebones.com/products/textwrangler/download.html).
    Now scroll down to line 119 and it will look like this:
    #$virus_admin              = "[email protected]";  # notifications recip.
    #$spam_admin               = '[email protected]';
    #$spam_quarantine_to       = '[email protected]';
    #$banned_quarantine_to      = '[email protected]';
    #$virus_quarantine_to      = '[email protected]';
    What I waneted to do was stop the useless "Virus detected in inbound email" emails and just send a copy of the emails to one account that I could keep an eye on, so this is what I did.
    First deside on a alias to use, such as [email protected],
    Now you can insert that like this virus-admin\@$mydomain its relly is important to add the \@$mydomain this resolves up the top of the file so it should now look like this
    #$virus_admin              = "virus-admin\@$mydomain";  # notifications recip.
    #$spam_admin               = 'virus-admin\@$mydomain';
    #$spam_quarantine_to       = 'virus-admin\@$mydomain';
    #$banned_quarantine_to      = 'virus-admin\@$mydomain';
    #$virus_quarantine_to      = 'virus-admin\@$mydomain';
    now delete the # notifications recip. after the virus_admin to stop the Virus Notifications, then I deleted the # before the spam_quarantine_to, banned_quarantine_to, virus_quarantine_to  this "turns on" the line and then add # notifications recip. after them, so you should end up with
    #$virus_admin              = "virus-admin\@$mydomain";
    #$spam_admin               = "virus-admin\@$mydomain";
    $spam_quarantine_to       = "virus-admin\@$mydomain";  # notifications recip.
    $banned_quarantine_to      = "virus-admin\@$mydomain";  # notifications recip.
    $virus_quarantine_to      = "virus-admin\@$mydomain";  # notifications recip.
    Now just create a user on the server called virus-admin of add it as an alias using Workgroup Manger.
    Hope this helps

  • How can I filter based on the IPTC core information?

    How can I filter based on the IPTC core information? (CS6)

    "Substitution Variables" can do what you are asking for.

  • How can i filter at the app store for an itouch 1st gen v 3.1.3 ?

    how can i filter at the app store for an itouch 1st gen v 3.1.3 ?

    vitofromoak park wrote:
    how can i filter at the app store for an itouch 1st gen v 3.1.3 ?
    Sorry, but I don't believe there is way that you can.  You'll just have to make sure to read the minmium requirements of any App you are about to purchase to ensure that it is compatible and will run on your iPod Touch running iOS v3.1.3.
    B-rock

  • How can I filter a table from Data Control without enter query

    I have a table from a web service data control based on WSDL.
    I want to filter the table without input query at filter text box. Without filter text box, each would filter the table with a hardcoded query internally.
    For example, when user click A menu button then it filters the table where type = '1' and B menu button filters the table by type='2' and C menu button filters the table by type=' ' .
    How can I filter the table without enter query?
    Could anyone point me to a solution please.
    Thanks.
    jdev 11.1.5
    Edited by: 893364 on Oct 26, 2011 12:15 PM
    Edited by: 893364 on Oct 26, 2011 12:21 PM

    Hi,
    when you created the table, did you try selecting the "filter" option. Select the table and go to the Property Inspctor. In the tool bar of the Property Inspector there is an icon to change the configuration. Its adding filter filter fields for the user to search in.
    Option 2: The data of the Web Service actually is held in the iterators. If you wanted to filter the WebService query, I would not use the WS DC but a JAX-WS proxy in a POJO to fetch the WS Data. Then have the Data Control created from the POJO. You could have a method exposed on the POJO that allows you to filter the internally held data
    Frank

  • How can I do for a row of a query be data provider for a variable?

    Hi friends, I have a problem !
    How can I do for a row of a query be data provider for a variable?
    I need that a value of variable be stored when the user select a row in a query. At the BPS we can do this configuring the variable selector in WIB, and in a WAB how I can do this ?
    Best regards,
    Gustavo Liberado

    In this case when I press the key to call other forms I need to wait for the response in the secondary form and then process the result.That is exactly what a "modal JDialog" (or JOptionPane) are used for.
    Try it. Create a short demo program. All you need is a JFrame with a single button to show the modal dialog. All you modal dialog needs is a single button to close the dialog. After you show the modal dialog add a System.out.println(...) statement in your code and you will see that it is not executed until the dialog is closed.
    Then once you understand the basics you add the code to your real program.
    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.

  • How can I leave an empty row?

    Hi,
    If I want to use GridBagLayout, how can I leave an empty row? Or empty column? When I create the buttons on a frame, are they created sequentially? so Is that mean I can't put something back to the first row later in the program? Thx.
    Adrian

    I'm just guessing, since I havent done Java for a long time... but if you want an empty row... what pops up in my mind first is like putting in an empty JLabel/Label... for that row... but then if you wanna fill it in... i dunno...

  • How to Handle the LOV AM in the page level Controller

    Hi All,
    I have standard page ,In that page there is LOV in which user can select any value.
    But the client requirement is the value in the lov has to be displayed has to be displayed automatically the first record of the LOVwhen page is rendered.
    For that i am trying to handle the Lov AM in the extended controller by using
    OAApplicationModule rootAM = pageContext.getRootApplicationModule();
    OAApplicationModule childAM1=(OAApplicationModule)rootAM.findApplicationModule("CsfPoLovAM");
    Here CsfPoLovAM is the AM of the LOV
    when i am doing this i am getting the value of childAM1 as null.
    Could you please let me know is there any other way of handling the AM of lov on the extended controller
    And there is controller is defined for the LOV .
    Thanks
    Ajay

    If there is no CO than you can put a new custom controller in the LOVRN ,in the PR method of new controller get the VO and call the firs() method of this VO like
    LOVVO.first() ;this will full fill your requirement .
    HI Pratap,
    I had created a new custom controller in the LOVRN and in the Process Request.of the controller i am getting the first record.
    like follows
    OAViewObjectImpl vo=(OAViewObjectImpl)am.findViewObject("CsfInstallLotNumberVO1");
    oapagecontext.writeDiagnostics("IN LOV CO Process Request ","vo:"+vo,4);
    if(vo!=null)
    vo.executeQuery();
    Row row=vo.first();
    oapagecontext.writeDiagnostics("IN LOV CO Process Request ","row:"+row,4);
    if(row!=null){
    String lotnumber=(String)row.getAttribute("LotNumber");
    oapagecontext.writeDiagnostics("IN LOV CO Process Request ","lotnumber:"+lotnumber,4);
    oapagecontext.putSessionValue("LotNumberParam",lotnumber);
    i am able to get this lov value in the lov window when the lov item is clicked
    and i am trying to handle that value in my exteded co its getting that value
    Thanks
    Ajay

  • How to hide the all rows except the result row in a report?

    Hi Experts,
    We have a report in which the user is interested to see only the result rows and I need to HIDE the characteristics in the rows. I was successfull in doing the same for Key figures in columns using "Calculate single value as suppress result". But I am not finding a way out to hide the characteristics in the rows.
    If I move the characteristics in rows to Free characteristics, the result row is not getting dispalyed. Also, the characteristics are  used dynamically by the formulae in columns and hence i cant remove these characteristics from the query. . The user wants the query to contain only one characteristic in the row and the result row for the key figures in columns. The report currently displays Invoice level data for each customer and this needs to be eliminated and it should display the summarised  data for every customer. Please suggest how this can be accomplished
    Regards,
    Kavitha

    Moving the char to free char will show the equivalent of result.
    Your issue likely is that this breaks the calculations since you do want the calculations done at detail level.
    To achieve this, move your char to free char (say it is 0CUSTOMER).
    For the CKF/Formula, go to aggregation tab, set the exception aggregation as Total (or whatever it was in standard behavior) and specify reference characteristic (in this case 0CUSTOMER), also check the 'Before aggregation' if you have that checkbox there.
    This will ensure the calculation is done at detail level even though the char is not included in the rows.
    If you have multiple chars to be moved to free char but included in detailed calculation, you will need to build cascading CKFs (CKF1 with ref char1, CKF2 eq to CKF1 with exception aggr on ref char2...and so on).
    Added:
    I understand you do want 0CUSTOMER in there, but something else (let us say 0DOCNO) removed. Use 0DOCNO in place of 0CUSTOMER in the case described above.
    Edited by: Ajay Das on Aug 5, 2009 8:57 AM

  • How can I filter facebook widget feeds ?

    hello everybody
    I've started using social widget on my nokia C7, it's really nice. I want to set the widget to render updates from specific network / friend list  as I am a member in a lot of pages and have more than 400 friend. So whenever I connect to the internet I get flooded by a lot of unimportant updates and the important ones are lost in this crowd
    may someone tell me how can I filter updates ?
    Thanks

    Hi flegno,
    Depending on which version that Firefox is on, currently in the Simulator is looks like there is only a way to pin the apps that result in a searched category. Searching for people in contacts who have a particular app installed does not seem to be an option? However I cannot know for sure.
    Can you give another example on what you are looking for everything.me to do?

  • How can I filter or block foreign language emails or email addresses

    How can I filter or block foreign language emails or email addresses??
    TIA
    C

    Most email clients have a provision to create a 'rule'. The rule examines the email as it is received. In generally you can search for specifically senders, recipients,subjects, or specific content words in the body. Based upon the findings of the rule, you can do something with the email (such as end it directly to the Trash).
    For example if you know where all of valid you emails come from, you can create a rule that checks the from field for an acceptable sender and sends those email's that to the inbox, while sending all emails from other senders to the trash or spam folder
    Keeping out foreign language emails is often difficult because because often it is difficult to come up with a rule that will catch them on the basis of language they are written in.
    There are also commercial products that can scan incoming email and 'score' the email based upon content, and you decide at what 'score'  you want the mail sent straight to the trash or spam folder. Verizon's spam filter does this based upon Verizon's scoring system, and actually does catch a lot of spam. It also occaisonally catches things that are not spam however....
    Hope that is helpful

Maybe you are looking for

  • IPod errors, and won't sync!

    i dropped my iPod (80 GB) a couple of days ago... and when i tried to sync it it froze for a while and then it gave a message saying this: "Attempting to copy to the disk "IPOD" failed. An unknown error occurred (-53)." Along with this other message:

  • Error message with Windows.....

    Please help me!! I am NOT good with computers and just want iTunes to work for my new iPod nano. I've downloaded everything and can open iTunes but when I try to go to the iTunes store I'm getting an error message saying the following: iTunes could n

  • When I download a file, particularly PDF's, the file does not appear in the download box. Why?

    The file will appear in the location that I set for downloads, but this is not convenient to constantly return to the computers main window and extract the file.

  • Password lock only when lid is closed.

    Hi, I have a MacBook. I am trying to find a way so that the computer prompts me for a password only when i close the lid . Not everytime the monitor goes into screensaver or sleep mode. I have looked for a solution for this all over the web, and it j

  • Bitmap index column goes for full table scan

    Hi all, Database : 10g R2 OS : Windows xp my select query is : SELECT tran_id, city_id, valid_records FROM transaction_details WHERE type_id=101; And the Explain Plan is : Plan SELECT STATEMENT ALL_ROWSCost: 29 Bytes: 8,876 Cardinality: 634 1 TABLE A