That's a tough one..

hi all,
my requirement is as follows:
When user inserts a new record, he has to choose a value from a combo box to define the type of the record inserted.. When he makes his selection, a data block that is nearby and holds all records of all types, has to change its contents to contain ONLY the records of the type the user is about to enter. Thus it has to be filtered to contain only a subset of its total records. That has to be done for the user to see the previous records of the type he is about to enter. After insertion is done, datablock has to change again to contain all kinds of records it had from the beginning.
In powerbuilder, this is done easily by SetFilter and then Filter a block. In Forms there is no filter mechanism (unfortunatelly) so I have to code it myself.
Any ideas how it could be done?
regards,
teo

hi francois,
I obviously forgot to mention something that should be straightforward.. Imagine my user working over the web changing the type of the record he/she's inserting 2 or 3 times.. He should wait for a query to be executed every time.. If this is not disturbing and anti-productive and and and.. what is?
For your better visualization of the situation imagine the user selecting a record type and immediatelly after that realizing he selected the wrong one and trying within seconds to change the value of the combobox without even imaging that at this exact time Forms had put focus on the other block and are trying to download some records that are already in front of his eyes and have been queried just few minutes ago.. And also imagine that at the time connection with the server has a lag or something for some reason..
What I mean of course is that I have to code this WITHOUT having to have any extra network traffic or unnecessary transactions with the data base. Records are already there, they just have to be filtered out of the block and then maybe then come back as they were before..
Hope I made it clear this time.
regards,
teo
P.S.: I think it would be a GREAT idea for Oracle to consider including a filter property on block level. Some time..

Similar Messages

  • HT201269 Bit of a tough one...I have a hard drive, iPod and iphone synced to an itunes on a computer that's been irreparably broken. Just bought a macbook pro and want to try and salvage everything onto the itunes on there. Any ideas?

    Bit of a tough one...I have a hard drive, iPod and iphone synced to an itunes on a computer that's been irreparably broken. Just bought a macbook pro and want to try and salvage everything onto the itunes on there. Any ideas?

    Yeah it seems to be fine although I'm a bit reluctant to fire it up with the Mac just incase. Thanks for the response btw

  • Help removing background...tough one.

    Hello adobe gurus...
    My 1st post...and it's a tough one (for me anyways).
    I know how to delete a backround...but I can't figure how to loose all the green in this, make it transparent and just keep the chimp. It's the gradations of the backround and his hair that are the problem.
    Any help with this is VERY much appriciated. The gauntlet is thrown down.
    Thanks, all!

    You might want to download the the freeware PSE add-on GML. This tool extracts an item from a picture and places it on a transparent background.  It works especially well in extracting fine areas such as hair, as you can see in this example. I added a white layer at the bottom so you can better see the result.
    I tried GML Matting on your picture and added the white backgrond layer.
    Refer to forum topic http://forums.adobe.com/message/2104909 for more details. Also there user Terri_F offered another method that might work for you.
    You can download GML Matting at http://graphics.cs.msu.ru/en/science/research/imageprocessing/matting

  • Ever since the latest update, my task bar (if it's called that - it's the one with "file,edit,view, etc") will "grey out" and I won't be able to type into any websites I visit. Only way to fix:either restart Firefox or reduce the window and open it again.

    Ever since the latest update, my task bar (if it's called that - it's the one with "file,edit,view, etc") will "grey out" and I won't be able to type into any websites I visit. Only way I can proceed is if either restart Firefox (very annoying) or reduce the window and open it again. Please help!

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    See also:
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    *http://kb.mozillazine.org/Corrupt_localstore.rdf

  • How do you select and move more than one bookmark at a time? Shift+Click does not select multiple items that are next to one another in a list because the item

    How do you select and move more than one bookmark at a time?
    Shift+Click does not select multiple items that are next to one another in a list because the items open in firefox before this happens.

    Use the bookmarks library. You may use Shift +Click, and Ctrl + Click to create groupings of selected bookmarks to drag and drop.
    * one method of opening the bookmarks library is keyboard shortcut <br /> Ctrl+Shift+B (Windows)
    *see also [[How to use bookmarks to save and organize your favorite websites]]
    *and [[Use bookmark folders to organize your bookmarks]]

  • I had a power mac g4 into which i put 3, 320 gb PATA hard drives in a raid slice config so that it worked as one drive needless to sat that i lost the g4 to a surge but the drives are good. now i have an imac, how can i recover the info off those drives

    i had a power mac g4 into which i put 3, 320 gb PATA hard drives in a raid slice config so that it worked as one drive needless to sat that i lost the g4 to a surge but the drives are good. now i have an imac, how can i recover the info off those drives. can i put the drives in external cases and plug them all in, will the imac see them as a raid slice then  help please

    Before you have another accident:
    Buy a UPS of good quality and sufficient to your needs.
    I would have to assume that the drives were connected to a PCI PATA card, hopefully. Otherwise, well RAID and having drives on the same bus (master and slave).
    And no backup, none at all...
    Get your hands on a G4.
    Data Rescue 3 from Prosoft maybe.
    If they were SATA and running on PCI SATA controller, very popular and common really in G4s, more options would be open.

  • My TV is mounted on a wall so I can't connect the Apple TV device. Is it possible to connect to an HD Cable Box and send signal to TV that way? Other problem is that Box only has one HDMI socket .. Help!

    My TV is mounted on a wall so I can't connect the Apple TV device. Is it possible to connect to an HD Cable Box and send signal to TV that way? Other problem is that Box only has one HDMI socket so would also have to use a splitter. Tried Apple Support but couldn't offer a solution. I can't be the only person with this issue surely?
    Help!

    No, unless you are using a home theatre system already, your only option is to connect to the TV.

  • I got an ipod classic for Christmas and it stopped playing correctly in Feb. I went to the apple store in belfast which is 45min for them to tell me that there was no one there to help on that day and to make an appointment, but a, reluctant to go back!

    my ipod classic keeps keeping my songs, and know not only is my ipod play up but itunes is too, very poor service from apple when i have been a customer for so long, i have had 4 ipods, 2 iphones and an ipad, in this day and age you would think they would provide you with a better quality of products and services! I went down to my closest apple store and the floor assistant informed me that there was no one there to help me with me problem, what a waste of time, money and fuel, now i have had the problem nealry 5 months and am relutant to go back to be turned away again, i dont even know if i am covered to get it fixed? Is there a more simple way i can sent my ipod away to get fix? but then again thats more money wasted on postage!can someone please advise the best thing to do?
    Also i think that apple need to re-think there search engine as i found it ery difficult to find were i can even book in with someone for techinical support??
    HELP BEFORE ITS TOO LATE!!!!!1

    Make an appointment at the genius bar.
    If you went without an appointment, then it would make sense that you could be turned away.

  • How to create a variance on data that exists iIn only one database column

    How to create a variance on data that exists iIn only one database column?
    I'm trying to create a calculation to show the difference between the budgets for two different years in a Discoverer crosstab query.
    I'm using the lag function to repeat the value of a column for the current year and the year before.

    Lag and lead seems to be the only choice and they work excellent. Checkout the new 10g Database features. There is new SQL modal clause which might give additional and powerful analytics but in this case lag and lead should be sufficient.
    regards
    http://www.infocaptor.com/workbook-dump.php

  • How do you read a large ( 100Mb) 3-D matrix from a file and make sure that you keep only one copy of it within the LV program for future use?

    I have to deal with large 3-D, I16 matrices that are stored in files. This data represents the density of an object at a sample point in 3-D space. I need to be able to display a 2-D section through the cube in an Intensity Chart. Since I want to update images in the intensity chart in real time to show different sections on demand I cannot adopt the approach of reading a section from the file when required - the I/O time assocaited with the disk read is way to long.
    The solution, is to keep EXACTLY one copy of the entire data set in memory at all times and then just get the required section on demand.
    This changes the disk I/O time to a memory access time, which is fast enough for my puposes.
    Here is the problem. Since the matrices are so large, I want to be very sure that I only keep one in copy of the data in memory. After a couple of weeks discussioin with Tech Support, and the development of several sample programs, they have agreed that it is not possible to do it with less than two copies of the data in memory.
    This additional memory requirement is a real problem for me and I am hoping someone is ingenious enough to come up with a way of doing it with only one.
    I can send a sample program illustrating the problem if necessary.
    Many thanks.

    Jean Pierre,
    Thanks for your reply - most kind of you to take the time. But.....
    This is exactly what I thought, and is similar in concept to the way I wrote my code. But it doesn't work. I modified you llb slightly by setting the variables to be I16's and setting the default array size to 54,000,000 and the default action to be initialize. ( I'll enclose a copy of my modified llb for you.)
    Here's what happened. I start the windows task manager, loaded LV and the program and looked at the memory shown in the task manager. It shows about 28Mb before I start to run the program. I then single step through the program. When it gets to the output of the Initial Array the memory usage jumps to about 134Mb, indicating the creation of the first copy of the array. As you continue single stepping it jumps to 239Mb as you leave the Case loop and head for the Shift Register. This memory does not drop down again.
    After talking with Platinum Tech Support, they agree and tell me that they cannot see a way to have just one copy of the array. That's why I posted it on the message board to see if there was anyone out there who had come up with an ingenious solution. It seems to be a serious limitation to labview.
    Let me know what you think.
    Thanks once again.
    Attachments:
    HugeArrayMod.llb ‏92 KB

  • Where can I see the downloads LIST when downloading podcasts, like in the older version of iTunes?  I find it frustrating that I see only one at a time now !  Any suggestions please?

    Where can I see the downloads LIST when downloading podcasts,
    like in the older version of iTunes?  I find it frustrating that I see only one
    download at a time now !  Any suggestions please?

    Thanks for taking a stab at it: that didn't prove to be the problem. That option in the settings for tabbed browsing was not checked.
    I may be a bit behind the times: I am used to tabbed browsing showing all the tabs it possibly can, instead of just the last one. Sometimes it won't even show the last tab: I can have 15 tabs open, and not see a single tab. I've been confused by this into closing a window with lots of tabs open, because it looks like a single page-window.
    My main problem with the tab-bar flashing to the end of the row is that it means a great deal more mouse-clicking around to browse.
    I haven't tried installing the latest beta. Maybe that would fix the problem.
    Toddo

  • I just bought an ipad 2, it has not arrived but i would like to cancel the order because that was not the one I wanted. Do I get my money back if I make a return?

    I just bought an ipad 2, it has not arrived but i would like to cancel the order because that was not the one I wanted. Do I get my money back if I make a return?

    You will need to talk to Apple, they would be the only ones who can tell you. We are just a user to user forum here.

  • I am trying to copy more or less 30G from my MacbookPro to an external hard drive and it is stuck in the "preparing to copy" step. But that for more than one hour. What should I do to make it faster? Thanks a lot in advance!

    I am trying to copy more or less 30G from my MacbookPro to an external hard drive and it is stuck in the "preparing to copy" step. But that for more than one hour. What should I do to make it faster? Thanks a lot in advance!

    Thanks Shootist007, by blockd files I mean files that I have changed to blocked and when I tried to move then for the first time, I had to unblock again. I am trying to backup my pictures, my songs and other files like word documents and excel tables. First I put all of them as blocked, what caused the first problems on trying to move them. Then, I've unchecked the block option and if I try to move one by one, there is no problem. The issue is to move all together, because it gets stuck in the preparing to copy files step. Anyway, if I cannot do all by once, I'll do it one by one, event though that was not suposed to happen if we are talking about technology, right? Anyway, I thank you again for trying to help me!

  • I have an Ipod touch that was used on one computer but the computer got a virus and crashed and got rid of everything. I have a new computer now so how do I transfer the music from the Ipod touch to the itunes on the new computer without losing the music

    I have an Ipod touch that was recognized as its host on one computer but the computer got a viruse and crashed and got rid of everying. I have a new computer with itunes now, so how do I have the ipod touch recognize this computer as its host computer without losing all of the music I have on the ipod touch?

    I have an Ipod touch that was used on one computer but the computer got a virus and crashed and got rid of everything. I have a new computer now so how do I transfer the music from the Ipod touch to the itunes on the new computer without losing the music

  • I transferred data from my Macbook Pro to my Mac mini but it forced me to make a new user for my old data.  How do I transfer my music, pics, and docs from the "old" user to the new user (so that I only have one user instead of 2?)

    I transferred data from my Macbook Pro to my Mac mini but it forced me to make a new user for my old data.  How do I transfer my music, pics, and docs from the "old" user to the new user (so that I only have one user instead of 2?)

    Unless you transfer the files from Setup Assistant, Migration Assistant creates a new user with the data.
    To transfer the files to your first user, you have to log on this new user, and copy all your files to /Users/Shard folder. This is a folder where you can put the files you want to share between two or more users, and all users can read and write in it.
    After copying the files, go to your first user, open /Users/Shared folder, and copy the files to your user folders. If you migrated applications, you must know that they are stored in a common folder (/Applications), so you don't have to transfer them. To open /Users/Shared folder, open Go menu (in the menu bar) > Go to Folder, and type the folder

Maybe you are looking for