vmag
Active Member
Hello everyone
It's been a long time, I wonder if anyone managed to work fully in B4A with ucanaccess ?
There are no problems with this in B4J:
1. plug-ins
2. Connecting to the database:
and we work ...
But in B4A I can't do it...
First, it is not clear how to connect these five modules, perhaps other operators (not #AdditionalJar)?
Secondly, it is not clear how to declare the ConDBA variable, because in this case, for B4A, the connection does not correspond to ucanaccess, but directly to SqLite.
Can anyone have a complete code example of at least connecting to the Ms access database via ucanaccess from B4A ?
It's been a long time, I wonder if anyone managed to work fully in B4A with ucanaccess ?
There are no problems with this in B4J:
1. plug-ins
B4X:
#AdditionalJar: ucanaccess-5.0.0.jar
#AdditionalJar: hsqldb-2.5.0.jar
#AdditionalJar: jackcess-3.0.1.jar
#AdditionalJar: commons-logging-1.2.jar
#AdditionalJar: commons-lang3-3.8.1.jar
B4X:
Dim ConDBA As SQL
ConDba.Initialize("net.ucanaccess.jdbc.UcanaccessDriver", "jdbc:ucanaccess:// "&DBFile &"; memory=" & False&"; showSchema=" & True&"; openExclusive=" & False & "; preventReloading= " & True)
But in B4A I can't do it...
First, it is not clear how to connect these five modules, perhaps other operators (not #AdditionalJar)?
Secondly, it is not clear how to declare the ConDBA variable, because in this case, for B4A, the connection does not correspond to ucanaccess, but directly to SqLite.
Can anyone have a complete code example of at least connecting to the Ms access database via ucanaccess from B4A ?