|Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread|
|Messages 21 to 22 of 22 total|
|Waiting For Completion|
|Wed, Sep 14 2016 5:20 PM||Permanent Link|
<<Just add a public Boolean member variable (CustomersFound) to your database instance, and then set the variable to False in the BeforeLoad, and then set it accordingly in the AfterLoad. Or, you could do it way easier and just have the other areas of the application test the RowCount property of the dataset in question. The functionality is equivalent.>>
Thanks for the pointers. I basically followed this and am able to see one record. About to test to see how this holds up in a loop of several.
<< I sense that what you're looking for is a way to make this process synchronous, which will *not* be possible in a browser environment.>>
Yes. Those times when one has to break away from the conditioned desktop app process can be quite trying until one gets the hang of it.
|Mon, Sep 19 2016 7:14 AM||Permanent Link|
Tim Young [Elevate Software]
Elevate Software, Inc.
<< Yes. Those times when one has to break away from the conditioned desktop app process can be quite trying until one gets the hang of it. >>
Well, it's a shame that the browser vendors can't understand the value of synchronous execution in certain contexts, regardless of their concerns regarding the unresponsiveness that can be associated with "waiting". There's nothing to stop them from offering a way to execute a server request in a background thread and have the JS engine stop to wait for a response, while still allowing the main UI thread in the browser to respond to Windows messages so that Windows doesn't think the application is unresponsive. In fact, that is exactly how the synchronous AJAX requests worked, but they've since been deprecated and are not recommended for usage, which is why EWB doesn't use them. Now we have to wait until all commonly-used browsers support "await" operations....
|« Previous Page||Page 3 of 3|
|Jump to Page: 1 2 3|
This web page was last updated on
Thursday, March 30, 2023 at 10:19 AM
© 2023 Elevate Software, Inc. All Rights Reserved
Questions or comments ? E-mail us at firstname.lastname@example.org