Android Question jRDC Command Feedback

schalkgreyling

Member
Licensed User
Good day Community,

I've been working on some Apps using jRDC and I've recently wondered if there is a better way to get feedback in B4A/I when doing jRDC Queries.

Example:

When adding a new user, I would use something like:
B4X:
    Dim cmd2 As DBCommand
        cmd2.Initialize
        cmd2.Name = "add_user"
        cmd2.Parameters = Array As Object( Name,Surnmame)
        reqManager.ExecuteCommand(cmd2, "add_user")

Obvisouly using "reqManager.ExecuteCommand" there is no "ReqManager_Result(result As DBResult)".

So they only way I came up with to check whether the insert happened successfully is to then do a select on the user.

Is there a "command" or success status that comes through which I don't know about?

Thanks in advance
 
Top