Lillina Falcon

unread,
Jun 21, 2015, 10:41:15 AM6/21/15
to mitappinv...@googlegroups.com

I am trying to make an bmi app with one page where you enter name, age, height, weight, etc. like so:

Once you press save info it should open up another page with the message. Hello/Welcome "NAME" you are "AGE" years old and your bmi is "BMI". This is the coding I have for the details page:

I need to use the same variables from this page to open up a new message and page displaying the previous message? Does anyone have any idea how I can programme the tinydbi and the message that will come up using those variables? this is what I have done on the new screen/page:


ANY HELP??? PLEASE. I HAVE A DEADLINE, I NEED TO FINISH THIS IN 2 WEEKS

Taifun

unread,
Jun 21, 2015, 10:49:20 AM6/21/15
to mitappinv...@googlegroups.com
make sure to use exactly the same tag names (e.g. Height is not the same as height)



also you can use the regular TinyDB.GetValue block from the TinyDB drawer instead of the advanced block
Taifun

Taifun

unread,
Jun 21, 2015, 10:51:30 AM6/21/15
to mitappinv...@googlegroups.com
another thing: why do you assign all values to MyBMI.AboutScreen? Does that make sense?
You should define some variables in screen MyBMI and assign the values to these variables...
Taifun

Abraham Getzler

unread,
Jun 21, 2015, 6:37:09 PM6/21/15
to mitappinv...@googlegroups.com
I often avoid the need to add extra screens by just
popping up my results with a Notifier.

You can cram a lot of text together with the text JOIN block.
If you read the docs on the various Notifiers, you
will find some text formatting options too.

That would save you a lot of TinyDB juggling.

ABG

Reply all
Reply to author
Forward
0 new messages