How can I have both functions "Read Only" & "Write" mode on the same form?

Dear all,
How can I have both functions "Read Only" & "Write" mode on the same form? Is it possibile for this?
Please advice,
Amy

This is what I use in some dialogs:
PROCEDURE SET_QUERY_ONLY IS
  -- Procedure Set_query_only
  -- Rend les blocks non modifiables   --
  -- Disable menus Insert/Delete/Clear --
  -- Entree               :
  -- Sortie               :
  -- Ent/Sortie     :
  -- Creation               : FD    10/2003
  -- Modification     : 
     LC$Block     Varchar2(30) ;
BEGIN
  Set_Menu_Item_Property('Edit.Insert', ENABLED, PROPERTY_FALSE ) ;
  Set_Menu_Item_Property('Edit.Remove', ENABLED, PROPERTY_FALSE ) ;
  Set_Menu_Item_Property('Edit.Clear', ENABLED, PROPERTY_FALSE ) ;
  Set_Menu_Item_Property('Action.Save', ENABLED, PROPERTY_FALSE ) ;
  LC$Block := get_form_property( NAME_IN('System.Current_Form'), FIRST_BLOCK ) ;
  -- Tous les blocs en Query only --
  While LC$Block is not null Loop
       Enable_Block( LC$Block, FALSE ) ;
       LC$Block := get_block_property( LC$Block, NEXTBLOCK ) ;
  End loop ;
END;
PROCEDURE ENABLE_BLOCK
          PC$Block in Varchar2,
          PB$Enable in Boolean Default TRUE
     ) IS
  -- Procedure Enable_block
  -- Rend le bloc Enable / Disable --
  -- Entree          : PC$Block (nom du bloc Forms)
  --               : PB$Enable (TRUE ou FALSE)
  -- Sortie          :
  -- Ent/Sortie             :
  -- Creation          : FD    10/2003
  -- Modification     : 
BEGIN
     If PB$Enable Then
          Set_Block_Property( PC$Block, INSERT_ALLOWED, PROPERTY_TRUE ) ;
          Set_Block_Property( PC$Block, UPDATE_ALLOWED, PROPERTY_TRUE ) ;
          Set_Block_Property( PC$Block, DELETE_ALLOWED, PROPERTY_TRUE ) ;
          Set_Menu_Item_Property('Edit.Insert', ENABLED, PROPERTY_TRUE ) ;
          Set_Menu_Item_Property('Edit.Remove', ENABLED, PROPERTY_TRUE ) ;
          Set_Menu_Item_Property('Edit.Clear', ENABLED, PROPERTY_TRUE ) ;
          Set_Menu_Item_Property('Action.Save', ENABLED, PROPERTY_TRUE ) ;
     Else
          Set_Block_Property( PC$Block, INSERT_ALLOWED, PROPERTY_FALSE ) ;
          Set_Block_Property( PC$Block, UPDATE_ALLOWED, PROPERTY_FALSE ) ;
          Set_Block_Property( PC$Block, DELETE_ALLOWED, PROPERTY_FALSE ) ;
          Set_Menu_Item_Property('Edit.Insert', ENABLED, PROPERTY_FALSE ) ;
          Set_Menu_Item_Property('Edit.Remove', ENABLED, PROPERTY_FALSE ) ;
          Set_Menu_Item_Property('Edit.Clear', ENABLED, PROPERTY_FALSE ) ;
          Set_Menu_Item_Property('Action.Save', ENABLED, PROPERTY_FALSE ) ;
     End if ;
END;Francois

Similar Messages

  • My ipad imessages are coming up on my husband's iphone. Is that because we share an apple id account. How can we have separate apple id's and still share the same music library.

    my ipad imessages are coming up on my husband's iphone. Is that because we share an apple id account. How can we have separate apple id's and still share the same music library.

    The biggest problem I have is with cross texting. My friends send my a imessage on ipad to ipad and it comes up as message on my husband's phone as well as my ipad?
    My friends definitely do not want my husband seeing their texts. (and I dont really need him to see my responses either)
    Also, apple id is based on my email account, how do I create a new apple id without setting up a new email account?

  • Hello good morning ....how can I have all my PDF files  in Ibooks at the same time in my iPad and my iPhone, Thanks.

    hello good morning ....how can I have all my PDF files  in Ibooks at the same time in my iPad and my iPhone, Thanks.

    That's exactly how it's going to work. Unless you've set up separate iTunes playlists for your devices, the books will be deposited the books section on iTunes, and will appear as PDFs.
    As Gus2259 said, you can use iCloud or Dropbox, or transport it through iTunes via an attached computer, or even use a cable.

  • Can 2 different users with 2 different Iphones use the same itunes to backup each phone separately? if not how can I have a backup for 2 different iphones on the same laptop?

    can 2 different users with 2 different Iphones use the same itune program to backup each phone separately? if not how can I have a backup for 2 different iphones on the same laptop?

    Here is your answer:
    http://support.apple.com/kb/HT1495

  • Can we have both 9i and 10g db running on the same machine

    Hi,
    I want to to exp/imp upgrade of my 9i db to 10g db.
    Can I have both 10g and 9i installed on the same server?
    Thanks,
    Kavitha

    Yes, provided that the HW, OS version and Patch level are certified for both 9i and 10g.
    Install 10g into a seperate ORACLE_HOME -- whether under the same "oracle" account or a different (e.g. "oracle10g" account).
    However, you should consider 11g as 10g is being desupported this month (i.e. no new patches / fixes will be available for 10g)
    Hemant K Chitale
    Edited by: Hemant K Chitale on Jun 9, 2010 10:58 AM

  • How can I have two devices with separate iTunes accounts on the same computer without sharing libraries?

    I have an iPhone 3s and my sister has an iPhone 3.  We use them only as iPods.  We each have our own iTunes account, but we have to share a computer.  How can we both syn our devices without sharing our music and app libraries?

    The most reliable way would be to set up individual user accounts in WIndows. Then each of your iTunes libraries will be completely separate.
    Regards.

  • On my PC, can I have both indesign 5.5 and 6 at the same time?

    I like working in indesign 5.5 for one magazine but i need indesign 6 for another. Can i install indesign 6 and run them both at the same time?
    Do i need the full version of both or is the upgrade to 6 enough to do this?

    The upgrade and non-upgrade versions differ only in price and the installer looking for a qualified upgrade product. The programs themselves are the same.
    As we said before, you will have no problem with both versions installed (I run back to CS3 here). If you purchase an upgrade, though, you must choose the right one. If CS5.5 is a Suite package you cannot use an InDesign-only upgrade.

  • Can I have both iMovie 11 and iMovie 6 on the same computer?

    I like the ease and layout of the previous iMovie. In my mind, it's quicker and more precise. But, at the same time, there are some good features of iMovie 11 I also like. So, I was going to download iMovie 6.0.3 and just use both of them, but then I started worrying that if I installed it, it might mess up iMovie 11, or the installation simply might not work. The pop-up window told me it is supposed to automatically upgrade anyway. I want both of them on the same computer, is that possible? Is it okay to just download and install it?

    The famous 'free' 6.03 was NO fully functional version of iMovie!
    It was just a special update for those, who didn't like then new iMovie08 - which wasn't more than just a demo, imho.With appearance of iM09, v6.03 was pulled by Apple…-
    You need a 'real' installer disk with an old version of iLIfe to install iMHD6.
    There's no legal way to download an obsolete version of iMovie.-
    iMHD6 and actual iM11 can co-exist on the same Mac.
    Afair, you need MacOS 10.6 to install it…
    Search this board … there are many people still using iMovie-a.

  • Can I have both iMovie HD and iMovie 11 on the same computer?

    I need to have both verisions on my computer. Is this possible?
    iMovie HD and iMovie 09 or 11

    Yes. I have iMovie HD and iMovie 8.

  • Hello there - how can I share my iTunes library between two users on the same computer? I put the library in a shared folder between both and have selected this library on both as well, but when I update iTunes with music etc it only appears on one?

    Hello there - how can I share my iTunes library between two users on the same computer? I put the library in a shared folder between both and have selected this library on both as well, but when I update iTunes with music etc it only appears on one?

    Thank you Joe - I tried this but it's only showing a teensy amount of music - the stuff on the second users account as opposed to the giagntic library on the 'main' account. I actually went to a Genius Bar and they said that apple doesn't really want you to share music between accounts - parents don't want to hear their kids music etc. Which seemed strange, but it might be the case sadly   Thanks anyway!

  • How can I have both genius playlist and regular playlist on my new 160g ipod classic. The list of songs are there, but when I click playlist, I only get the genius playlists.

    How can I have both genius playlists and regular playlists available on my new 160g classic ipod. I can see my entire song list, but no playlist other than the 3 genius playlist I just made.  Also how can I delete a genius playlist. Made the same playlist twice by mistake. Thanks.

    This was not a simple task.  Got it handled.  Had to call Apple support. Apparently, the 160g only syncs the genius playlist.  You have to go in and "tell it" to sync the entire playlist as well as the genius playlists. There is also an option for only syscing certain songs. On itunes, there is two sections; one for the stuff that is synced on your ipod and another separate list for the stuff in your library!  This is exciting for me as I am not computer savvy to say the least. 

  • How can I have multiple accounts and only one library

    How can I have multiple accounts and only one library that all the purchased items feed into?

    ask your wireless provider.

  • Any guys know how can I have a bigger thumbnail of indesign file on the bridge!

    Any guys know how can I have a bigger thumbnail of indesign file on the bridge!

    The slider works for me in Bridge CC. What version of Bridge are you using?

  • HT4314 Can I have more than one Game Center account on the same Apple ID? If so, how do I set it up?

    I am playing Clash of Clans on my iphone and on my iPad. I would like to connect each of my games to a different Game Center ID so I don't lose them if something happens to my device, but I can't figure out how to do that without creating new Apple IDs for each device and I don't want to do that. Any advice? Can I have more than one Game Center account under the same Apple ID? If so, how do I set it up? Thanks!

    If you use the same account see the following to separate Messages and FaceTime between the two iPod see:
    MacMost Now 653: Setting Up Multiple iOS Devices For Messages and FaceTime

  • How can i have a copy of my iphone  applications in the itunes?

    how can i have a copy of my iphone  applications in the itunes?

    Check out the part of this article that deals with the error (-50)
    Advanced iTunes Store troubleshooting

Maybe you are looking for