Webutil_host.blocking procedure blocking the application intermittently

we are using webutil_host.blocking procedure to open a word document and have the application blocked until word document is closed. It opens the word document fine but blocking the application intermittently. Since it was not blocking intially, I started debugging and tried recompiling the form. It is now blocking the application fine, with no change in the code. It is definitely not the recompilation that made the trick because I compiled the form many times earlier while I was working on other parts of the form. Please share your expertise if anyone had the same issue.

we are using Forms 10.1.2.0.2 with Webutil 1.0.6

Similar Messages

  • Call a procedure in the application. Frank kindly check this

    Hi,
    I hv downloaded the login screen from the following site. Now I am trying to connect the same with my database. i hv introduced the password field in the application as earlier only username is available in the UI.
    [http://blogs.oracle.com/shay/simpleJSFDBlogin.zip]
    The problem is that in my database password field is protected with inbuilt oracle encryption. There is a procedure i hv in the database for the password encryption. How can I call the Procedure in the application??? In the application i hv introduced the business components and i hv attached the procedure in the application like "Offline Database Source" I hv to attach each database source like this? is it right way which i am following to call the procedure??
    Please guide me
    Thanks in advance
    Jithesh.

    Hi,
    have a look at the developer guide of how to invoke stored procedures and functions. Instead of basing the query for the login form on a VO you use a stored procedure of function in a client method exposed on the VO or AM
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcadvgen.htm#sm0297
    Frank

  • Best way to send an procedure/function output to the application

    Hello,
    What is the best way to send the output of a PL/SQL function / procedure to the application in Oracle 11g. I understand that it could be different for applications built in JAVA , .Net , SAP etc.
    Could you please give a brief overview on all possible application makes.
    Thanks,
    Haider

    Anyway, the answer is yes, v$version is derived from x$version :
    SQL> desc x$version
    Name                                      Null?    Type
    ADDR                                               RAW(8)
    INDX                                               NUMBER
    INST_ID                                            NUMBER
    BANNER                                             VARCHAR2(80)
    SQL> select INDX,BANNER from x$version;
          INDX
    BANNER
             0
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
             1
    PL/SQL Release 11.2.0.3.0 - Production
             2
    CORE    11.2.0.3.0      Production
             3
    TNS for Linux: Version 11.2.0.3.0 - Production
             4
    NLSRTL Version 11.2.0.3.0 - Production
    SQL>

  • Application Catalog - Cannot connect to the Application Server (SQL related?)

    Hi,
    There are many posts on this topic, and I've gone through all the various checks and workarounds but I still have the same problem. Essentially my Application Catalog seems to be working to a point, but when it attempts to connect to the SQL DB to check
    what apps are assigned for the user it seems to then fall over.
    This is the extract from the ServicePortalWebService.log file. There are a few exceptions around failing to exectute the DB procedure and again when connecting to SQL server.
    I've checked the IIS Site and the connection string for for CMApplicationCatalogSvc seems to be correct.
    Has anyone else experienced this?
    [19, PID:1188][05/30/2013 13:57:31] :ApplicationOfferService - (SCCM\SCCMInstall) GetApplications call
    [20, PID:1188][05/30/2013 13:57:31] :ApplicationOfferService - (SCCM\SCCMInstall) GetApplicationValuesForProperty call
    [20, PID:1188][05/30/2013 13:58:21] :Failed to execute the DB procedure get the application values for a property
    [20, PID:1188][05/30/2013 13:58:21] :User = S-1-5-21-211678148-561541944-1432470842-1109
    [20, PID:1188][05/30/2013 13:58:21] :System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct
    and that SQL Server is configured to allow remote connections. (provider: Shared Memory Provider, error: 40 - Could not open a connection to SQL Server)
       at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.SqlClient.SqlConnection.Open()
       at Microsoft.ConfigurationManager.SoftwareCatalog.Service.SqlDatabase.GetNewOpenConnection()
       at Microsoft.ConfigurationManager.SoftwareCatalog.Service.SqlDatabase.ExecuteReader(DbCommand command)
       at Microsoft.ConfigurationManager.SoftwareCatalog.Service.ApplicationHandler.GetApplicationValuesForProperty(UserContext userContext, ApplicationProperty property)
       at Microsoft.ConfigurationManager.SoftwareCatalog.Service.ApplicationOfferService.GetApplicationValuesForProperty(UserContext userContext, ApplicationProperty propertyName, String reserved)
    [20, PID:1188][05/30/2013 13:58:21] :An exception has been thrown from the service: System.ServiceModel.FaultException`1[[Microsoft.ConfigurationManager.SoftwareCatalog.Service.ServiceError, Microsoft.ConfigurationManager.SoftwareCatalog.Service.ApplicationOfferContract,
    Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Internal Server Error
       at Microsoft.ConfigurationManager.SoftwareCatalog.Service.ApplicationOfferService.GetApplicationValuesForProperty(UserContext userContext, ApplicationProperty propertyName, String reserved)
       at SyncInvokeGetApplicationValuesForProperty(Object , Object[] , Object[] )
       at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
       at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
    [19, PID:1188][05/30/2013 13:58:21] :Failed to execute the DB procedure to get applications targetted at a user
    [19, PID:1188][05/30/2013 13:58:21] :User = S-1-5-21-211678148-561541944-1432470842-1109
    [19, PID:1188][05/30/2013 13:58:21] :System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct
    and that SQL Server is configured to allow remote connections. (provider: Shared Memory Provider, error: 40 - Could not open a connection to SQL Server)
       at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.SqlClient.SqlConnection.Open()
       at Microsoft.ConfigurationManager.SoftwareCatalog.Service.SqlDatabase.GetNewOpenConnection()
       at Microsoft.ConfigurationManager.SoftwareCatalog.Service.SqlDatabase.ExecuteReader(DbCommand command)
       at Microsoft.ConfigurationManager.SoftwareCatalog.Service.ApplicationHandler.GetApplicationValuesForProperty(UserContext userContext, ApplicationProperty property)
       at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.SqlClient.SqlConnection.Open()
       at Microsoft.ConfigurationManager.SoftwareCatalog.Service.SqlDatabase.GetNewOpenConnection()
       at Microsoft.ConfigurationManager.SoftwareCatalog.Service.SqlDatabase.ExecuteReader(DbCommand command)
       at Microsoft.ConfigurationManager.SoftwareCatalog.Service.ApplicationHandler.GetApplicationOffers(Int32& totalNumberRows, UserContext userContext, ApplicationProperty sortBy, ApplicationFilter filterBy, String searchBy, Int32 totalNumberOfRowsPerPage,
    Int32 startRowIndex, Boolean sortAscending, ApplicationClassicDisplayName classicNameFields, Boolean useSecondarySort, Platforms platformFilter)
       at Microsoft.ConfigurationManager.SoftwareCatalog.Service.ApplicationOfferService.GetApplications(Int32& totalNumberRows, UserContext userContext, ApplicationProperty sortBy, ApplicationFilter[] filterBy, String queryString, Int32 maximumRows,
    Int32 startRowIndex, Boolean sortAscending, ApplicationClassicDisplayName classicNameFields, Boolean useSecondarySort, Platforms platformFilter, String reserved)
    [19, PID:1188][05/30/2013 13:58:21] :An exception has been thrown from the service: System.ServiceModel.FaultException`1[[Microsoft.ConfigurationManager.SoftwareCatalog.Service.ServiceError, Microsoft.ConfigurationManager.SoftwareCatalog.Service.ApplicationOfferContract,
    Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Internal Server Error
       at Microsoft.ConfigurationManager.SoftwareCatalog.Service.ApplicationOfferService.GetApplications(Int32& totalNumberRows, UserContext userContext, ApplicationProperty sortBy, ApplicationFilter[] filterBy, String queryString, Int32 maximumRows,
    Int32 startRowIndex, Boolean sortAscending, ApplicationClassicDisplayName classicNameFields, Boolean useSecondarySort, Platforms platformFilter, String reserved)
       at SyncInvokeGetApplications(Object , Object[] , Object[] )
       at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
       at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
    Thanks,

    Yes, I know this is an old post, but I’m trying to clean them up. Did you solve this problem, if so what was the solution?
    Did you check the firewall on you SQL server? What rights does the user (S-1-5-21-211678148-561541944-1432470842-1109) have within SQL?
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • Encryption from the database to the application

    I'm new to this kind of programming. I'm doing a VB.net application with a SQL database in a server. I did cell level encryption but I have one concern. When I execute the stored procedure from the application the information from the database will be decrypted
    and will be traveling from the server to the client insecurely I think. If that's the case what can I do. I have not found anything on how to deal with this. The reason I need to do this is HIPAA compliance. 

    That would be a matter of securing the connection between the client and the server.  Or you pass the encrypted data to the client and allow it to perform the decryption.
    Securing the connection would be a topic for a SQL forum, but you should also be able to find general information online, such as:
    https://msdn.microsoft.com/en-us/library/bb879935(v=sql.110).aspx
    Reed Kimble - "When you do things right, people won't be sure you've done anything at all"

  • Adobe Creative Cloud (Desktop) does not work properly. The application is blocked : it could not be launch neither stopped. I'm on MAC Yosemite OS, does anyone know how to remove it properly or to force its stop. It does not appear in the launched applica

    Adobe Creative Cloud (Desktop) does not work properly. The application is blocked : it could not be launch neither stopped. I'm on MAC Yosemite OS, does anyone know how to remove it properly or to force its stop. It does not appear in the launched applications.

    I received no error message. The application was just trying to find applications unsuccessfully.
    I am using MAC OS 10.10.1
    I tried to uninstall the application  but it seems that a kind of deamon is still installed thus providing me to reinstall properly. Do you know where are the elements to remove in order to get my machine just like before ?
    Otherwise I would have to reinstall everything and this would be a pain.
    Thanks for your help.

  • When I Leave A Certain Site, It Gives The Message: "The Browser Has Blocked An Attempt To Log Out Of The Application Properly" .

    Blocked An Attempt To Log Out Of The Application Properly". How Do I FIX This

    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • Using Windows XT and running FF 4.0 (Yahoo Edition 1.8), I am asked to download "the update", but the "application" never seems to take. Is something blocking it?

    After the download, the application screen just shows the "green worm" running across the top for many minutes until I either "hide" it or X it out.

    There is a 4.0.1 update for Firefox 4.0. I don't know why automatic update isn't working for you, but you could try these troubleshooting articles and cor-el's post in the earlier thread:
    [https://support.mozilla.com/en-US/kb/Software%20Update%20Failed#os=linux&browser=fx4 Software Update Failed | Troubleshooting | Firefox Help]
    [http://kb.mozillazine.org/Software_Update Software Update - MozillaZine Knowledge Base]
    [http://support.mozilla.com/en-US/questions/761360 Firefox is unable to "update" when an automatic message arrives. I've uninstalled & reinstalled Mozilla. Still, no ability to update. | Firefox Support Forum | Firefox Help]
    Any luck?

  • How can I disable pop-up blocker manually cause the website I want to access just shows me a message that I have to allow popups and reloads.

    My corporate website requires to open a separate window for one of the applications, but when I access it from my tablet it shows a message that I have to allow popups in which I can only click OK and then reloads without letting me get to the popup blocker dialogue of Firefox mobile.

    Hi Tsanko,
    It is a bit different in Firefox mobile, you should be able to tap the icon next to the URL for the site (the favicon) and get a drop-down menu. Select Clear Site Preferences. Then reload the site. If you get the blue drop-down saying Firefox prevented windows from opening, select Show to allow them and then Reload.
    Let me know if you have more questions.
    Thanks,
    Michelle

  • Best Practice for closing a blocking connection to the database.

    Background:
    Using toplink/eclipselink to manage the the connection to the database.
    We support 3 databases, Oracle, Mysql, and MSSQL.
    We host the an application locally (SAAS) and we also distribute it to our clients so they can run it on premise.
    Problem:
    From time to time the application will execute a route that query the DB and will take 10+ minutes. When we find these queries we generally fix them, but it takes time to fix the problem and roll new code to production. We have also found that if an end user executes the query to many times they can potentially bring the service down - maxing out the database connection, or putting a huge load on the DB effectively rendering the system to a crawl.
    During this time period the IT team need a way to abort a transaction. The current approach, for our SAAS solution, to scan the database find to the long running query and kill it. The application is smart enough to recover and everything seems to work fine. This doesn't always work for our on premise customers - often they don't have a DBA or adequate resources to monitor the system. Therefore, I'm looking for a way to have the application kill/close any query that is lasting longer then X minutes. We currently track the duration of every thread so I can get the time the thread has been actively running.
    Stack Trace
    Currently we keep track of how long each thread is running waiting for a response from the database such as the stacktrace below, I would like to grab the connection and physically close it. Since we are using a java socket and it's in a blocking state there is no way for us to interrupt the thread. The only option is to wait for it to receive a response from the db - kill the sql process - or to close the java socket.
    java.net.SocketInputStream.socketRead0(Native Method)
    java.net.SocketInputStream.read(SocketInputStream.java:129)
    com.mysql.jdbc.util.ReadAheadInputStream.fill(ReadAheadInputStream.java:113)
    com.mysql.jdbc.util.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:160)
    com.mysql.jdbc.util.ReadAheadInputStream.read(ReadAheadInputStream.java:188)
    com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1931)
    com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2380)
    com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2909)
    com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1600)
    com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1695)
    com.mysql.jdbc.Connection.execSQL(Connection.java:2998)
    com.mysql.jdbc.Connection.execSQL(Connection.java:2927)
    com.mysql.jdbc.Statement.executeQuery(Statement.java:956)
    org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeSelect(DatabaseAccessor.java:854)
    org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:573)
    org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:501)
    org.eclipse.persistence.sessions.server.ServerSession.executeCall(ServerSession.java:536)
    org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:205)
    org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:191)
    org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:262)
    org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeSelect(DatasourceCallQueryMechanism.java:244)
    org.eclipse.persistence.queries.DataReadQuery.executeNonCursor(DataReadQuery.java:188)
    org.eclipse.persistence.queries.DataReadQuery.executeDatabaseQuery(DataReadQuery.java:144)
    org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:664)
    org.eclipse.persistence.queries.DataReadQuery.execute(DataReadQuery.java:130)
    org.eclipse.persistence.internal.sessions.AbstractSession.internalExecuteQuery(AbstractSession.java:2243)
    org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1181)
    org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1165)
    org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1125)
    Question
    What is the best way to grab the connection and close it - from another thread?

    The reason for changing the namespace is to guarantee that they appear as different versions.  The namespace is part of the strong name of the DLL when deployed.  Yes they will be deployed to separate servers because a server can only belong
    to one farm.  But when you are doing a migration it won't be clear that you need to install the 2013 version since the .DLL will report that it exists in the 2010 farm already. It will work without changing the namespace, but it would be best to differentiate
    versions at that level to avoid confusion.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Azure Rest API PUT Block Blob Returns "The specified resource does not exist" CORS

    I am trying to upload a file to Azure Blob storage. For some reason when I try to put a new block blob on in the storage it tells me the resource does not exist. I am sure it is something silly I am missing.
    According to the documentation:
    The Put Blob operation creates a new block blob or page blob, or updates the content of an existing block blob. Updating an existing block blob overwrites any existing metadata on the blob. Partial updates are not supported with Put Blob; the content of the
    existing blob is overwritten with the content of the new blob. To perform a partial update of the content of a block blob, use the Put Block List (REST API) operation.
    CORS is setup and that seems okay.
    When I do a preflight and get this:
    Request URL:https://<account>.blob.core.windows.net/test/image.png
    Request Method:OPTIONS
    Status Code:200 OK
    Request Headers
    OPTIONS /test/image.png HTTP/1.1
    Host: <account>.blob.core.windows.net
    Connection: keep-alive
    Cache-Control: no-cache
    Pragma: no-cache
    Access-Control-Request-Method: PUT
    Origin: http://www.<site>.com
    User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36
    Access-Control-Request-Headers: accept, content-type
    Accept: */*
    Referer: http://www.<site>.com/azure/
    Accept-Encoding: gzip,deflate,sdch
    Accept-Language: en-US,en;q=0.8
    Response Headers
    HTTP/1.1 200 OK
    Transfer-Encoding: chunked
    Server: Blob Service Version 1.0 Microsoft-HTTPAPI/2.0
    x-ms-request-id: 0d372e95-1524-460a-ab9c-7973d42a7070
    Access-Control-Allow-Origin: http://www.<site>.com
    Access-Control-Allow-Methods: PUT
    Access-Control-Allow-Headers: accept, content-type
    Access-Control-Max-Age: 36000
    Access-Control-Allow-Credentials: true
    Date: Thu, 27 Feb 2014 22:43:52 GMT
    But when I make the PUT request these are the results.
    Request URL:https://<account>.blob.core.windows.net/test/image.png
    Request Method:PUT
    Status Code:404 The specified resource does not exist.
    Request Headers
    PUT /test/image.png HTTP/1.1
    Host: <account>.blob.core.windows.net
    Connection: keep-alive
    Content-Length: 22787
    Cache-Control: no-cache
    Pragma: no-cache
    x-ms-blob-content-dis; filename = "image.png"
    User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36
    Content-Type: image/png
    x-ms-blob-type: BlockBlob
    Accept: application/json, text/plain, */*
    x-ms-version: 2013-08-15
    Origin: http://www.<site>.com
    x-ms-date: Thu, 27 Feb 2014 23:19:19 GMT
    Referer: http://www.<site>.com/azure/
    Accept-Encoding: gzip,deflate,sdch
    Accept-Language: en-US,en;q=0.8
    Response Headers
    HTTP/1.1 404 The specified resource does not exist.
    Content-Length: 223
    Content-Type: application/xml
    Server: Blob Service Version 1.0 Microsoft-HTTPAPI/2.0
    x-ms-request-id: d5a60c8b-356a-44ff-93af-0ea720b5591f
    x-ms-version: 2013-08-15
    Access-Control-Expose-Headers: x-ms-request-id,Server
    Access-Control-Allow-Origin: http://www.<site>.com
    Access-Control-Allow-Credentials: true
    Date: Thu, 27 Feb 2014 23:22:42 GMT

    Your request must be authenticated to be able to upload a blob. Please see our
    Windows Azure Storage: Introducing CORS blog post for more information on using Shared Access Signatures with CORS.

  • Data from 2 database blocks insert into the same base table?

    Hello,
    I have canvas C_NEW. On this canvas, items from 3 blocks are usable by the user.
    1. Block NEW_HEAD: 3 items say X1,X2,X3
    2. Block NEW : multi record text fields say Y1 thru Y10. Also a scrollbar.
    3. Block NEW_ACTION: 6 buttons say B1 thru B6 (One of them is N_OK which is the item in question)
    both the blocks NEW, NEW_HEAD are db blocks and have the same base table say BT. When the users click on the N_OK (after filling out the data in the NEW_HEAD block and then NEW in that order) I need the data from both the NEW, NEW_HEAD to go into the BT. Currently only the data from the NEW is going into BT. Fields in the BT table which correspond to the fields X1,X2,X3 in the NEW_HEAD remain null after clicking the N_OK button. I put commit_form in the N_OK code since both the blocks are db blocks( and as suggested by folks, it is easier to issue a commit_form than do a lot more work in writing my own SQL).
    How can I achive this?
    Thanks,
    Chiru

    I tried doing what you suggested by putting the following code in the program unit which gets called when_button_pressed.
    PROCEDURE P_SAVE IS
    v_lc_no number;
    v_lc_seq number;
    v_dmg_allow number;
    BEGIN
      Go_Block('B_new_head');
      v_lc_no:= :B_new_head.N_LC_NO;
      v_lc_seq:= :B_new_head.N_LC_SEQ;
      v_dmg_allow:= :B_new_head.N_LC_DMG_ALLOW;
      Go_Block('B_new');      
    FIRST_RECORD;
    LOOP     
         emessage('before insert'||v_lc_no||'-'||v_lc_seq||'-'||:B_new.order_no);
      INSERT INTO ct_lc_import(
        LC_NUMBER,
        LC_SEQ,
        DAMAGE_ALLOWANCE,
        ORDER_NO,
        QTY_SHIPPED,
        UNIT_PRICE,
        DRAFT_AMOUNT,
        TICKET_DEDUCTION,
        SHIPMENT_PENALTY,
        TOTAL_DEBIT,
        DEBIT_DATE)
        VALUES (v_lc_no,
                v_lc_seq,
                v_dmg_allow,
                :B_new.order_no,
                :B_new.qty_shipped,
                :B_new.unit_price,
                :B_new.draft_amount,
                :B_new.ticket_deduction,
                :B_new.shipment_penalty,
                :B_new.total_debit,
                :B_new.debit_date);
       commit;
      NEXT_RECORD;
       if :SYSTEM.LAST_RECORD='TRUE' then
             emessage('last record');
             EXIT;
       end if;
      --NEXT_RECORD;
    END LOOP;
    EXCEPTION
       when FORM_TRIGGER_FAILURE then
          raise;
       when OTHERS then
          emessage(SQLERRM);
          raise FORM_TRIGGER_FAILURE;
    END;But I can't see the records in the table eventhough the message pops up with the values before inserting the 1st record. It then exits. I would think it would atleast insert the very first record into the the table at the least.
    Thanks,
    Chiru

  • If you block a phone number in iMessage on the iPad, does it also block it on the iPhone?

    If you block a phone number in iMessage on the iPad, does it also block it on the iPhone?

    Depends on whether you are using the same iCloud account on the device, or if you are syncing Contacts via iTunes, if you are syncing both devices to the same computer.
    When you block someone, no matter which application you "launch" the block from (Messages, Phone, FaceTime) you are blocking the Contact. So, any app that uses that contact will see it as a blocked contact and will block any incoming activity to that app from that contact.
    Here is a Support Article with more info:
    http://support.apple.com/en-us/HT201229
    Cheers,
    GB

  • How do I stop the pop up blocker from blocking popups? I have already disabled it.

    how can I stop the popup blocker from blocking popups? I have disabled it but they are still being blocked.
    == This happened ==
    Every time Firefox opened

    Try this:
    Creative Cloud applications unexpectedly revert to trial mode | CS6, CCM

  • How to open the block diagram of the NI ELVISmx

    How to view the program block diagram of the virtual instrument of the function generator, oscilloscope and so on in the NI ELVISmx,, I have seen before, but now I forgotten how to open the block diagram, who know?
    1110340036    jyh

    iOS apps can be added to an iTunes library and thereafter transferred to an iOS device. They cannot be opened directly on a PC.
    epub files can be added to an iTunes library, and thereafter transferred to an iOS device where they can be read with the iBooks application. Files protected with Apple's DRM cannot be opened directly on a PC, though there are programs such as Kindle and Calibre that will open non-protected epub files.
    tt2

Maybe you are looking for