Does anyone know a way of making primary keys updatable in tabular forms

Is there a way i can make my primary key updatable in a tabular form.
I have two tables one called proposal details and one called student current details. Bascially you select one of your proposal details to become your current project this is done via the proposal id. The problem is that i cannot make this field editable in a tabular form. Does anyone know how i could make this primary key updatable?

Hi Dan,
One suggestion, perhaps, would be to base the tabular form on a View rather than directly off of the table. The view could include two instances of the proposal id field - the actual field and a second field called, say, PROPOSAL_ID_EDITABLE. You can then use an INSTEAD OF trigger on the view to update the actual table data with the value entered/selected in this second field.
The reason why Apex will stop you updating primary keys is that it needs to be able to use these to get back to the original record to apply any changes. If you use a view instead, ensure that the primary key fields are not editable but allow the user to change a dummy field instead, the pk fields are available for Apex to get back to the data but the trigger will change the value instead.
Regards
Andy

Similar Messages

  • Have the oldest ipod touch. . daughter forgot password to enable it. It's now been disabled for 22K  minutes. I'm trying to reset as a new device, but iTunes is telling me it can't do anything w/it b/c it's "disabled". Does anyone know a way around this?

    Have the oldest ipod touch. . daughter forgot password to enable it. It's now been disabled for 22K  minutes. I'm trying to reset as a new device, but iTunes is telling me it can't do anything w/it b/c it's "disabled". Does anyone know a way around this?

    Read this
    iOS: Unable to update or restore

  • Using Mac OSX Install Disc 1, I am not able to get any further than the Partition tab.  It allows me to select my hard drive selection, but will not allow me to make any other selections.  Does anyone know their way around this obstacle?  Thanks!

    Using Mac OSX Install Disc 1, I am not able to get any further than the Partition tab.  It allows me to select my hard drive selection, but will not allow me to make any other selections such as options.  Does anyone know their way around this obstacle?  Am I doing anything wrong?  Thanks

    Hello, The Hatter, I read about the 'trick' of backing up, erasing, and restoring too, but I figured it would take longer than defragmenting the disk.
    But the defragmentation process has just finished! so I'm gonna try to run Boot Camp again soon!
    Thanks for your helpfulness, anyway.
    And P.S. I didn't clone my system onto the external drive, I just inserted the Mac OS X Install CD, rebooted holding down the "C" key, and installed a fresh Snow Leopard system onto the predetermined partition. I will use that in cases of emergency, when my main/internal system becomes unusable.

  • HT1711 When I am in the iTunes store site and listening to samples of music the songs stop playing after 12 seconds. Does anyone know a way to get it to play the full one and one half minutes?

    When I am in the iTunes store site and listening to samples of music the songs stop playing after 12 seconds. Does anyone know a way to get it to play the full one and one half minutes?

    I have a similar problem with at least two songs that I know of, one is an iTunes download (encrypted) the other was imported from a CD using iTunes (no encryption). Both songs play 2-3 seconds then immediately go to the next song. The "weird" thing -- I plugged my iPod into my new MacBook which has no songs other than what are on my iPod (i.e., not playing the song from another source) and both songs play fine. Unplug the iPod from the computer, plug in headphones and the songs skip again.
    I've gone through the 5 R's as well, with no luck.

  • Does anyone know a way to modify "Default Settings" printer preset?

    I use enough different presets that I find that the "Last Used" preset for printing if often what not what I really want.
    (Background: I save a number of different profiles for different types of print jobs, so that I can select "Color Production" as a preset, for example, and get a number of printer settings configured as once, like Color Settings, Quality, Color, and duplexing.  These are set and selected using the "Presets" picker in the Print dialog box.  One can use the picker to save and view settings as well.)
    Am I correct in that there doesn't seem to be a way to change the "Default Settings" preset?  The "Show Presets" pick in Presets doesn't offer the ability to change the presets, and the "Default Settings" preset can't be deleted here, unlike the user set presets; it also isn't possible to save a preset as "Default Settings".
    Ideally, changing the default would let me check the box to always use the default (as default), but this way I would have my own defaults.  Just wondering whether I'm missing something obvious - I've tried the modifier keys trick clicking on things, and also the CUPS subsystem at localhost:631.

    jptrovato wrote:
    Does anyone know a way to make a Dell 3110cn Color Laser Printer fully compatible with a Mac operating system?
    Go to the dell support site and download and install the most current drivers for your pring and operating system.

  • Does anyone know a way to reference values in cells from separate sheets?

    Does anyone know a way to reference values in cells from separate sheets?

    I had not used the iCould version.  I just fired it up. So far I don't know how to click to make a reference to another sheet but the syntax for sheet and table names when typing them in is a little different.  If there is a space character in the name, you have to put single quotes around the name.
    ='Sheet 1'::'Table 1'::B1

  • Does anyone know a way to replicate the SAPSID adm user ?

    We are trying to consult to one of our clients that using SAP/r3 with Oracle 10.2 DB.
    The client has a team of 4 DBAs, and the entire team members are using the username <SAPSID>adm in order to login to the DB and conduct changes and other operations.
    We believe this is the wrong way to handle the login authorizations, and we think that each DBA has to have his own user name in order to enable audit trail. The client's IT team manager claims they don't know how to create personal user names with the authorization level of the <SAPSID>adm, and they must use this user name for their needs and operations.
    Does anyone know a way to replicate the <SAPSID>adm user authorizations to some other DB admin user name so they will enable audit trail for each team member?

    Hello,
    You can create any number of users have authorizations similar to sidadm user but I don't think it will serve the purpose because of the way the things are designed to be maintained in SAP.
    However, you can utilize an alternative. Create individual OS IDs for each person who has to log on to OS. Assign 'sudo' access to these individual IDs to logon to 'sidadm' and 'orasid'.
    Thanks

  • IPhone stuck on connect to iTunes screen do not use iTunes or have it installed on my PCs; does anyone know of an easy fix other than updating windows then installing iTunes?  I don't have time to go through the process again and at this point will d

    Hi all- I'm new to this online community of Apple support; my iPhone 5s is stuck on a screen that has the connect to iTunes icon, this started after I upgraded to IOS 8.1.1 from the beta to fixed version; I don't use iTunes and have an IPad, home PC, office PC, and Galaxy Tab, and I went through (failed) the process of installing itunes on my office PC but needed to update windows; after going through all redommendations I could find, including Apple phone support, I still haven't had success.  Does anyone know a way to get my phone past that screen?  I don't have time to keep doing updates and installation attempts;'I don't care about the content at this point; but I can't get to the settings to "reset all" and start from scratch; I bought i loud for storage and have an old 4s that has a broken screen butt still works and I have another active 4s on my plaN.  Im not tech savvy myself; but I know some community members are pure geniuses! !I just need a fast way to fix this bug;'I use it for work and it's been inaccessible all week, the only time I have to go to an Apple Store is this weekend; I don't want to move to the iphone6 because it's too big.  I didn't know this community existed; it's cool; for this issue, I just have no time for a new phone or phone support again; I'm posting this question as a last resort; any feedback is appreciated......and I apolo in advance if this post goes under the wrong thread

    No. You have no alternative but to plug it into a computer running iTunes and restore it.

  • Does Anyone Knows How To Disable The "Check For Updates" Option in Adobe Edge Code and Reflow?

    Does Anyone Knows How To Disable The "Check For Updates" Option in Adobe Edge Code and Reflow?
    Thanks in Advance

    I don't think there is a way for Edge Code. I'm not sure about Reflow.
    Why don't you just upgrade? That will stop the notifications.
    Randy

  • HT3986 Does anyone know how to enable the "Delete" key for logging on the Windows 7 partition on the latest iMac, via the latest Apple wireless keyboard? Many Thanks

    Hi All
    Does anyone know how to enable the "Delete" key for logging on the Windows 7 partition on the latest iMac, via the latest Apple wireless keyboard - the standard wired apple keyboard works fine via this key but not the new wireless keyboard?
    Many Thanks

    Holy crap, this fixes the issue.  At least temporarily it has.  I should add that my issue was single finger forward/back swipe stopped working on the magic mouse in Firefox since Mavericks came along.  I have been fighting this since I upgraded to Mavericks a few months ago.  Thank you, tbirdvet.  You have no idea how much easier you just made using my iMac again.
    Message was edited by: wadems

  • Does anyone knows a way to work with various Pages documents at the same time, for example with a system of tabs to switch directly from one document to the other?

    Hello everyone,
    Working with numerous Apple Pages documents at the same time, I am looking for an efficient solution to switch faster from one document to the other. Integrating all them in a single framework, for exemple by switching from one to the other with a system of tabs would be of great help. Does anyone knows if such a possibility exists?
    Thanks in advance,
    Jean-Baptiste

    jbp- wrote:
    Thanks. It works and is very efficient. Not as much as a real system of tabs, but is allows to switch very fast between different documents. Only regret I would have is that it doesn't work with a document which is on full page mode. But that's already very helpful!
    You're very welcome but Peggy really gave you the answer already. 
    With regard to the full screen apps, I don't think Apple have yet worked out how to make them elegantly coexist with other apps.  The closest you can get is the four finger swipe gestures you may use on a trackpad if you have one (Mission Control and App Exposé).
    In fact nowadays I use the App Exposé (four finger swipe down gesture) more often than I use Command-Accent to move between documents in the same app (when not in full screen).  It also as the advantage of showing you thumbnails of recently opened documents below the ones already open within the app.  If you haven't tried it, I suggest you give it a whirl.
    I can't remember now but I think the four finger gestures are not enabled by default and you must switch them on in System Preferences > Trackpad > More Gestures. 

  • Does anyone know how to clear the fields between uses of a form used in Adobe Reader on an iPhone?

    The iPhone app for Adobe Reader is automatically saving the form each time it is filled out.  (Windows Adobe Reader does not do this.)  This means that you have to manually clear each field before you can use the form again.  Does anyone know a work-around?
    Thanks,

    Hi,
    Please post your question to the Adobe Reader for iOS user forum:
    http://forums.adobe.com/community/adobe_reader_forums/ios
    Regards,
    Brian

  • Using a custom PL/SQL to populate the primary key in a tabular form

    I want to use a Custom PL/SQL Function to populate the primary key when I insert a new record into a tabular form. I want to get the value from a hidden page Item. The code I am using for the primary key source is:
    BEGIN
    INSERT INTO TEAM_MEMBERS(TEAM_ID)
    VALUES(:P75_TEAM_ID);
    END;
    When I try to insert a new record I get the following error:
    Error      ERR-1904 Unable to compute item default: type = Function Body computation_type= BEGIN INSERT INTO TEAM_MEMBERS(TEAM_ID) VALUES(:P75_TEAM_ID); END; .
    ORA-06550: line 5, column 2: PLS-00103: Encountered the symbol ";" when expecting one of the following: begin case declare end exception exit for goto if loop mod null pragma raise return select update while with << close current delete fetch lock insert open rollback savepoint set sql execute commit forall merge pipe The symbol "exit" was substit
    Any ideas what I am doing wrong?
    Thanks!

    Brian - Sometimes whitespace at the end of the block causes this. Be sure to trim everything after the last semicolon including tabs and newlines.
    Scott

  • Update primary key with a tabular form based on a select list for each row

    Hello!
    I've two tables: Table1 with only one column (primary key) is a foreign key for table2.column1 (primary key). There is also a second primary key column in table2.
    Now I want to change the primary key values in table2.column1 with a tabular form (MRU) based on a select list (LOV based on table1.column1) for each row.
    The user should be able to choose for every row a new value from the select list to change the old primary key value at this position.
    How can I do this with ApEx?
    I've the tabular form and so on, but at the moment I get the following error:
    "Error in mru internal routine: ORA-20001: Fehler in MRU: row= 1, ORA-20001: ORA-20001: Die aktuelle Version der Daten in der Datenbank wurde geändert, seit der Benutzer einen Update-Prozess eingeleitet hat. ..."
    Thank you for your support!
    Kay

    Hello!
    I've two tables: Table1 with only one column (primary key) is a foreign key for table2.column1 (primary key). There is also a second primary key column in table2.
    Now I want to change the primary key values in table2.column1 with a tabular form (MRU) based on a select list (LOV based on table1.column1) for each row.
    The user should be able to choose for every row a new value from the select list to change the old primary key value at this position.
    How can I do this with ApEx?
    I've the tabular form and so on, but at the moment I get the following error:
    "Error in mru internal routine: ORA-20001: Fehler in MRU: row= 1, ORA-20001: ORA-20001: Die aktuelle Version der Daten in der Datenbank wurde geändert, seit der Benutzer einen Update-Prozess eingeleitet hat. ..."
    Thank you for your support!
    Kay

  • Does anyone know their way around the audio settings and audio cables?

    I need some help setting up some audio settings for my Ps4 in a weird way. What I want to do is what CBarner89 does on twitch. If you havnt seen him stream from his Ps4 he has his decks hooked up to his stream directly channeling the audio in to the stream. I asked around on the stream about how to do it the only reply I've had is that I should plug the RCA connection from my decks in to my controller with the aux input. Howerever when I do this there is no option in the audio settings to set the input to come from my decks. But when I plug in a pair of headphones I have that also have a mic for answering calls the option to set it my controller as an audio input is highlighted. And then I can set my controller as the main audio input.  I noticed that on the RCA cables I have for my decks have 2 black lines on the actual gold part that you insert and my headphones that have a mic has 3 black lines is this something to do with it?

    Unfortunately I could get neither of these to work, probably because of my own ineptitude.
    I couldn't get VLC to output from Spotify, this could be my own fault.
    I also couldn't make Airplay play with OS X 10.3.9.
    I did however find a messy workaround.
    I am currently using Airfoil on my main Desktop to output Spotify and then am receiving it on Airfoil Speaker on my iPhone, which is in turn connected to my 10.3.9 iMacs audio input via a 3.5mm Jack.
    You need to download an app called LineIn for 10.3 (http://www.rogueamoeba.com/legacy/) to play the sound from the input from the built in speakers.
    To be fair it's not that messy it just requires you to have a device that can have Airfoil Speakers installed on it and have a 3.5mm Jack.

Maybe you are looking for

  • JBoss Can't find Oracle Driver

    Hello, everyone, I'm hoping someone can help me. I've created a small web service. I have one method which returns something very straight forward, and it works fine. I have then progressed this to try to return some data from an Oracle table. Howeve

  • Oracle 9.0.1 SQL*Plus and PL/SQL

    Having just upgraded from Oracle 8.0.1 to the above, can anyone suggest a good book for learning the above languages as I believe there is quite a lot of difference in the codes, which also contains some good exercises for trying them out. Phil.

  • ITunes won't go to next or previous songs...

    Yesterday (or the day before) my iTunes started playing only one song at a time...and the "next song" & "previous song" commands won't work - whether I use ctrl-arrow command or click the button...does anyone know how to fix this, have any suggestion

  • Crystal report XI R2 - ClientDocument java.lang.NoClassDefFoundError

    Post Author: Mauro.Garlaschelli CA Forum: JAVA I downloaded Crystal Report XI R2 and i deployed the CrystalReportsSample web application into my Tomcat. When I try to view the example the following error is thrown:javax.servlet.ServletException: com/

  • Need help with method development

    I want to stop the takeInput method when the user enters -1. But the way it is currently written, it just continues to repeat, and I can't figure out why. What needs to be changed? import java.util.*; public class Appt      public static Scanner kb =