Setting the update property of the row of a records group to false IN ORACL

hello
i have to populate a records group with the previous records user had entered as well as enable the user to enter new record in that RECORD GROUP IN ORACLE 6I FORMS.
I want that previous record that user had entered caN NOT BE EDIT .USER CAN SEE THESE RECORDS ONLY AND ACCORDINGLY ADD NEW RECORDS IN SAME RECORD GROUP.
PL TELL ME HOW TO DO THIS.
THANKS & REGARDS
VISHAL AGRAWAL

I also try for which u mentioned earlier but it is like selectting individual records to display in my tablular record group.
we are using following code for fetching data and displaying it into records group and also making all fetched record disabled.
code is given below :
PROCEDURE fetchdata(mf char) IS
cursor c1 is select dateofmtrl,rm1,rm2,rm3 from rawmtrl_graph
where
dateofmtrl between TO_DATE(TO_CHAR(ADD_MONTHS(SYSDATE, 0),'YYYYMM'),'YYYYMM') and
TO_DATE(TO_CHAR(ADD_MONTHS(SYSDATE, + 1),'YYYYMM'),'YYYYMM') - 1 and
mtrl_flag = mf
order by dateofmtrl ;
r1 c1%rowtype;
lstrec number;
cnt number :=1;
BEGIN
go_block('dtl');
     last_record;
lstrec:=:system.cursor_record;
for ctr in 1..lstrec
loop
     delete_record;
end loop;     
first_record;
     open c1;
     loop
          fetch c1 into r1;
          exit when c1%notfound;
          if :dtl.date1 is not null then
               next_record;
               end if;
               :dtl.date1:=r1.dateofmtrl;
                    :dtl.opc:=r1.rm1;
                         :dtl.ppc:=r1.rm1;
                              :dtl.total:=r1.rm1;          
     end loop;
     close c1;
last_record;
lstrec:=:system.cursor_record;
first_record;
for ctr in 1..lstrec
loop
SET_record_PROPERTY(:system.cursor_record,'dtl',ENABLED,PROPERTY_FALSE);
SET_RECORD_PROPERTY(:SYSTEM.CURSOR_RECORD, 'dtl',UPDATE_ALLOWED,PROPERTY_FALSE);
SET_RECORD_PROPERTY(:SYSTEM.CURSOR_RECORD, 'dtl',insert_allowed,PROPERTY_FALSE)
next_record;
end loop;     
     first_record;
END;
But it is not working...
givinng the erros that no such property for set_record_property
pl tell me how to modify the code to disable some selected raws in a record group............

Similar Messages

  • Changing the Updatable property of a View Object Attribute through code

    Hi,
    Is there a way to set the "Updatable" property of an attribute in a view object through code ?
    I checked the API docs for the AttributeDef class but there is no method to set this. there is a constant (UPDATEABLE_WHILE_NEW) which gives the current value.
    My requirements in short - I have a ADF editable Table. Based on a flag whether it is SET or NOT, i need to make a particular column such that the inputTextBox on this column must appear for only the new rows inserted into the table. For all the existing rows users should not be allowed to edit values on this column.
    I know this can be controlled with the UPDATABLE property on the attribute in the view object by setting the value as "WHILE  NEW".
    Now i need to control this through code at runtime.
    Please let me know on ow to do this.
    JDev version: 11.1.2.3
    Thanks.

    the method you are looking for is available in the AttributeDefImpl class which you can get from the EntityImpl like
    this.mDefinitionObject.getAttributeDefImpl("YOUR_ATTRIBUTE_NAME").setUpdateableFlag(AttributeDef.UPDATEABLE_WHILE_NEW);
    Timo

  • Unable to set the colorIndex Property of the Interior Class

    HI
    Iam trying to Update the Accound Dim with New Property 'CostAcc" IN SAP BPC.
    i entered the text and lenth of the property then i clicked on Modify The Dim Property. then its giving a warning message"Unable to set the colorIndex Property of the Interior Class"
    BPC Experts pls send me a  sollution
    Thanks in advance
    Regards
    NarsiP
    SAP BPC Consultant
    OutLookSoft SA

    Did you process your account dimension before to add you property?
    Are you sure that your account dimension was working before to apply your modification?
    Did you add just one property ore more properties?
    Did you delete any existing properties?
    Did you try to do modify account dimension without adding any porperties to see if that dimension is fine?
    Regards
    Sorin Radulescu

  • How to set a system property via the config tool?

    Hello,
    how can I set a system property via the config tool? Before I chose WAS from SAP I used java with option -D<name>=<value> to set the system properties.
    Very much thanks in advance.
    Regards
    Carsten

    Hi Carsten,
    WAS config tool is located under
    e.g. usr\sap\J2E\JC00\j2ee\configtool
    start configtool.bat
    there will be opened a configuration tool GUI
    Click on the instance_ID.... leaf of the tree in the left pane and then on the server_ID.... leaf.
    Java settings will appear in the right pane after this steps.
    Best Regards,
    Violeta

  • Setting Non-Editable property for selected Rows in jTable

    Hi,
    I want particular rows to be set non-editable within a jTable. For example. If I have seven rows as follows:
    1
    2 - (Non-editable)
    3
    4
    5 - (Non-editable)
    6
    7
    I want to set non-Editable property to the second & Fifth Rows(say) alone. Other Rows, I may edit.
    How can I do this?
    Thanks in adv.

    TableModel has method
    boolean isCellEditable(int rowIndex,
    int columnIndex)
    so you need to make your table model return false for these rows.

  • HT4972 if you backup everything prior to update to ISO 5 then click all buttons under summary after transferring all paid apps from iPad and then I do the update, won't the restore then  just put the old OS on it.  I am sooo lost when it says the way you

    Dear iPad Wizards,
    I am a beginner. I have an ipad and I need to upgrade to ISO 5 and I have purchased APPS on my iPad.  All the warning are scaring me.  Right now all of my sync square buttons are not turned on.  One of the warnings says I will loose my apps if I don't transfer them.  I did that (with another warning).  Then it said to back up the iPad, which I did. Heck all I want to do is upgrade my version correctly.  It then makes a statement that is something like when you are updating your version, make sure you have all your apps sync set normal, but when I do that it says you will loose all apps, but what the heck is normal (I say at this point).  So, since I am so lost and don't know what to do, do I just chuck it up to a learning experience because if I now restore everything after I do the update it seems that it will restore the old ISO...Am I correct.  I was just really thrown for a loop with that statement that is highlighted and I am still no where except backed up and apps purchased transfered to itunes.  Anybody else in the world ever have this happen to them?  I am truly thankful for anyone who might be able to help me.  I am thankful in advance if anyone understands this email.  Looking forward to someone who understand. 
    With Many Thanks
    8infinity8

    To update to iOS 5.1.1, connect the iPad to your computer's iTunes and copy any purchases off the iPad to your computer via File > Transfer Purchases - you may also want to copy photos and any important documents off the iPad as well e.g. via the file sharing section at the bottom of the device's apps tab when connected to iTunes, via wifi, email, dropbox etc - they should be included in the backup, but it's best to have a copy of them outside of the backup just in case. You can then force a backup of the iPad by right-clicking the iPad 'Device' on the left-hand side of iTunes and selecting 'Backup'.
    You can then start the update by selecting the iPad on the left-hand side of iTunes, and on the Summary tab on the right-hand side clicking the Check For Updates button.
    Updating to iOS 5+ : http://support.apple.com/kb/HT4972

  • Cannot connect to iTunes message appears when trying to access the updates section of the AppStore? How can I fix?

    Cannot connect to iTunes message appears when trying to access the updates section of the AppStore? How can I fix?

    The Complete Guide to Using the iTunes Store
    http://www.ilounge.com/index.php/articles/comments/the-complete-guide-to-using-t he-itunes-store/
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    This works for some users. Not sure why.
    Go to Settings>General>Date and Time> Set Automatically>Off. Set the date ahead by about a year.Then see if you can connect to the store.
     Cheers, Tom

  • I updated my iphone 4s to the latest ios ( 6.1.3 ) and afte the update i found the wifi is grayed .. any help is really appreciated

    i updated my iphone 4s to the latest ios ( 6.1.3 ) and afte the update i found the wifi is grayed .. any help is really appreciated

    This is most often a severe hardware fault of the WiFi Chip. But steps to try are, Settings App > General > Reset > Reset Network Settings. See if fixed. If not, Restore iPhone with iTunes on your computer. See if fixed. If not, and if there is Warranty or AppleCare make Genius reservation or set up service and take or send to Apple for resolution.

  • Some one's email id is displaying on the update menu of the app store what was that

    some one's email id is displaying on the update menu of the app store what was that

    You installed a hacked app, originally from the Mac App Store. It contains the receipt for a different app, downloaded using an account that you don't control. You need to identify and remove the hacked app.
    Important: The app you need to remove is not necessarily the one named in the App Store notice. For example, if the App Store says you need to update "Twitter," the hacked app may be "Angry Birds" or something else entirely. Don't make any assumptions about which app you're looking for. To find it, you have to carry out a systematic search.
    Triple-click anywhere in the line of text below on this page to select it:
    kMDItemAppStoreHasReceipt=1
    Copy the selected text to the Clipboard (command-C).
    In the Finder, press the key combination command-F to open a search window, or select
    File ▹ Find
    from the menu bar. In the search window, select
    Search: This Mac
    from the row of tokens below the toolbar. Below that is a popup menu initially showing Kind. From that menu, select  Other...
    A sheet will drop down. In that sheet, select Raw Query and click OK or press return.
    Now there will be a text box to the right of popup menu. Click in that box and paste (command-V).
    The search window will show all the App Store products you've installed. Compare those search results with the list of your purchases from the App Store. To see the complete list, you may need to unhide hidden purchases. If any apps were download from the App Store using other Apple ID accounts that you control, sign in to the store under each of those ID's and check the purchases.
    At least one of the items listed in the search window is not among your purchases in the App Store. Move each such item to the Trash. You may be prompted for your administrator password. Empty the Trash.
    Log out and log back in. Test.

  • How to get the count property from the oData response

    Hi,
    I have a fullscreen view in my Fiori app where we call a oData service through table.bindItems() inside the controller.
    The binding of items works fine but we have a situation when we need to display the total number of items (for e.g. 515) on the UI. We do not get this information from the VDM, so we plan to use the length property of the getList() method to determine the total number of items. But because of growing feature of the table it only reads 100 items at a time and the length property returns only 100. I have attached the listener attachRequestCompleted() for the model so that once the bindItems() request is complete i can get the length property. But my problem is that i want the total count.
    I saw in the debug that when this table.bindItems() gets called it makes a oData service call and in the response i can see that there is a count property available which has the total number of items (515 for my e.g.) but how do i read this count property from the response inside my controller (probably inside my attachRequestCompleted)?? I would really appreciate any help in this regard. Thanks.
    Kind Regards,
    Ashish
    Tags edited by: Michael Appleby

    HI Chandra,
    Thanks for your suggestions.
    But i think in my case we do not want to get the complete list. We still want to get only 100 items initially and then if the user would scroll down he/she would see more items. But we already need to know the total number of items for the purpose of showing a message to the user. For e.g. Total issues (515),  but the table would initially show only 100 and then another 100 after scroll. So setting the size litmit to max would not help.
    And to be able to use the $count you mentioned, we have to still make another oData service call which we do not want.
    But as i mentioned there is already a property named "__count" in the response of the bindItems() method call and i see that it has correct count but not sure how to retrieve it inside the controller. Thanks.
    Regards,
    Ashish

  • When I try to update apps on my iPad mini, I tap the "Update" button, but the app just opens and doesn't update.

    I have an iPad mini, 16G, WiFi only. My operating system is iOS 7.0.3. My problem is that my App Store has stopped updating apps. And it's not like the update starts, but never finishes. It doesn't start at all. I touch the "Update" button, and the app opens instead of updating. I have 9 updates now, and none of them work. And the rest of the App Store is working fine. I have no problems searching for apps or downloading new apps. It's just the updates that don't work. I had thought that maybe I needed to update my software and then it would start working, but I can't. The available software update requires 5.9G of storage, and I only have 1.6G. I also thought that maybe there was not enough forage to update the apps, but if that was the case, then it would tell me that there is not enough storage instead of opening the app. Does anyone know how to fix this? I really need to update my apps!

    Hey there nstephanie0625,
    It sounds like you are unable to update your apps in the App store because they launch, rather than update. I would recommend starting by signing out of your Apple ID in Settings:
    iTunes: Using the iTunes Store for iPhone, iPad, and iPod touch
    Settings > iTunes & App Stores > Create New Apple ID on your device.
    Then quit all the running apps on your phone:
    iOS: Force an app to close
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it.
    When you have done that restart the device and test the issue again:
    iOS: Turning off and on (restarting) and resetting
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • I have just agreed to software updates on my imac and now can't open my mail.  There is a message saying this version of mail isn't compatible with this latest software.  I have located the updated mail in the applications folder but it won't open. Help!

    I have just agreed to software updates on my imac and now can't open my mail.  There is a message saying this version of mail isn't compatible with this latest software.  I have located the updated mail in the applications folder but it won't open. I don't have the original operating software disk.  Does anyone have any suggestions?

    Your reply suggests that you have moved Mail to a different location, which (as I said) will prevent it from being properly updated. You cannot use Mail 4.5 with any recent version of Mac OS X. Mac OS X 10.7 (Lion) included Mail 5 and Mac OS X 10.8 (Mountain Lion) includes Mail 6. I'm assuming that you have either Lion or Mountain Lion, but if that is incorrect, you will need to provide that information.
    At this point, you will need to reinstall your system. Hold down command-R at startup and reinstall the system right on top of the old one. This should not disturb any of your documents or applications, though you should have backups beforehand in case something goes wrong. And at this point, with your system in an uncertain state (I don't entirely know what you have done to it), something could go wrong.
    You will also want to delete the old copy of Mail 4.5, wherever that is. You can't use it.
    In the future, do not move any of the preinstalled applications. Leave them where they are.

  • How to delete the applications in the "Updates" tab at the lower right part when you open the App Store?

    Hi, I bought the new Itouch 5 recently, i'm just wondering how can i delete the applications in the "Updates" tab at the lower right part when you open the App Store? I just want to delete the applications that i've already deleted but it seems that it is still posted at the "updates" tab ad i can't delete it. Please i need your help. Thank you for those who will reply.

    Try turning off &amp; on your iPod (sorry if that sounds dumb, but it might work)
    Or, since that's a matter of not refreshing, turn off your wifi&amp; reconnect
    Hope this helps

  • Error while maintaining the Update Rules for the Infostructure

    Hi,
    I have added 2 new characteristics for the existing infostructure S9xx and executed the same. While maintaining the Update Rules for the same, system is giving the error message 1. "Field 'PARVW' unknown" and 2. Error generating program RMCX0011.
    Please guide me in resolving the issue.
    Thanks & Regards,
    Kumar.

    Hi,
    This is with reference to my earlier question that an error is occuring while maintaining the update rules for the existing Infostructure.
    Solution provider for this will be rewarded with good points.
    Regards,
    Kumar.

  • I am running Windows 7  and trying to update to iTunes version 10.5 (from version 10.3.1.55) and I keep getting the following error message, 'Error occurred while installing the updates. If the problem persists, choose Tools Download Only and try instal

    I am running Windows 7 home edition and trying to update to iTunes version 10.5 (from version 10.3.1.55) and I keep getting the following error message, ‘Error occurred while installing the updates. If the problem persists, choose Tools > Download Only and try installing manually’ which I do only to have the same error message pop up.

    Try updating your iTunes using an iTunesSetup.exe (or iTunes64Setup.exe) installer file downloaded from the Apple website:
    http://www.apple.com/itunes/download/

Maybe you are looking for

  • SMS Server 6703 - SMS WSUS Synchronization Failed

    Hi, i am getting the following error on SCCM server, "on 3/6/2011 12:00:00 PM component SMS_WSUS_SYNC_MANAGER on computer "ComputerName"  reported:   SMS WSUS Synchronization failed.  Message: WSUS server not configured.  Source: CWSyncMgr::DoSync.  

  • ITunes erasing music?

    Argh. Okay, this is driving me crazy. I purchased an iPod Touch (2nd generation) back in August; similarly, I finally downloaded the 2.1 software update, and followed with a song purchase from the iTunes Store. For some odd reason, iTunes isn't savin

  • Ask to Buy Problem

    When ever I try and enable "Ask To Buy" for my son I get a message stating "Cannot Enable Ask To Buy. "..." is sharing purchases from an account also used by another family member. Ask to buy can be enabled only on accounts that are not shared." Has

  • I can't reinstall photoshop elements 12 on new macbook air

    i have purchased a card from shop which i have redeemed,i now want to install onto my new boom air, but when i put in code it says opps, I've signed in as different user, this has taken hours and hours,can you please help, i bought it and registered

  • Error in wddomodifyview

    I am getting a runtime error in wddomodifyview I want to set the layout of 'rootuielementcontainer' to Matrix layout and then add 2 UI elements ....one button and one textview with Matrix head data so that they start in a new line.... I have written