M Monster Music Member Aug 25, 2013 #1 Hello guys! Just want to ask if it is possible to load layout from a database? Because I want to create a little quiz app for my little brother. If it is possible, my next question is.. how to load my questions (layout) randomly? God bless everyone.
Hello guys! Just want to ask if it is possible to load layout from a database? Because I want to create a little quiz app for my little brother. If it is possible, my next question is.. how to load my questions (layout) randomly? God bless everyone.
Erel B4X founder Staff member Licensed User Longtime User Aug 25, 2013 #2 It is not possible. You should store the questions in the database, not the layout. You can use Rnd keyword to generate a random number. With this number you can fetch a random question from the database. Upvote 0
It is not possible. You should store the questions in the database, not the layout. You can use Rnd keyword to generate a random number. With this number you can fetch a random question from the database.
M Monster Music Member Aug 25, 2013 #3 Thanks for the quick reply, Sir Erel. One last favor, can you attach simple sample for me? By the way, thanks for answering my question even though I'm not a licensed-user. But I started to save my allowance since last last week to buy a license for this software. Thank you for your very kind consideration, Sir Erel. God bless you and your family as well. Upvote 0
Thanks for the quick reply, Sir Erel. One last favor, can you attach simple sample for me? By the way, thanks for answering my question even though I'm not a licensed-user. But I started to save my allowance since last last week to buy a license for this software. Thank you for your very kind consideration, Sir Erel. God bless you and your family as well.
Erel B4X founder Staff member Licensed User Longtime User Aug 26, 2013 #4 There are many ways to implement such a project. I recommend you to start with DBUtils if you are interested in a solution based on SQL. Upvote 0
There are many ways to implement such a project. I recommend you to start with DBUtils if you are interested in a solution based on SQL.
M Monster Music Member Aug 26, 2013 #5 Thank you so much, Sir Erel. Your reply is very much appreciated. God bless you. More power to Basic4Android! Upvote 0
Thank you so much, Sir Erel. Your reply is very much appreciated. God bless you. More power to Basic4Android!