-
andersonvieirafiori replied to the topic "Invalid Variant Operation" Error When Using Parameters in Detail Query in the forum kbmMW 1 year, 11 months ago
I found the problem.
The kbmMWServer1ServeRequest method was used for testing and log purposes, but this was causing the error mentioned, after removing the use of the method, everything worked perfectly, I will investigate how I can get around it.
-
andersonvieirafiori replied to the topic "Invalid Variant Operation" Error When Using Parameters in Detail Query in the forum kbmMW 1 year, 11 months ago
I’m thinking it might be a bug with UniDac/FireBird, as I ran the same test with SQLite and everything worked correctly, I’m reviewing everything but I can’t find where it could be wrong.
-
andersonvieirafiori started the topic "Invalid Variant Operation" Error When Using Parameters in Detail Query in the forum kbmMW 1 year, 11 months ago
Hello everyone,
I am developing a client using the Master/Detail architecture. However, I am facing an issue when using parameters in the Detail table query.
Scenario:
I have two tables in a database, a Master table and a Detail table, connected by a common field.
I am using Delphi (FMX) and TkbmMWQueryClient to implement this…[Read more] -
andersonvieirafiori replied to the topic Range check error – Android in the forum kbmMW 2 years ago
But can’t this cause future problems?
-
andersonvieirafiori started the topic Range check error – Android in the forum kbmMW 2 years ago
Hi, I did a little test on Android and noticed that when compiling in debug mode, a range check error pops up, but when compiling in release mode everything works normally. Could this be a component bug?
Is there something I can configure to use in debug mode?
Have a great weekend.
Thank you all. -
andersonvieirafiori replied to the topic Receive file rest api in the forum kbmMW 2 years ago
I managed to solve it, following the instructions Kim gave me and following the blog
I was able to receive files via multipart form-data and via stream.
ForceDirectories(‘.receivedfiles’);
sFileName:=’.receivedfilesfile.png’;…[Read more] -
andersonvieirafiori started the topic Receive file rest api in the forum kbmMW 2 years ago
Hello.
I’m creating a rest api, I can now send and receive requests, but I’m having difficulty receiving and sending files, I’m trying the following way but it doesn’t work, I’m getting an Invalid header size error.
I’m trying to send a file via Postman with binary body.
[kbmMW_Rest(‘method:post, path:saveFile’)]
function…[Read more] -
andersonvieirafiori replied to the topic Using Delta on Lazarus in the forum kbmMemTable 3 years, 5 months ago
Hi Kim
I analyzed the document, I managed to make the partial operation, only the usDeletede that did not work, I could not understand at what moment I should add the index with the UpdateStatus that is mentioned in the excerpt
“You can check the state of a record by checking the UpdateStatus property. It returns the current records state.
Was it…[Read more] -
andersonvieirafiori started the topic Using Delta on Lazarus in the forum kbmMemTable 3 years, 5 months ago
Hello.
I’m doing some tests with kbmmemtable in lazarus and I would like to know how to use Delta.Ex:
KbmMemtable1.UpdateStatus := usIntserted;
then all items inserted after commit will be listed
KbmMemtable1.UpdateStatus := usUpdated;
list updated items
KbmMemtable1.UpdateStatus := usDeleted;
List deleted items
KbmMemtable1.UpdateStatus :=…[Read more]
