Android Question Application ends suddently while filling edittexts from a query

DanteS

Member
Licensed User
Longtime User
I am developing an application to show sales. You enter the invoice number and send a query to the data base and you receive the customer data and the products sold.
I started bringing 3 fields and all ran fine, but when I increased the number of fields to 6, the application ends suddenly. If I insert a msgbox between the loop that fills the edittexts with the customer data and the loop that fills a table with the products sold, it runs fine.
It seems as if the filling rate was too high. It's posible?
How can I avoid this?
Is there something like Visual Basic DOEVENTS command to deal with such problems?

Thanks in advance
 

walterf25

Expert
Licensed User
Longtime User
Is there something like Visual Basic DOEVENTS command to deal with such problems?

Yes there is.

B4X:
DoEvents


Good luck!
 
Upvote 0
Top