Home > database >  PB asynchronous loading of dw how to realize the data?
PB asynchronous loading of dw how to realize the data?

Time:09-21

Put a dw interface, through the timer in the refreshed regularly, now find the large amount of data, a refresh the mouse becomes funnel, feel very card, if to implement asynchronous refresh, how to implement? Or use PB multithreaded SharedObjectRegister way to deal with? Have good implementation approach, each master to give directions

CodePudding user response:

I think have to change the way to realize the function of your regular refresh, if data is to brush, can use time to refresh the incremental data,

CodePudding user response:

If you want to brush data can also for other operation, multithreading is the best way

CodePudding user response:

Retrieve (yield) Post (ll_dw_handle, 1306, 1, 0)
Post (ll_dw_handle, 1320, 0, 0)
Cancel the Post (ll_dw_handle, 1320, 0, 0)

CodePudding user response:

Or just add some code in retrieverow events... Can asynchronously

CodePudding user response:

The
reference 3 floor xiajinxian response:
Retrieve (yield) Post (ll_dw_handle, 1306, 1, 0)
Post (ll_dw_handle, 1320, 0, 0)
Cancel the Post (ll_dw_handle, 1320, 0, 0)

Retrieve (yield)? Used to explain in detail the usage?

CodePudding user response:

Send this message can be achieved when retrieving data can operate on other action (including stop retrieval)
Send (handle (dw_1), 1306, 1, 0)

//stop searching
Dw_1. Dbcancel ()

The disadvantage is that just can't retrieve parameters specified

CodePudding user response:

I now is in the timer event incremental search, but still get stuck, I try the way in which use SharedObjectRegister see will not improve some, mainly pb multithreading is bad to use, unlike c #

CodePudding user response:

SharedObjectRegister you take two database connections to achieve results

CodePudding user response:

Using retrieverow asynchronous refresh don't use the function because take two database connections to achieve the effect

CodePudding user response:

Focus on

CodePudding user response:

This is not a datawindow asynchronous is take the database data asynchronously

CodePudding user response:

Learning how to learn!
  • Related