Android Question Bug on select 3 tables sqllite?

Reids

Member
Licensed User
Longtime User
Hello All
Recently trying to select 2 tables on B4A sqllite it fine, but it problem when selecting 3 tables on B4A
here's my query on sqllite manager (mozzila firefox addon) its fine, but on B4A doesn't return row correctly

B4X:
select faktor.nm_fak as nmfak,faktordat.dat_rial as dafak from faktorial,faktordat,faktor where faktorial.id_rial=faktordat.id_rial and faktor.id_fak=faktordat.id_fak AND faktordat.id_rial=1

its fine it return correctly 4 row data as I wanted on sqllite manager, but there's problem when I compiled on B4A, it return only 2 row

B4X:
lvfaktorialload = SQL1.ExecQuery("select faktor.nm_fak as nmfak,faktordat.dat_rial as dafak from faktorial,faktordat,faktor where faktorial.id_rial=faktordat.id_rial and faktor.id_fak=faktordat.id_fak AND faktordat.id_rial=" & "'" & pckvalue & "'")
Msgbox(lvfaktorialload.RowCount,"rowcount")

I've check everything so this problem not a misstypos
Thank You
 

Reids

Member
Licensed User
Longtime User
OMG
I didn't notice that my pc and my phone has diference db which the phone db has been modified before
problem solved by clearing app cache so db is copied freshly
Thank You!
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…