? MySql and reading out data

GMan

Well-Known Member
Licensed User
Longtime User
Hoi,
i am playing with Erels MySql-Sample and created and own databse with some testdatas.

Its no problem to read out 2 datas, but when i try to read out a third one it causes an error.
I placed that piece of cde drectly under the following line:
B4X:
lblPopulation.Text = NumberFormat2(m.Get("driver_kilometer"),0, 0, 0, True) & " (+)"
B4X:
(lightly modified)
DriverMultiplikator = NumberFormat2(m.Get("driver_multiplikator"), 1, 0,  0, false)
The dataset in the table contents only a one-digit integer (1-9) which i want to read out for calculating with other datas (already read out).

The log shows me the correct datastring, read out correctly from the table.

But why does the error appears ? The number is a simple INT (1 digit = 0-0) ?
 

GMan

Well-Known Member
Licensed User
Longtime User
Thx Erel, found it
 
Upvote 0
Top