Trying to save an item name in a block so I can return to it.

Hi
I'm working with Oracle 10g forms developer.
I'm trying to save the field I'm in so that after I press a button to do stuff and return. I go back to the field I was in.
I've tried assigning :system.cursor_item and :system.trigger_item to a variable in my sys block but I keep getting the error
FRM-41506: Cannot find Block: invalid ID. I'm doing this in the post-change trigger of the item I want to return to.
It seems to be objecting to the statement :sys.current_discounting_field := :system.trigger_item;.
Can anyone help please?

try this:
+{YOU WILL HAVE TO DO WHATEVER PROCESSING WHERE APPROPRIATE}+
DECLARE
v_currec NUMBER(4);
v_curfld VARCHAR2(50);
BEGIN
v_currec := :SYSTEM.CURSOR_RECORD;
v_curfld := :SYSTEM.CURRENT_VALUE;
COPY (:SYSTEM.CURSOR_RECORD, :p_block || '.' || :p_field);
GO_RECORD(v_currec);
GO_FIELD (v_curfld);
END;

Similar Messages

  • Item name in detail block changed!?  Help please!

    Hi, All
    I have a master-detail relationship. The join condition is Mast.ref_id = Detail.id. There was no returning records when I run datablock. When I came backe to the form, I found that the item name for Detail.Id was changed to FMNITE. I tried a few times, the name changed to different wierd charactors.
    Did anybody have this problem?
    Thanks,
    Deborah

    Hi Deborah,
    I've had two times the same problem. Delete the relation, delete the Item and recreate them both. That was in my cases enough workaround. Before I did it, I have restartet the Forms Builder.
    Have luck
    Gerd

  • Dynamically access item names from plsql block?

    hi folks - is it possible to access the block/item names inside a form, from a plsql block within the form? does that make sense, probably not, it's gone 5pm and my brains fried today.
    I want to try and control access to various items from within a back end table. Then in the form startup, I wanted to loop through the item names, fire them through to a check_access() function, and display or hide them depending on the result.
    does that sound possible, to get the item names at runtime, or do I have to hard code each item name I want to pass to the function?
    ps. forms 10g
    thanks.

    yes! check it out:
    Looping Through Items in a Data Block

  • Upgraded to newest version of Firefox all the links were broken, it will not open in Safe Mode or anywhere else-before I uninstall it I'd like to access save my user names and and passwords from websites- can i access them without opening the browser

    i can not launch browser toget version info or anything else, when it upgraded to newest version it stopped working-i've tried launching in Safe Mode and have tried all icons

    You can save a copy of your passwords file, but I don't think you can open it without Firefox.
    Your passwords file is in your profile folder. You might want to make a backup copy of the whole folder. Info on locating the folder: [http://support.mozilla.com/en-US/kb/Profiles Profiles | How to | Firefox Help].
    You may want to try reinstalling Firefox 3.6. You can download the installer from http://www.mozilla.com/firefox/all-older

  • Hey guys I am trying to save pdf file from my email to my ipad can anyone help i tried downloading ibooks but when i click the right top corner on my pdf it wont give me and option for sav it on ibooks please help

    please help i just got this and I am very new at this

    Go to http://www.icloud.com in your computer's internet browser.  Sign in, go to Find My iPhone, locate your device there.

  • "Could not complete your request because of a program error." when trying to save to a PDF

    I'm running PS CS5 version 12 and I'm trying to save my DVD insert to a PDF so I can take it to the printers but I get this error "Could not complete your request because of a program error." I'm on a mac 27" 3.4 GHz Intel Core i7 with 8 GB or memory. Please advise.

    You might try restting the photoshop preferences:
    http://forums.adobe.com/thread/375776?tstart=0

  • HT201269 I am trying to save memory on my iPhone 4S/ ios6. Can I back up all photos to icloud and the external hard disk I normally use for photos? If I then delete photos from the iPhone do the get deleted on iCloud?

    I am trying to save memory on my iPhone 4S/ ios6.
    1) Can I back up all photos to icloud and the external hard disk I normally use for photos? If I then delete photos from the iPhone do the get deleted on iCloud?
    2) Can I back up the newsstand to iCloud and save memory on the iPhone?
    3) Can I back up the bookshelf to icloud and save memory on the iPhone?

    1. What format is the external drive? It sounds like it's ina format that Macs can't write to. Is it a NAS or NTFS?
    2. Easiest thing: just move your iPhoto Library to the external
    Make sure the drive is formatted Mac OS Extended (Journaled)
    1. Quit iPhoto
    2. Copy the iPhoto Library from your Pictures Folder to the External Disk.
    3. Hold down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
    4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
    Regards
    TD

  • An error occurred while trying to save data to rhbag.apj

    Opening a RoboHelp 8 project in new RoboHelp 11 and receive the following error:
    An error occurred while trying to save data to rhbag.apj...
    I can see this file in the project but many of my baggage files (.pdfs) are missing and I am not able to add them back into the project. I select New Baggage file and select the file to add, however the file is not added and no other error is received.
    Any assistance is greatly appreciated.

    Is the file writable or set to read only?
    Probably, the rhbag.apj got corrupted. If you open it up with notepad (or other text/xml editor), what do you see?

  • Authorization based on Item Name

    I have a requirement to allow a user administrator to define which menu tabs & pages are available to each user group. So... I can't hard code the authorization scheme at design time for each item.
    I've setup a form and table where the admin can link items to groups based on the item name. I can write a parameterized Authorization Scheme query to see if the item is available to the user's group - IF.. I can pass the item name as a variable.
    How can I make the item name available to the Authorization Scheme as a variable in a parameterized query? Or, can you think of another way to meet the spec?
    thanks,
    Mark

    I'm an eternal optimist (with a poor memory... ;o )
    I wish there were more/better/documented hooks intoI agree but this specific case is not about documentation, the product currently just doesn't support what you are looking for.
    The Apex team does seem to acknowledge that this would be a "desirable enhancement" as evidenced by Scott's comment in that thread
    We do have plans to externalize authorization controls to facilitate this kind of thing, it's just a question of resources for us

  • How to Access Item Names Property of ListBox inside of Cluster?

    In LabVIEW 2010 I have a Cluster of Controls on the Front Panel. In that Cluster I have a ListBox. How do I access the Item Names Property of the ListBox in my Block Diagram.
    From the Cluster, I can get the ListBox, but that returns an I32 value, probably the index of the selected Item.
    In the Block Diagram, how can I get the Item Name Property of the ListBox from a Reference to the Cluster?
    THANKS.
    Solved!
    Go to Solution.

    by using the "controls" array of your cluster, you can access the individual elements. You have then to convert the reference to a "more specific class" using a reference to an arbitrary listbox (or a constant reference of the required type), then you can access all properties of your listbox.
    THINK G!! ;-)
    Using LabView 2010 and 2011 on Mac and Win
    Programming in Microsoft Visual C++ (Win), XCode (Mac)

  • How I can find out all menu item name at runtime from forms 9i ?

    Hellow all
    we can find out all the block name and item name in forms at runtime.
    but
    can I find out all the menu item at runtime without knowing the name of menu item.
    I want disable some menu item at runtime.
    From
    Chirag Patel

    Hi Frank
    I hope the solution from u
    please.......
    are u got my problem ?
    from
    Chirag Patel

  • Using a control item in the control block

    I want to do; using a control item in the control block, I can control the item in the detail block and I can navigate anywhere in the detail block on the condition.
    For example, I have a master block ,a detail block,a control block.
    before move the focus from the mater block to the detail block, the focus goes to the item in the control block and run a trigger and set properties for the items in the detail block, then navigate to the item in the detail block using go_item(?).
    Is it possible? if possible would you give me some example or idea?
    thanks a lot.

    well u can.May be you want to perform add / delete/ update through your buttons in forms

  • Trying to delete file from trash but get this: The operation can't be completed because the item "File name" is in use. All other files delete except this one. Please help

    Trying to delete file from trash but get this: The operation can’t be completed because the item “File name” is in use. All other files delete except this one. Please help

    Maybe some help here:
    http://osxdaily.com/2012/07/19/force-empty-trash-in-mac-os-x-when-file-is-locked -or-in-use//

  • My MacBook Pro keeps making copies of a document that I am trying to save. I don't want to duplicate the file. I only want to save it on both my hard drive and my external hard drive. I do not want to change its name for every save, which the computer see

    My MacBook Pro keeps making copies of a document that I am trying to save. I don't want to duplicate the file. I only want to save it on both my hard drive and my external hard drive. I do not want to change its name for every save, which the computer seems insistent on doing. Help!!

    11lizzyp wrote:
    can't be saved because the file is read-only.
    I did not create the file to be read-only. I created to be able to continue to add to it as I work on it.
    More on versions here:
    http://support.apple.com/kb/ht4753
    local snapshots:
    http://support.apple.com/kb/HT4878
    Sounds like a permissions problem ie read only.
    If running repair permissions from your DiskUtility.app does not sort it,
    Someone should jump in here with erudite and concise fix.

  • When trying to save a page, I can enter file name etc, but don't see the SAVE button to click SAVE. It's like it's below the screen or something. How do I fix this?

    I was in a webpage and was trying to save it. I selected SAVE AS from the drop down menu. Then I entered the file name, and selected TEXT ONLY as file type. Only thing left to do was click SAVE, but there was no SAVE button.

    You can check it DTA or another extension isn't causing this problem.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

Maybe you are looking for

  • Can I get rid of the adverts on the right of the screen as it makes reading my mail very difficult/annoying ?

    On the right of the screen is now given over to an avert section and many items coming into my letter box I now have to move the letter back and forward / from left to right and back to the left to read each line of the letter so as this is really ve

  • Insert delete or update entry in Custom table from KONV entry changed

    Hi All, I have custom table ZKONV with only few required columns and should have same number of records as KONV has at any point in time. KONV is a cluster table so its not readable from ORACLE level. So ZKONV is created. But I dont know how to keep

  • Exception Propagation - Best Practises

    Hello, I was thinking what is the best practise for exception propogation. The way I know and have been doing is to specify an error page in my web.xml and in that I get a request paramater from the sesion ( which I populate in the catch blocks acros

  • GRC AC 5.3 Application Issue

    Hi everybody, i hope you can help me, I have a DL360 HP Server in which it is installed the components for GRC AC 5.3 with Win2003 server. The issue is that the server not respond after 1 day approximately. I try to use capacities (ERM, RAR, etc...)

  • My Adobe Premiere Pro CS4 wont export properley.

    Im running Adobe Premiere Pro CS4 on my Windows Vista & everytime I try to export my video something goes wrong. When I go to export, it opens Adobe Media Encoder & starts encoding it, but most of the time it will jus stop encoding. Even the elapsed