How to stop just one item being reset when sumbit is pressed?

How can i keep the value of just one item when the submit button is pressed. This field will always be the user id of the user logged on so i dont want it to be reset. I have tired doing a simple query to select the id everytime the page loads but the value then appears null when i do an insert statement to create a particular record for the user in a table.
Anyone any ideas?

Right I could see how the APP_USER would work but it wouldn’t work in this situation.
To be more specific I want the id of the user which is called student id to stay the same all the way through the application as there id refers to them. What I have is that when a user logs on it takes them to their details and a menu part. One of the options is to enter some documents relevant to them. So when they click this option a new page opens showing a report of all the current documents as well as a form where you can update, insert new and delete documents.
When you load the page the report and form work fine with the correct student id being passed form the pervious page. If however you create a document all the fields in the form get reset. I therefore want a way of stopping the student id from being reset when you create or delete a document. Basically if the page refreshes.
I can run an sql query that gets the correct student id if the field is null and displays it correctly in the form but for some reasons (im guessing cos its a result of a query) when it tries to process this when I submit the field is null.
Any ideas as this one has got me

Similar Messages

  • How to stop music folder from being created when changing media folder

    When I try to change the media folder location, a new "music" folder is created - how do I stop this from happening (I already have a music folder that I want it to default to, but when I try to select it, it creates another music sub folder)
    This is a new issue - I have been using itunes for years without ever having this problem...

    That's how itunes 9 works, now. The top-level folder is considered the "Media" folder and there are music, podcast, movie, audiobook, etc subfolders.
    Which is better in a way, since before itunes 9, everything was dumped in a music folder, even audiobooks that weren't music.
    http://support.apple.com/kb/ht3847

  • How to stop the Dialog from being dragged

    I was hoping that someone could tell me when calling a Dialog from Jframe, a how to stop the Dialog from being dragged
    while a dialog is showing.
    When it is visible I can still click and drag the Dialog
    I want to set it so you can not drag it until the dialog has be closed.

    If you don't have access to the parent frame, a "hack" that usually works:
    Frame frame = Frame.getFrames()[0];
    if (null != frame && frame instanceof JFrame){
    JFrame jf = (JFrame)frame;
    JDialog jd = new JDialog(jf, "title");
    ... code here ...
    As each JFrame (or Frame) is opened, its stored in the array of Frames that you can get. Same thing with Dialog.getDialogs(). Almost always, at least so far for me I've never had this problem, the [0] index is the main window opened, or the parent/top frame. I'd put the check in there to be safe and make sure its a JFrame and usually you'll only have the one JFrame.

  • One item being skipped

    Syncing a blackberry curve with Outlook 2003 on Exchange 2003.  Using internet email for blackberry.  When syncing, the data moves between the device and Outlook without an issue.  However, I constantly get an error message about one item being skipped.  It will say Address Book Handheld 0: Outlook 1 and to 'see the log file for details'.  I look at the log file but can't really get a clear picture of what is going on.  It also repeatedly tells me it is going to add items to the Calendar, even though they have already been synchronized.  I removed Desktop Manger entirely and downloaded and reinstalled the newest version.  I exported all contacts to a PST, deleted them, synched to empty the contacts, imported back to Contacts and resynched.  Same message.  Do I have a corrupt Contact?  How do I find out?

    Hello kimscoles,
    It looks like you might want to check out this article for your skipped contact during synchronization "Records skipped during synchronization using BlackBerry Desktop Manager".
    hope this helps
    -tg
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click Solution? for posts that have solved your issue(s)!

  • Remove UWL Action from just one item type

    I would like to remove the "forward" action from only one item type in the UWL.  There is the ability to remove an action from all items in a particular iView using "List of UWL Actions to exclude", however, I can not find out how, or if it is possible to exclude a UWL action in the XML configuration file for just one item type.  We are on NWO4s sp 05.  Does anyone know if this can be done and what the xml snippet would look like that would remove the "forward" action from a single item type?
    Regards,
    Stephanie.

    Kiran,
    The xml snippet you sent does remove the "forward" action from the UWL preview iView, but it does not remove the action from the list view.  To the right of every item in the list view is the "properties" icon (unclear on the actual name of this icon - the one that has 3 small lines and a triangle).  When this is clicked the "forward" option still appears.  I am looking for a way to totally disable the forward option on the defaultView, but only for certain item types.
    Regards,
    Stephanie.

  • How to stop volume icon from being displayed randomly

    How to stop volume icon from being displayed randomly

    Thanks for the quick response.
    I have a number of slides which act as a training module. The quiz follows this. All the answers to the quiz are in the module slides. I'd like the user to be able to see which questions they're failing on, but not be shown the answers, as, if they are failing the quiz, the whole module needs to be reviewed and the test retaken.
    If this isn't possible, I'll probably just remove the review option, thereby meaning my retake button can stay, and the user can just go back and re-read the module slides to learn the answers.
    Thanks

  • WM: Transfer Requirements with just one item

    Hi experts,
    does anybody know if it is possible to customize WM in order to create just one item per transfer requirement.
    My problem is that in material staging from PP, I have customized creation of transfer requirements on order release. If OF consist of three components, system create one transfer requirement with 3 items, nevertheless I need to create 3 transfer requirement.
    Thanks

    No std funcationality available but i have done in the Past using the PO item user exit to force the user to enter the one line item PO only or the same item in the next line.
    so with the developement it is possible

  • How to synchronize just one folder with bookmarks?

    Is there any way how to synchronize just one particular folder with bookmarks between different PC? I have found a several options how to synchronize all bookmarks between PCs, but none of them has the option to pick just one particular folder.
    Can you help?

    No, it is all or nothing. You can't select which bookmarks folders to sync.

  • How to restore just one calendar user

    Hi,
    I use UNIDBRESTORE to restore the node and configuration information of my calendar.
    But does anybody know how to restore just one or more
    calendar users?
    Thanks,
    Fred

    funny, but I found the solution... I Have to use UNIRESTORE.
    Fred

  • I have a new mac book pro System Version: OS X 10.9.4 just one week old. When i play games using chrome the mac gets super hot and in the middle and the bottom. I had to return a mac last week because of this and got a new one replaced. But it still

    I have a new mac book pro System Version: OS X 10.9.4 just one week old. When i play games using chrome the mac gets super hot and in the middle and the bottom. I had to return a mac last week because of this and got a new one replaced. But it still

    I ran the diagnostics suggested in Macbook Pro Running Slow and Overheating, High kernel_task CPU Usage. Results below. Any help would be great.
    System Version: OS X 10.9.4 (13E28) 
    Kernel Version: Darwin 13.3.0
    Boot Mode: Normal
    Model: MacBookPro11,1
    USB
       Dell USB Optical Mouse (Dell Inc.)
    System diagnostics
       2014-09-20 PluginProcess spin
       2014-09-20 PluginProcess spin
       2014-09-20 iTunes spin
       2014-09-22 PluginProcess spin
       2014-09-22 PluginProcess spin
       2014-09-25 PluginProcess spin
       2014-09-26 Google Chrome spin
       2014-09-26 Google Chrome spin
    User diagnostics
       2014-09-20 CalendarAgent crash
       2014-09-22 DashboardClient crash
    Kernel messages
       Sep 26 17:21:23   IOPPF: Sent gpu-internal-plimit-notification last value 4 (rounded time weighted average 4)
       Sep 26 17:21:35   IOPPF: Sent cpu-plimit-notification last value 5 (rounded time weighted average 5)
       Sep 26 17:21:35   IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 3 (rounded time weighted average 3)
       Sep 26 17:21:35   IOPPF: Sent gpu-internal-plimit-notification last value 3 (rounded time weighted average 3)
       Sep 26 17:21:47   IOPPF: Sent cpu-plimit-notification last value 8 (rounded time weighted average 7)
       Sep 26 17:21:47   IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 3 (rounded time weighted average 3)
       Sep 26 17:21:47   IOPPF: Sent gpu-internal-plimit-notification last value 3 (rounded time weighted average 3)
       Sep 26 17:22:01   IOPPF: Sent cpu-plimit-notification last value 5 (rounded time weighted average 7)
       Sep 26 17:22:01   IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 2 (rounded time weighted average 3)
       Sep 26 17:22:01   IOPPF: Sent gpu-internal-plimit-notification last value 2 (rounded time weighted average 3)
       Sep 26 17:22:21   IOPPF: Sent cpu-plimit-notification last value 10 (rounded time weighted average 9)
       Sep 26 17:22:21   IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 4 (rounded time weighted average 3)
       Sep 26 17:22:21   IOPPF: Sent gpu-internal-plimit-notification last value 4 (rounded time weighted average 3)
       Sep 26 17:22:34   IOPPF: Sent cpu-plimit-notification last value 8 (rounded time weighted average 8)
       Sep 26 17:22:34   IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 5 (rounded time weighted average 5)
       Sep 26 17:22:34   IOPPF: Sent gpu-internal-plimit-notification last value 5 (rounded time weighted average 5)
       Sep 26 17:22:47   IOPPF: Sent cpu-plimit-notification last value 6 (rounded time weighted average 6)
       Sep 26 17:22:47   IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 5 (rounded time weighted average 5)
       Sep 26 17:22:47   IOPPF: Sent gpu-internal-plimit-notification last value 5 (rounded time weighted average 5)
       Sep 26 17:23:01   IOPPF: Sent cpu-plimit-notification last value 7 (rounded time weighted average 7)
       Sep 26 17:23:01   IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 5 (rounded time weighted average 5)
       Sep 26 17:23:01   IOPPF: Sent gpu-internal-plimit-notification last value 5 (rounded time weighted average 5)
       Sep 26 17:23:12   IOPPF: Sent cpu-plimit-notification last value 6 (rounded time weighted average 6)
       Sep 26 17:23:12   IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 5 (rounded time weighted average 5)
       Sep 26 17:23:12   IOPPF: Sent gpu-internal-plimit-notification last value 5 (rounded time weighted average 5)
    Extrinsic daemons
       com.adobe.fpsaud
    Extrinsic agents
       com.google.keystone.user.agent
    launchd items
       /Library/LaunchDaemons/com.adobe.fpsaud.plist
        (com.adobe.fpsaud)
       Library/LaunchAgents/com.apple.FolderActions.enabled.plist
        (com.apple.FolderActions.enabled)
       Library/LaunchAgents/com.apple.FolderActions.folders.plist
        (com.apple.FolderActions.folders)
       Library/LaunchAgents/com.google.keystone.agent.plist
        (com.google.keystone.user.agent)
    Startup items
       /Library/StartupItems/TuxeraNTFSUnmountHelper/TuxeraNTFSUnmountHelper
    Extrinsic loadable bundles
       /Library/Internet Plug-Ins/Flash Player.plugin
        (com.macromedia.Flash Player.plugin)
       /Library/PreferencePanes/Flash Player.prefPane
        (com.adobe.flashplayerpreferences)
       /Library/PreferencePanes/Tuxera NTFS.prefPane
        (com.tuxera.ntfs.mac.prefpane)
       Library/Address Book Plug-Ins/SkypeABDialer.bundle
        (com.skype.skypeabdialer)
       Library/Address Book Plug-Ins/SkypeABSMS.bundle
        (com.skype.skypeabsms)
    User login items
       iTunesHelper
       Google Chrome
    Restricted user files: 45
    Elapsed time (s): 75

  • I have a new mac book pro System Version: OS X 10.9.4 just one week old. When i play games using chrome the mac gets super hot and in the middle and the bottom. I had to return a mac last week because of this and got a new one replaced.

    i have a new mac book pro System Version: OS X 10.9.4 just one week old. When i play games using chrome the mac gets super hot and in the middle and the bottom. I had to return a mac last week because of this and got a new one replaced.The issue still remains

    I ran the diagnostics suggested in Macbook Pro Running Slow and Overheating, High kernel_task CPU Usage The results are below.
    System Version: OS X 10.9.4 (13E28) 
    Kernel Version: Darwin 13.3.0
    Boot Mode: Normal
    Model: MacBookPro11,1
    USB
       Dell USB Optical Mouse (Dell Inc.)
    System diagnostics
       2014-09-20 PluginProcess spin
       2014-09-20 PluginProcess spin
       2014-09-20 iTunes spin
       2014-09-22 PluginProcess spin
       2014-09-22 PluginProcess spin
       2014-09-25 PluginProcess spin
       2014-09-26 Google Chrome spin
       2014-09-26 Google Chrome spin
    User diagnostics
       2014-09-20 CalendarAgent crash
       2014-09-22 DashboardClient crash
    Kernel messages
       Sep 26 17:21:23   IOPPF: Sent gpu-internal-plimit-notification last value 4 (rounded time weighted average 4)
       Sep 26 17:21:35   IOPPF: Sent cpu-plimit-notification last value 5 (rounded time weighted average 5)
       Sep 26 17:21:35   IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 3 (rounded time weighted average 3)
       Sep 26 17:21:35   IOPPF: Sent gpu-internal-plimit-notification last value 3 (rounded time weighted average 3)
       Sep 26 17:21:47   IOPPF: Sent cpu-plimit-notification last value 8 (rounded time weighted average 7)
       Sep 26 17:21:47   IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 3 (rounded time weighted average 3)
       Sep 26 17:21:47   IOPPF: Sent gpu-internal-plimit-notification last value 3 (rounded time weighted average 3)
       Sep 26 17:22:01   IOPPF: Sent cpu-plimit-notification last value 5 (rounded time weighted average 7)
       Sep 26 17:22:01   IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 2 (rounded time weighted average 3)
       Sep 26 17:22:01   IOPPF: Sent gpu-internal-plimit-notification last value 2 (rounded time weighted average 3)
       Sep 26 17:22:21   IOPPF: Sent cpu-plimit-notification last value 10 (rounded time weighted average 9)
       Sep 26 17:22:21   IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 4 (rounded time weighted average 3)
       Sep 26 17:22:21   IOPPF: Sent gpu-internal-plimit-notification last value 4 (rounded time weighted average 3)
       Sep 26 17:22:34   IOPPF: Sent cpu-plimit-notification last value 8 (rounded time weighted average 8)
       Sep 26 17:22:34   IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 5 (rounded time weighted average 5)
       Sep 26 17:22:34   IOPPF: Sent gpu-internal-plimit-notification last value 5 (rounded time weighted average 5)
       Sep 26 17:22:47   IOPPF: Sent cpu-plimit-notification last value 6 (rounded time weighted average 6)
       Sep 26 17:22:47   IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 5 (rounded time weighted average 5)
       Sep 26 17:22:47   IOPPF: Sent gpu-internal-plimit-notification last value 5 (rounded time weighted average 5)
       Sep 26 17:23:01   IOPPF: Sent cpu-plimit-notification last value 7 (rounded time weighted average 7)
       Sep 26 17:23:01   IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 5 (rounded time weighted average 5)
       Sep 26 17:23:01   IOPPF: Sent gpu-internal-plimit-notification last value 5 (rounded time weighted average 5)
       Sep 26 17:23:12   IOPPF: Sent cpu-plimit-notification last value 6 (rounded time weighted average 6)
       Sep 26 17:23:12   IOPPF: Sent gpu-internal-single-slice-plimit-notification last value 5 (rounded time weighted average 5)
       Sep 26 17:23:12   IOPPF: Sent gpu-internal-plimit-notification last value 5 (rounded time weighted average 5)
    Extrinsic daemons
       com.adobe.fpsaud
    Extrinsic agents
       com.google.keystone.user.agent
    launchd items
       /Library/LaunchDaemons/com.adobe.fpsaud.plist
        (com.adobe.fpsaud)
       Library/LaunchAgents/com.apple.FolderActions.enabled.plist
        (com.apple.FolderActions.enabled)
       Library/LaunchAgents/com.apple.FolderActions.folders.plist
        (com.apple.FolderActions.folders)
       Library/LaunchAgents/com.google.keystone.agent.plist
        (com.google.keystone.user.agent)
    Startup items
       /Library/StartupItems/TuxeraNTFSUnmountHelper/TuxeraNTFSUnmountHelper
    Extrinsic loadable bundles
       /Library/Internet Plug-Ins/Flash Player.plugin
        (com.macromedia.Flash Player.plugin)
       /Library/PreferencePanes/Flash Player.prefPane
        (com.adobe.flashplayerpreferences)
       /Library/PreferencePanes/Tuxera NTFS.prefPane
        (com.tuxera.ntfs.mac.prefpane)
       Library/Address Book Plug-Ins/SkypeABDialer.bundle
        (com.skype.skypeabdialer)
       Library/Address Book Plug-Ins/SkypeABSMS.bundle
        (com.skype.skypeabsms)
    User login items
       iTunesHelper
       Google Chrome
    Restricted user files: 45
    Elapsed time (s): 75

  • How do i deauthorize one computer in itunes when the limit of 5 authorizations was reached less than one year ago?

    How do I deauthorize just one PC in itunes when the limit of 5 authorizations was met less than one year ago?

    the authorized 5 are one computer

  • How do I keep McAfee from being downloaded when I update Acrobat?

    How do I keep McAfee from being downloaded when I update Acrobat?  I'm being spamed by Acrobat!

    If you are talking about this proble, the answer is in the thread:
    http://forums.adobe.com/thread/1065811?tstart=120

  • How to stop an app from auto starting when signing on?

    how to stop an app from auto starting when signing on?

    Several point :
    1st : do you select "auto relaunch" application when you close ML last time? don't do that next time
    2nd : in system preferences/Users and Groups look at applications that are selected for automatic opening. You can remove application. Tab called "Open At Login"
    3rd : have a look at /Library/LaunchDeamons/
    4th : buy Lingon
    Hope it can help

  • How can I stop sound track from being divided when adding clips to other tracks in PrE12?

    The situation:
    I have a project with several minutes of video clips on the timeline (expert view) in "Video 1/Audio 1."  There is also music on the sound track (below the empty "Narration" track).
    Any time I make an edit to the Video 1 track, PRE cuts the Sound Track.  (Note that this is not the Audio 1 track, it's the sound track which is two tracks away.)  If I insert a clip, the Sound Track is cut and left with a gap.  Same if I do a FreezeFrame insert.  This is bad enough (make ten insertions, have the Sound Track chopped into ten separate pieces), but it gets worse: when I try to slide the Sound Track pieces back together, the Video 1 clips will be moved around.
    This appears to be a major bug but I'm hoping there is a simple way to deal with it.
    Here's what the Manual (p.71) has to say about it (not much).
    "When you insert a clip into the Expert view timeline, adjacent clips on all tracks shift to accommodate the new clip. By shifting all clips together, the audio and video of the existing clips remain in sync."
    * The question here is, adjacent to what?  The Sound Track is a continuous music clip of many minutes; it is alone on the Track, and there is nothing on the track above it (Narration track).  So it's not adjacent to anything, and yet it is being chopped up.
    The Manual continues:
    "Sometimes, you don’t want all clips to shift with each insertion. For example, when you add background music that superimposes the entire movie, you don’t want clips to shift."
    *They got that right, but they don't say anything about how to prevent it.
    This next makes no sense at all:
    "To shift specific clips togather, press the Alt key as you insert.  At a time, you can shift specific clips simultaneously on a maximum of two tracks.  These include the track receiving the insertion and the track containing the linked audio or video (if any). The affected tracks shift together, remaining aligned. The clips on other tracks are unaffected."
    *There is no mention of how to specify what clips would be shifted, or not.
    I'm not dealing with linked clips.  And they tell me how to shift clips (sort of) but nothing about how to stop clips from being cut up and shifted.  This all makes it very hard to create a coordinated product.
    Any suggestions or solutions will be much appreciated.

    Thanks, ATR,
    I wll try this--but I still am unclear on how to do what the Manual says is possible: select clips on another track that WILL be moved, if I so desire, so as to remain synched to the main Video track.
    UPDATE:
    In the case of inserting Freeze Frame, I just tried both Ctrl method and Alt method, and neither worked.
    1. Put Video on Vid1 track
    2. Put Music on Sound Track
    3. Ran a few seconds of Vid
    4. Stopped Vid, selected Freeze Frame
    5. Held down Ctrl key while clicking "Insert in Movie"  also tried with holding down Alt key.
    Result: a 3 second still was inserted int the Vid1 track.  A corresponding gap was created in the Sound Track.
    6. Slid the final part of the Sound Track to the left along the timeline to re-connect it to the next segment created by the above process.
    Result: the video following the final Freeze Frame was pushed to the right end of  Video1 track.
    7. Slid the Sound Track all the way to the left.
    Result: the entire Video 1 Track contents were pushed to the right and divided in pieces.
    I documented each step with screen shots which I can send if you want them and if I can figure out how to do it.
    UPDATE #2
    In the case of inserting a video clip to the Timeline, I just tried both Ctrl method and Alt method, and neither worked.
    1. Locate video in Project Assets
    2a. R click video in Project Assets (pull-down menu appears), hold down Ctrl, click Insert to Timeline.
    Result: Vid clip is inserted on Video 1 track, Sound Track is separated with a corresponding gap.
    2b.  R click video in Project Assets (pull-down menu appears), push Alt
    Result: pull-down menu disappears as soon as Alt is pushed down.
    I can stil drag the Vid clip but it's one more manual step...I love shortcuts!!

Maybe you are looking for

  • Error while creating financial application

    i have installed hyperion 11.1.1.4 on windows server 2008 R2, with sql server 2005 as my database server. when i login into workspace and tried to create the HFM appication iam getting the following error. hyp:19000/hfm/GlobalWorkspaceNav/bpm/modules

  • Delete SLD Registration in RWB

    Hi,       I would like to delete the component Name (Adapter Engine) listed in Non-central components, as the host name/system doesn't exists anymore. The reason I would like to delete is, whenever we make the changes to any IB objects, save and acti

  • Problem in Implement multiple BADI

    Hi, i want to use one Definition in BADI for multiple implementation, but when i have been use in my program, it's give me a runtime error like below. Runtime errors         RAISE_EXCEPTION               Occurred on     12.07.2007 at 11:55:50        

  • Finding the newest pricelist date

    Hi, I have a custom table for pricelists. I have been looking for a FM in order to be able to get the record with the latest pricelist. The valid-from field has to be the newest (closest to) today. How can I get the newest date ?

  • How do I get totally rid of the update to iOS 7.1.2 on 23MB for my iPhone 5?

    How do I get totally rid of the update to iOS 7.1.2 on 23MB for my iPhone 5? Do I need improvement of iBeacon connectivity and stability? Do I need a bug fix for data transfers for some 3rd party accessories, including bar code scanners? Do I need to