Hi Erel!
I am really desperate because simpliest things are so difficult.
So I have a field in a DB called "Pic" which contains the name of a pic (i.e. "1.jpg"). When I try to load it on the screen it works fine if the field "Pic" is not empty. But if it is empty I get an error although I check it before.
regards
clooney48
I am really desperate because simpliest things are so difficult.
So I have a field in a DB called "Pic" which contains the name of a pic (i.e. "1.jpg"). When I try to load it on the screen it works fine if the field "Pic" is not empty. But if it is empty I get an error although I check it before.
B4X:
If cursor1.getString("Pic") <> "" Then
txtPic.Text = cursor1.getString("Pic")
ImageView1.Bitmap = LoadBitmapSample(File.DirRootExternal, txtPic.Text, 10,110)
End If
regards
clooney48