-
TomYU started the topic Lock of TkbmMWCustomResolver in the forum kbmMW 6 years, 2 months ago
hi,kim
why use TCriticalSection for TkbmMWCustomResolver, but not use TkbmMWLock?
-
TomYU started the topic Can kbmMWLock.BeginWrite be nested? in the forum kbmMW 6 years, 2 months ago
hi,kim
Can kbmMWLock.BeginWrite be nested?
In one thread:
FLock.BeginWrite
…
FLock.BeginWrite
…
FLock.EndWrite
…
FLock.EndWritebest regards
Tom YU.
-
TomYU replied to the topic KMBMW moving from Firedac to Unidac errors in the forum kbmMW 6 years, 3 months ago
For such a complicated SQL, it is better to write a method on the server side.
-
TomYU started the topic about OnReconnect of Transport in the forum kbmMW 6 years, 3 months ago
hi,kim
How can I set the ConnectionString of all Transport instances in ClientConnectionPool when the reconnect event of transport occurs on the client?
Does kbmMW have the current method support?
best regards
Tom YU. -
TomYU started the topic Datetime Type of TkbmMWLoadBalancedServer in the forum kbmMW 6 years, 3 months ago
hi,
The attribute of the datetime type of TkbmMWLoadBalancedServer is inconsistent with the type returned by the load balance server。
eg.
TkbmMWLoadBalancedServer.LastRequestTime is TDateTime type and it is TkbmMWDatetime on the server side.best regards
Tom yu. -
TomYU started the topic kbmMWRoundRobinLoadBalancer in the forum kbmMW 6 years, 3 months ago
hi,
kbmMWRoundRobinLoadBalancer can’t probe all my app server.
The FetchAllServersData method did not get all my available application servers.The TkbmMWLoadBalancedServerList.Update method did not execute as expected, for example: I have four application servers, but UpdateServer did not execute 4 times.
The result is that only the first and…[Read more] -
TomYU replied to the topic smartbind and Listview in the forum kbmMW 6 years, 4 months ago
Currently I only use listView binding with ClientQuery.
-
TomYU started the topic smartbind and Listview in the forum kbmMW 6 years, 4 months ago
I want the Listview to display blanks instead of displaying a record when the DataSet has no records. Now the display result of Listview is not what I thought of.
-
TomYU replied to the topic Issue of IkbmMWScheduledEvent.WaitRun in the forum kbmMW 6 years, 6 months ago
Hi,
Thanks!
5.12 fixed is OK! -
TomYU commented on the post, kbmMW Client Update – Update your client applications from your application server 6 years, 6 months ago
If you support android, it will be more perfect!
-
TomYU replied to the topic Let's smartbind is synchronous in the forum kbmMW 6 years, 6 months ago
I bind the keyfield value to a Text object in ListviewItem,
Now I call the DataSet.Locate method to synchronize the current position of the Dataset. -
TomYU started the topic Let's smartbind is synchronous in the forum kbmMW 6 years, 6 months ago
hi,
<span class=”tlid-translation translation” lang=”en”><span class=”” title=””>Now that smartbind is executed asynchronously, how can I make it synchronous?</span></span>
E.g:
I bound Listview and DataSet. When in ListView.OnItemClick event, I think their positions are synchronized, so I can use DataSet current record. -
TomYU replied to the topic Issue of IkbmMWScheduledEvent.WaitRun in the forum kbmMW 6 years, 6 months ago
This problem affects the TkbmMWBindings.Update method.
The TkbmMWBindings.Update method will enter an infinite loop when the UpdateNonSync method generates an exception. -
TomYU started the topic Issue of IkbmMWScheduledEvent.WaitRun in the forum kbmMW 6 years, 6 months ago
hi kim
Run the following code, the ev.WaitRun method will enter an infinite loop.
procedure Tform1.Button1Click(Sender: TObject);
var
ev:IkbmMWScheduledEvent;
begin
ev:=Scheduler.Run(procedure(const AEvent:IkbmMWScheduledEvent)
begin
raise Exception.Create(‘Error Message’);…[Read more] -
TomYU started the topic Issue of TkbmMWBindingDatasetNavigator.SetValue in the forum kbmMW 6 years, 6 months ago
hi
kbmMW 5.11 fixed:
procedure TkbmMWBindingDatasetNavigator.SetValue(const AName:string; const AValue:TValue);
var
fld:TField;
begin
if IsValid then
begin
fld:=FDataset.FindField(AName);
if fld<>nil then
begin
if not (FDataset.State in [dsInsert,dsEdit]) then//+++…[Read more] -
TomYU replied to the topic Terminate Scheduler Events in the forum kbmMW 6 years, 6 months ago
Do you call the Stop method in the thread executed by the Scheduler?
If so, that is the reason.
-
TomYU replied to the topic How can I avoid having to rebind with dataset? in the forum kbmMW 6 years, 6 months ago
After using mwafoNevera or mwafoOncer, I do not need to rebind, but when ClientQuery is opened, Listview and data set are often displayed out of sync, even though I call the Refresh method.
This forced me to change back to the original way. -
TomYU replied to the topic How can I avoid having to rebind with dataset? in the forum kbmMW 6 years, 6 months ago
I have some questions about smartbind:
1.Smarbind does not work properly on the Android platform, but works normally on Windows. When ClientQuery.AutoFieldDefsOnOpen = mwafoOnce.
I think mwafoOnce has bug on android platform.
An error message : the field does not have a dataset.2.I had to call Refresh twice for Listview to display the contents…[Read more]
-
TomYU replied to the topic How can I avoid having to rebind with dataset? in the forum kbmMW 6 years, 6 months ago
hi,
“In addition, when the Listview is bound to the clientquery, my users can feel the efficiency is very low on the android platform, Is there a way to improve the efficiency?”
This problem was caused by rebinding.
I created a field for ClientQuery during the design period and bound it once during the run time to solve the problem of slow…[Read more] -
TomYU replied to the topic How can I avoid having to rebind with dataset? in the forum kbmMW 6 years, 6 months ago
hi,
This is definitely good news for me.
I have used smartbind in the actual project. If I can see the improvement of the above problem as soon as possible, it is a very grateful event for me.
I have already felt the perfection of smartbind. Smartbind is a technology that must be used in the development projects. I look forward to smartbind…[Read more]
- Load More
