1. Welcome to the newer, better version of Android Forums! Be sure to see the announcement and enjoy checking it out!

    Some of you have been having login issues. - Please try now. Sorry for the trouble!
  2. All attachments uploaded on the first day of this new look need to be re-uploaded, or will appear broken. All prior to that, and all going forward, should work fine. We apologize for the inconvenience!

Help with TinyWebDB


  1. Ano1987

    Ano1987 Member

    I have this idea:

    - InputTextField for a question.
    - SubmitButton to store (the question typed in InputTextField) in TinyWebDB
    - QuestionsField to show the latest question that was stored in TinyWebDB


    I defined a global : NumberofQuestions as Number[o]

    On ScreenInitialize:
    Set InputTextField.Text to Text[EMPTY]. (So users can fill in a question)


    Everytime I press SubmitButton, 2 things happen:

    The QuestionCount is stored:
    Global[NumberofQuestions will get +1 and then gets stored in
    TinyWebDB as: KEY: QuestionCount, value: Global[NumberofQuestions]+1

    The Question itself is stored:
    Key: Global[NumberofQuestions], value: InputTextField.Text

    Now I want to show the latest question that is stored on ScreenInitialze and when SubmitButton is pressed.

    I can't figure out how, cause I can't get to print out the value when I use the GetValue of a tag.

    I'm stugglin with Set[QuestionsField.TEXT] to the value(the question) of key 1.

    I don't want to work with lists, I want to store each question in a seperate tag/key in TinyWebDB.

    But I can't figured out how to actually show the value whats inside.

    Advertisement

Share This Page