Resultset not updateable

i was wondering if anyone can help me
i can't get the resultset to update itself
the changes are made in the database if i commit them but not in the resultset
here's my code
public static Connection getConnection(){
try {
Class.forName("oracle.jdbc.OracleDriver");
catch(java.lang.ClassNotFoundException e) {
System.err.print("driver not found");
try {
con = DriverManager.getConnection("jdbc:oracle:thin:@127.0.0.1:1521:xe", "user", "pass");
catch(SQLException ex) {
System.err.println("SQLException: " + ex.getMessage());
return con;
static void Insert(){
try{
rs.moveToInsertRow();
rs.updateString("First", "Test1");
rs.updateString("Second", "Test2");
rs.insertRow();
catch (Exception e) {
System.out.println(e);
public static void main(String[] args) throws SQLException{
stmt=con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
con.setAutoCommit(false);
rs=stmt.executeQuery("SELECT * FROM Produse");
Insert();
//rs.updateCount();
//rs=stmt.executeQuery("SELECT oracle.* FROM PRODUSE oracle");
rs.beforeFirst();
while (rs.next())
System.out.println(rs.getString("First"));
//it lists everything in the database but the inserted row
//rs.close();
//con.close();
}

ali wrote:
rs should have the inserted row in it as well but it doesn't, Your view not mine.
i have to close it and open it again for it to have the inserted row I understood your original statement.
when it should be there by defaultI have been using java with databases since 1997 and I have never, not in single case, desired that feature.
And since it isn't part of the JDBC specification as far as I know I suspect many other people don't consider it needful either.
I suspect the reality is that you have a problem, and this solution isn't working for that problem. So rather than attempting to find a different (and probably better solution) you are trying to do something that is at best awkard.

Similar Messages

  • Recordset is not updateable in Access 2010 but works in previous versions

    I have a database that writes data from SQL tables to unbound controls on an unbound form. This database has been in place for years and has worked great. We recently just upgraded to 2010 and now I' m receiving an error message saying that the recordset
    is not updateable. This is the same exact code and settings and everything else that has worked in 2007.
    I know there are other posts on here that addressed this but none of the recommendations have solved my problem. I've tried changing the forms to dynaset(inconsistent updates), etc. and nothing.
    The actual SQL is all in VBA where it's running the SQL commands against SQL Server and writing the data to the unbound fields and then also writing it back to the tables. As I said, this has been in place for a number of years and has always worked great
    but I just can't put any rhyme to reason why it's not working in 2010.

    Hi,
    Based on my research, here’s the information about this error message:
    A recordset is never updateable when:
    It is based on a Crosstab query.
    It is based on a Union Query.
    It is an Aggregate Query that calculates a sum, average, count or other type of total on the values in a field.
    It is an Update Query that references a field in the Update To row from either a crosstab query, select query, or subquery that contains totals or aggregate functions
         Note: By using a domain aggregate function in the Update To row of an update query, you can reference fields from either a crosstab query, select query, or subquery that contains totals or aggregate functions.
    It is based on a Query that includes a linked ODBC table with no unique index.
    The database was opened as read-only or is located on a read-only drive.
    It is a SQL pass-through query.
    It is a query whose UniqueValues property is set to Yes. (That is, it is a query with a DISTINCT predicate.)
    Cartesian Joins(that is, a query that includes more than one table or query, and the tables or queries aren't joined by a join line in Design view.)
    Query based on three or more tables in which there is a many-to-one-to-many relationship.
         Note: Though you can't update the data in the query directly, you can update the data in a form or data access page based on the query if the form's RecordsetType property is set to Dynaset (Inconsistent Updates).
    Calculated fields. Even if the query itself is updateable, if a column in a query is based on a formula, the field cannot be updated. However, if the other fields in the formula are updated, the calculated field
    will automatically update.
    Recordsets Are Updateable Under Certain Conditions
    1. Query based on a Join of tables with no Relationship.
    Problem: If a query is based on two or more tables that DO NOT have a relationship established (with Referential Integrity enabled), the query will be non-updateable.
    Solution: Create a Primary Key or Unique Index on ALL of the fields used in the Join on the "one-side" table. To be clear, this means ONE primary key or unique index based on all of the fields, not separate indexes
    on each field.
    In a query based on a Join of tables with a one-to-many relationship (1:M), you might not be able to edit the data in one or more fields. As the following examples show :
    2. Join field from the "one" side.
    Problem: If you have a 1:M relationship created between two tables, you cannot change the primary key field (used in the Join) of the table on the "one" side of the relationship.
    Solution: Enable cascading updates between the two tables.
    3. New records, if the "many" side join field doesn't appear in the datasheet
    Problem: In a query based on a 1:M relationship, you can create a new record and fill in the fields that come from the "one" side table, but if the join field from the "many" side table is not visible in the
    query (that is, the foreign key), you cannot add data to the "many" side fields.
    Solution: Add the join field from the "many" side table (ie, foreign key) to your query to allow adding new records.
    4. New records on the "one" side that are duplicates of other "one" side records.
    Problem: When adding a new record, if you try to type into the "one" side fields, you will be attempting to create a new record. Even if you use the same primary key values, it will give you an error.
    Solution: Add a value to the "many" side join field (foreign key) that matches the "one" side join field (primary      key) of an already existing record. The "one" side values will simply
    appear.
    5. Join field from the "many" side, after you've updated data on the "one" side
    Problem: If you are currently editing fields from the  "one" side of the relationship, you cannot change the "many" side join field (foreign key).
    Solution: Save the record; then you'll be able to make changes to the "many" side join field.
    6. New records, if entire unique key of ODBC table isn't output
    Problem: This is different than #5 under Never Updateable. In this case, the primary key of the linked ODBC table exists, but is not added to the query.
    Solution: Select all primary key fields of ODBC tables to allow inserts into them.
    7. Query does not have Update Data permissions
    Problem: Query (or underlying table) for which Update Data permission isn't granted.
    Solution: To modify data, permissions must be assigned.
    8. Query does not have Delete Data Permissions
    Problem: Query (or underlying table) for which Delete Data permission isn't granted
    Solution: To delete data, permissions must be assigned.
    Jaynet Zhang
    TechNet Community Support

  • Not updateable view

    I want to create a not updateable view. I want to obtain a not editable JTable to show this view, as when
    we difine a table model with redefined function isCellEditable() returning false.
    Thanks
    Albert Portugal.

    I found another method to do that. Steps:
    1. create a view object (over the table view you will apply read only restrict) with read only checkbox checked.
    2. Then click on bc4jmodule. Take out view object from exported views.
    3. Click over the parent view object FKLink and change relation with the modifiable view for the new read only view. Add FK from destination attributes.
    4. Click bc4jmodule properties and add new view object to export.
    Finally when you display this data block it could not be modifiable.
    The solution explained before is when you need modify this view. So if you are completly sure that some table will not be modified by application the easiest solution is checking read only flag in view object. (table).
    Albert Portugal

  • How to get updateable and not updateable rows in a single GridControl

    Hi,
    i am using a gridControl based on an objectView "customer" with the attributes "cust_nr, cust_name, cust_updateable".
    If customer data is updateable or not updateable set by the flag cust_updateable (true or false).
    When the cust_updateable=false the user should not be able to update customer data in this row.
    When the cust_updateable=true the user should be able to update customer data in this row.
    Anyone who can help me?
    Thanks !
    null

    Three possibilities come to mind:
    If you want to manage this at the Application GUI level: If you want to prohibit them from ENTERING into a cell or EDITING a cell in the row, that's a different issue. ( I like blocking problems as early as possible ). I can see how one would do that with their own TableModel ( isCellEditable method, set FALSE if you do a getValueAt(thisRow,editableIdx)=="Y" or somesuch ). That might be a direction you might want to research and see if it is possible to do something like that with a gridControl. ( And post what you find! )
    If you want to handle it at the DBA level: You might also look at "virtual private databases" in the Oracle dbms. Again, those rows would be trapped at commit time rather than "verb" time ( on the application screen ). The nice thing about that is that it protects the table against ALL comers, not just those that are going through a middle tier.
    Your best bet if you want to follow the BC4J framework level: go into the Entity/ View Object impl and find the setMyAttribute method, and check the appropriate cust_updateable attribute ( in the same EO/VO ) and fire an exception. That'll trap it at data entry time, as well, and if you try and set it programmatically your try/catch block will fire up.
    Good Luck
    null

  • HELP! How to save resultset (NOT file) from server databse on local machine

    Our JSP web system allows our clients to be able to search data from the server-side database and then after get the resultset, they also should be able to save these data as a text file on their local machine by just a click. Of course, before they click the OK button, they should navigate the files system on their local machines and choose under which directory they want to put the file, and then provide a file name. I could NOT find a way to be able to navigate the local machine's drives.
    I know there is a standard Save As dialogue automatically launched by the browser. But my problem is: I don't need such a pumped-up Save As... dialogue which most brower will provide, because our system will have an interface which will provide the same function as the Save As guy. And this is the part that I am currently working on. Our interface will permit the client to browse their file system and then provide a filename, and then click OK to save the file. PLEASE, anybody who can help me. I know there are guys there have answers for my questions:
    1. In my JSP program, I save the resultset I get from the database as a string, and then this string should be sent through inputstream and outputstream and be saved as a text file onto the client's local machine. I know there's a lot file download topics but I am dealing with a string instead of a file, is there an inputstream accepting a string(which contains dataresultset) and output it to a file?
    2. As I already said, how to make my own Save As... dialogue?
    I really need help! I have been bothered by them for a long time. Thanks in advance!

    Well, it's hard to interpret exactly what you want to do but I'll take a stab.
    I would put the data into comma separated value (CSV) format and then stream it back to the browser using the "application/csv" content format.
    By doing this, they can either save it to their hard drive into the directory of their choice, or open it using whatever mapping they have for the CSV mime type. For most Windows machines, this is Excel (if it's loaded).

  • Result Set not updateable!

    Hi everyone. I'm using JDBC 2.0 to write a class in Java that connects to a mySQL database (through the Connector/J driver). When I try to execute the code below it throws an exception that my ResultSet in not updatable. I understand that this might have to do with setting the Primary Key, etc. but I'm not sure how to do this in Java. How do I make updatable resultSets? Thank you!
    J. Ciolkosz
    // stmt is a Statement object, srs is a ResultSet object.
    stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
    srs = stmt.executeQuery("SELECT * FROM "+table);
    srs.moveToInsertRow();

    I have ran into this same problem. The problem was because the table I was retreiving didn't have a primary key. Once I put a primary key into the table, then the problem went away.

  • One column is not updateable in results table

    Hi All,
    We have a result table .When we click on preferences and check the configuration all columns are updateable i.e. a pencil icon is coming except one.Can someone please let me know what could be the cause for this issue.Actually I want to change the datatype of the column to be string from date but the updateable icon itself is not coming.
    Thank you so much.
    Regards,
    Amrit

    can someone please give me some suggestion on how to resolve the issue.
    Regards,
    Amrit

  • ResultSet not responding to next() method

    Please Help i have this result set object that is not null sure of it because i checked by using if(reslt!=null) then i used a while loop to go through the object but to no avail i even debuged by using System.out.println(). Help !!.
    [if(evnt.getSource()==okBtn){
                   ResultSet resltset=null;
                   try{
                        DataBaseConnecter dataBaseConnecter=new DataBaseConnecter();
                        resltset =dataBaseConnecter.executeQuery(query);
                        if(resltset!=null&&resltset.next()){
                             System.out.println("Iam not null");
                             while(resltset.next()){
                                  System.out.println("I got here ");
                                  String sdr=resltset.getString(1);
                   }catch(SQLException sqlex){
                        sqlex.printStackTrace();
                   catch(NullPointerException npe){
                        npe.printStackTrace();
                   }]

    if(evnt.getSource()==okBtn){
    ResultSet resltset=null;
    try{
    DataBaseConnecter dataBaseConnecter=new DataBaseConnecter();
    resltset =dataBaseConnecter.executeQuery(query);
    if(resltset!=null&&resltset.next()){
    System.out.println("Iam not null");
    while(resltset.next()){
    System.out.println("I got here ");
    String sdr=resltset.getString(1);
    }catch(SQLException sqlex){
    sqlex.printStackTrace();
    catch(NullPointerException npe){
    npe.printStackTrace();
    }One big problem with this statement is that you are not testing to see if a resultset was returned, you are just confirming that the reference variable resltset points to an object in memory, as it should.
    if(resltset!=null&&resltset.next()){
    A better statement would be,
    if (resltset.first()) {
    ... because if this method returns true then you are moved automatically to the first row, and if it returns false then the ResultSet object is empty and you skip the code block.
    Also, you are getting the TYPE_FORWARD exception because the ResultSet is set to TYPE_FORWARD only.

  • Re: ResultSet not returning same data

    Thanks to all who offered thoughts / advice on my post yesterday. For those interested here is what I found.
    The Problem -
    String data stored in MSSQL7 DB, transferred to MySQL4 DB, then pulled for an application did not match. Tests proved that the data IN the DB matched.
    What I found -
    Strings that were using unique chars such as French and German accent chars were NOT being returned correctly. It seems that when I call
    ResultSet.getString() using my SQL7 DB driver I would get a different result than when calling the same method in my MySQL4 Driver.
    To fix the problem I had to use
      String myString = new String(
                          ResultSet.getBytes()
                        );It seems that the DB driver was "assuming" what I wanted when using getString().
    Further tests proved that...
    MySQL DB Driver
    getString() == new String(getBytes()) true
    SQL7 Driver
    getString() == new String(getBytes()) false
    Just in case anyone was interested.
    Thanks for listening.
    ST

    In MySQL you can configure the charset used by the database. The default is "latin1", and if you have the correct data in your program, you can just use getString() and setString(). That setup handles strings with French and German accented characters, I know that because I have a program that does it.
    Perhaps your MS SQL configuration isn't working right? I don't have any experience on how to set that up.

  • Apple TV Sensor Rating (U,PG,12,15,etc) not updateable

    I have original AppleTV and new AppleTV. Recently spent hours transferring movies to iTunes and it works well streaming/synching with iTunes. However one question which I cannot find the answer to.
    I have a mixture of movies and AppleTV lets you have parental control but I can't see how parental control can work if the movie sensor rating is not an updateable item in iTunes. Example, I bought Inception from Apple which get's downloaded to my iTunes with 12 rating which I can see in file information, but on my imported films I cannot find where to update this field.
    Anyone know if the sensor rating (not whether I enjoyed the film or not) is an item I can maintain?

    harris_me wrote:
    Anyone know if the sensor rating (not whether I enjoyed the film or not) is an item I can maintain?
    yes, but not in itunes.
    you will need to use a 3rd party meta tagger to add/change those.
    if you are mac user you can use Subler.
    if you are a windows user you can use MetaX.

  • How to set ResultSet not null?

    Hello !
    How can I set my ResultSet null? rs.next( ) is null.
    Thanks in advance.

    "...Hey, do you guys have an idea how to apply operator to method getTime() e.g rs.getTime("TimeOut") - rs.getTime("TimeIn")?..."
    It can't be done.
    One thing you should be checking is whether or not the last value returned from the result set was null, using the wasNull() method.
    If you're getting a NPE, it could be that one of the values you think you're getting back from the database is really null.
    Are you sure you want java.sql.Time? Not java.sql.Timestamp?
    Code it like this:
    java.sql.Timestamp timeIn = rs.getTimestamp("TimeIn");
    java.sql.Timestamp.timeOut = rs.getTimestamp("TimeOut");
    long duration = 0L;
    if ((timeIn != null) && (timeOut != null))
        long millisecondsIn = timeIn.getTime();
        long millisecondsOut = timeOut.getTime();
        duration = millisecondsOut - millisecondsIn;
        assert (duration >= 0L);
    }MOD

  • Why is not updateable the Item of block?

    I created a block, Update Allowed of the property of block is Yes, Insert Allowed is No, Locking Mode is Immediate.
    Set Update Allowed of the property of the item vendor_name is Yes.
    Compile the form.
    Open the form , but can not update the item vendor_name , Why is that?
    Thank you.
    Edited by: huak on Sep 2, 2008 9:02 PM

    Can you give some more detail on what happens when you try to update the field?
    Can you place the cursor in it?
    Are you trying to add more characters to the field, change a highlighted character or delete a character?
    Does the field flicker when you type something or does it not respond at all?

  • DW Partitioned View not updateable

    We recently added a list enum root to a management pack that also contained Data Warehouse elements. when we imported the updated version of the MP to Service Manager the DW Load.Common job started failing.
    This Job Module does not have a date value watermark so I can not reset the watermark value.
    The MP is sealed and was not generating any errors before the recent edit to the MP I have done a compare of the pre and post xml and none of the DW elements were edited.
    Events from the Operations Manager event log on the SM DW server
     ID 33502
    ETL Module Execution failed:
     ETL process type: Load
     Batch ID: 35873
     Module name: LoadDWDataMartCITAM_AgreementHasAssetFact8
     Message: Partitioned view 'DWDataMart.dbo.CITAM_AgreementHasAssetFact8vw' is not updatable because it does not deliver all columns from its member tables.
    Event ID 33503 is a warning, it is generated 3 times before the 33502 error  
     ETL process type: Load
     Batch ID: 35873
     Module name: LoadDWDataMartCITAM_AgreementHasAssetFact8
     Message: Partitioned view 'DWDataMart.dbo.CITAM_AgreementHasAssetFact8vw' is not updatable because it does not deliver all columns from its member tables.
    corresponding errors from the trace log.
    [5]0B10.400C::02/13/2014-13:41:05.315 [Microsoft.EnterpriseManagement.Warehouse.Server]( 0000000001FEB4CA )Exception occured during PartitionedViewInsert operation: Message = Partitioned view 'DWDataMart.dbo.CITAM_AgreementHasAssetFact8vw' is not updatable
    because it does not deliver all columns from its member tables., Stacktrace =    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.SystemCenter.Warehouse.Utility.SqlBulkOperation.PartitionedViewUpdate(SqlConnection sourceConnection, String sourceQuery, String destinationTable, Dictionary`2 mapping, SqlConnection destinationConnection, Collection`1 pkColumns)
       at Microsoft.SystemCenter.Warehouse.Utility.SqlBulkOperation.PartitionedViewUpsert(String sourceConnectionString, String sourceQuery, String destinationTable, Dictionary`2 mapping, String destinationConnectionString, Collection`1 pkColumns, Int32&
    insertCount, Int32& updateCount, DomainUser sourceSecureUser, DomainUser destSecureUser, SqlResourceStore targetStore)
       at Microsoft.SystemCenter.Warehouse.Etl.ADOInterface.PartitionedViewUpsert(DomainUser sourceConnectionUser, DomainUser destinationConnectionUser)
    [5]0B10.400C::02/13/2014-13:41:05.318 [Microsoft.EnterpriseManagement.Warehouse.Etl]( 0000000003E2531C )SqlException occured while executing ETL Job module: etlMod = Microsoft.SystemCenter.Warehouse.Etl.LoadModule ModuleName = LoadDWDataMartCITAM_AgreementHasAssetFact8,
    SourceId = 1, Guid = bd3a60b2-2edb-5667-625c-7d19862dd0b7, Instance = , WarehouseModule = LoadDWDataMartCITAM_AgreementHasAssetFact8, ModuleType = Load, ExecutableType = ADOInterface, Executable.InstanceId = ADOInterface, JobName = Load.Common, TargetEntity
    = Microsoft.SystemCenter.Warehouse.Schema.BaseEntity entityName = CITAM_AgreementHasAssetFact8, entityType = Fact, entityId = 90f7120c-0a40-d4a4-8eac-a2c442f62d38, sourceId = 1, attempts = 0, Message = Partitioned view 'DWDataMart.dbo.CITAM_AgreementHasAssetFact8vw'
    is not updatable because it does not deliver all columns from its member tables., StackTrace =    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.SystemCenter.Warehouse.Utility.SqlBulkOperation.PartitionedViewUpdate(SqlConnection sourceConnection, String sourceQuery, String destinationTable, Dictionary`2 mapping, SqlConnection destinationConnection, Collection`1 pkColumns)
       at Microsoft.SystemCenter.Warehouse.Utility.SqlBulkOperation.PartitionedViewUpsert(String sourceConnectionString, String sourceQuery, String destinationTable, Dictionary`2 mapping, String destinationConnectionString, Collection`1 pkColumns, Int32&
    insertCount, Int32& updateCount, DomainUser sourceSecureUser, DomainUser destSecureUser, SqlResourceStore targetStore)
       at Microsoft.SystemCenter.Warehouse.Etl.ADOInterface.PartitionedViewUpsert(DomainUser sourceConnectionUser, DomainUser destinationConnectionUser)
       at Microsoft.SystemCenter.Warehouse.Etl.ADOInterface.Execute(IXPathNavigable config, Watermark wm, DomainUser sourceConnectionUser, DomainUser destinationConnectionUser)
       at Microsoft.SystemCenter.Warehouse.Etl.LoadModule.Execute(IXPathNavigable config, Watermark wm, DomainUser sourceConnectionUser, DomainUser destinationConnectionUser, Int32 loadBatchSize)
       at Microsoft.SystemCenter.Warehouse.Etl.LoadModule.Execute(IXPathNavigable config, Watermark wm, DomainUser sourceConnectionUser, DomainUser destinationConnectionUser)
       at Microsoft.SystemCenter.Etl.ETLModule.OnDataItem(DataItemBase dataItem, DataItemAcknowledgementCallback acknowledgedCallback, Object acknowledgedState, DataItemProcessingCompleteCallback completionCallback, Object completionState) 
     [5]0B10.400C::02/13/2014-13:41:09.522 [Microsoft.EnterpriseManagement.Warehouse.Etl]( 0000000003E2531C )Updating WorkItem for: etlWI =  WorkItemId = 13250945, processModuleId = 14757, isDirty = True, BatchId = 35873, status = Failed, RetryCount
    = 0, ErrorCount = 174, TakenTime = 02/13/2014 19:41:04, Module = ModuleName = LoadDWDataMartCITAM_AgreementHasAssetFact8, ModuleType = System, ModuleDescription = Deployment Execution Step, ProcessCategoryName = Load, ProcessName = Load.Common, DeletedBatchId=0
    [5]0B10.400C::02/13/2014-13:41:09.527 [Microsoft.EnterpriseManagement.Orchestration]( 00000000035A96C4 )Updating WorkItem for: =  WorkItemId = 13250945, processModuleId = 14757, isDirty = True, BatchId = 35873, status = Failed, RetryCount = 0, ErrorCount
    = 174, TakenTime = 02/13/2014 19:41:04, Module = ModuleName = LoadDWDataMartCITAM_AgreementHasAssetFact8, ModuleType = System, ModuleDescription = Deployment Execution Step, ProcessCategoryName = Load, ProcessName = Load.Common, DeletedBatchId=0

    Anybody found a solution?

  • BPC 5.1 SP7 patch 3 - Work Status not updateable

    Hi All,
    We have just upgraded to SP7 and applied patch 3, and suddenly we cannot "roll-back" Work Status from eSubmit / Modify Work Status.
    Previously I (as Administrator) could change a status from Approved back to Submitted or Unlocked. Now, once something is Submitted it is greyed out (not able to be changed). (Both the "Include children in data region" and the Work Status dropdown are unavailable")
    I've searched SAPNotes and on the forums, but cannot find anything related.
    Any ideas?
    Regards,
    Peter Bellis

    Upgrade to SP 7 solved this issue.

  • Make LOV field not updateable

    I have a form, which can be called in query/update mode from a report. One of the fields is a list of values (combo-box), which I want to be non-updateable. I know that this can be done for other field types like text boxes, but how can I achieve this for combo box LOVs?

    Hi!
    You can make a LOV to be non-updatable-like with dynamic LOVs and bind variable. For example: the emp_id LOV select will look like this:
    select emp_name, emp_id from emp_table
    where (:empID is NULL)
    or (emp_id=(select emp_id from emp_table where emp_id=:empID))
    At insert the LOV will show all datas from emp_table, but at update the LOV will show only the emp_name that was in the selected record.
    I use it, and it works fine!
    Gyorgy

Maybe you are looking for

  • Does anyone know what is the proper way to render a rectangle transparent texture over the screen in OpenGL ES 2.0?

    Hello I'd like to convert my directx program to ios and I'm stuck right now on rendering textures. I messed around and enabled otho camera in open gl ES 2.0 and textures render but I can't get alpha to work. I used glDrawArrays specifying the colour

  • Content Viewer Ports

    I'm having an issue where Adobe Content Viewer on iPad is throwing errors and won't update the library when connected to my organization's network. Seems to work fine on other networks, so I'm thinking they are blocking a port needed. Could someone a

  • ExtensionHarxdening in 2013

    Hi, i prepared an excel sheet using cakePHP frame work with 'application/vnd.ms-excel' mime type.when i am trying to open it in excel 2013 it prompt like The file format and extension of 'filename.xls' don't match. The file could be corrupted or unsa

  • Duplicate Calendars showing up

    In iCal, I now have two versions of each of my three Calendars showing up: one set under [email protected], and another under MYNAME @me.com. How do I get rid of one or the other?

  • Dear sir    yesterday oct 8 installed adobe 9...  then problem  = was denied access to youtube musit

    dear sir yesterday you instructed me to install a new version of adobe   think it was adobe 9 +.... after completion listening to youtube music was blocked after 30 seconds] would like to remove the new adobe and reinstgall the prior version please h