B4A Library MySQL Library with jdbc

imgsimonebiliato

Well-Known Member
Licensed User
Longtime User
Here
 

Attachments

  • MySql.zip
    13.1 KB · Views: 400

imgsimonebiliato

Well-Known Member
Licensed User
Longtime User
Ok, I'm stupid .

Thanks!
 

imgsimonebiliato

Well-Known Member
Licensed User
Longtime User
Thanks.
Right now, I have only to change the string "a.SetDatabase" with my params, the line L = a.Query("") and I should retrieve some records?
 

Croïd

Active Member
Licensed User
Longtime User
Please hasanaydin52

I need to change my manifest with

B4X:
AddManifestText(
<uses-sdk android:minSdkVersion="15" android:targetSdkVersion="22"/> ( Work only mode Debug)


but library works (Mode Release & Debug) only if my manifest is on

B4X:
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="8"/>

how I can work around the error ?
 

Attachments

  • errorM.png
    19.7 KB · Views: 234

Ricardo Gonzalez Gaete

Member
Licensed User
Longtime User
for MYSQL library, I need to find text matches within the customer name, this well use it well, l same vb6 or net.

I query returns no records, no result

L = a.Query ( "SELECT CLIE_PROV, RUT_CLPR FROM WHERE BD_CLPR CLIE_PROV = '%" & xClie & "%")

If anyone can help me appreciate
 

Nagy Lajos

New Member
Licensed User
B4X:
Sub sLekerdez(csql As String) As Int
    Dim mcc As List
    Dim mi As Boolean = False
    Main.mqret=0
    mcc.Initialize
    mcc=Main.sdb.Query(csql)
    Msgbox(mcc.IsInitialized,"L0")
    If mcc.Size>1 Then
        mresult3=mcc.Get(1)
    End If
    mi=mresult3.IsInitialized
    If mi Then
        Main.mqret=mcc.Size
    End If
    Return Main.mqret
End Sub
This is my code. The mcc is not initialized for release, but running correct in debug mode. Please help me!
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…