![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 4 of 4 total |
![]() |
Thu, Sep 27 2018 6:00 PM | Permanent Link |
Allen Hunt | I apologize if I missed this in the documentation. I haven't been able to figure out how to determine if a LoadRows is in process and whether or not the request can be canceled.
Any help is highly appreciated! Thank you Best regards, Allen |
Fri, Sep 28 2018 5:27 AM | Permanent Link |
Walter Matte Tactical Business Corporation | See TDatabase component Help.
- NumPendingRequests - CancelPendingRequests See last paragraph here: https://www.elevatesoft.com/manual?action=viewtopic&id=ewb2&topic=Creating_Loading_DataSets Walter Allen W. Hunt wrote: I apologize if I missed this in the documentation. I haven't been able to figure out how to determine if a LoadRows is in process and whether or not the request can be canceled. Any help is highly appreciated! Thank you Best regards, Allen |
Fri, Sep 28 2018 3:58 PM | Permanent Link |
Allen Hunt | << See last paragraph here:
https://www.elevatesoft.com/manual?action=viewtopic&id=ewb2&topic=Creating_Loading_DataSets >> Hi Walter, I tried checking NumPendingRequests by using a timer and it never showed any request even though I had a select executing. I did CancelPendingRequests while the LoadRows was running and I got a message there are no pending requests. Maybe it has something to do with me setting AutoTransactions to True. I'll try starting the transaction manually and see what happens but I thought it pertains to inserts, updates, and deletes only (so that Rollbacks or Commit can be performed). I suppose it could have something to do with me using an older version of EWB version 2.14 Build 5. I'll let you know what I find out. Thank you very much! Best regards, Allen |
Fri, Sep 28 2018 7:52 PM | Permanent Link |
Walter Matte Tactical Business Corporation | Once you Execute the LoadRows - there would be 0 PENDING - pending would only be if you did several and they had not finished.
When you start LoadRows and it is sent to server and running you cannot cancel - you sent the request to the server - this is not a desktop application. There are two different computers (unless you are really clever and can send a command to server to stop and know what thread is doing the work...) You either wait for an OnError or OnLoad to determine the outcome. You need to do Web programming statelessly. Walter Allen W. Hunt wrote: << See last paragraph here: https://www.elevatesoft.com/manual?action=viewtopic&id=ewb2&topic=Creating_Loading_DataSets >> Hi Walter, I tried checking NumPendingRequests by using a timer and it never showed any request even though I had a select executing. I did CancelPendingRequests while the LoadRows was running and I got a message there are no pending requests. Maybe it has something to do with me setting AutoTransactions to True. I'll try starting the transaction manually and see what happens but I thought it pertains to inserts, updates, and deletes only (so that Rollbacks or Commit can be performed). I suppose it could have something to do with me using an older version of EWB version 2.14 Build 5. I'll let you know what I find out. Thank you very much! Best regards, Allen |
This web page was last updated on Thursday, March 23, 2023 at 02:07 AM | Privacy Policy![]() © 2023 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |