• QuestionApp Lab
  • Having trouble sending and receiving data from code.org data tables.

https://studio.code.org/projects/applab/GNwZ3OYmqgnHGk41TNOJAjfBfd0gFw_0mqk0hjJ-tQc/view
If you could help me that would be great.

    altZany Seems fine to me.... although CDO is migrating off of firebase which means databrowser and not signed in accounts will no longer be able to update/interact with the data

      altZany

      onEvent("Import", "click", function() {
        readRecords("User Cloud", {}, function(records) {
        for (var i =0; i < records.length; i++) {
          if (records[i].User == getUserId()) {
            if (records[i].Session == getText("Sessionid")) {
              setText("TimeRecords", records[i].Data);
            }
          }
        }
      });
      });

      think you forgot to put [i]'s

      4 days later

      I've seen that you've changed it, you may have misheard me.

      You changed records.Data to records[i].Data but you also need to change records.User to records[i].User and records.Session to records[i].Session within the readRecords function.

        11 days later

        altZany Could I have best answer? I'm trying to get some badge.

        L
        Last Chat :(
        See ya round, people.
        Aug 16, 2024
        T
        t43rew t34t3t45ret 45 e trsdyrt
        wt rtret
        Aug 14, 2024
        general
        Goodbye Gamelab Forum.
        Aug 12, 2024
        Not CDO chat
        yes
        Jul 25, 2024

        Chat

        Welcome to the Chat!

        Please select a channel or DM on the left.
        ;