Attach values to list items for load and unload

Can anyone recommend a tutorial to read or watch to help me better understand saving data to a list item.

I would like to save 2 numbers to a project that is then saved as a list. I then want to load those 2 numbers back into screen 1 when the project is selected. It feels like I'm almost there but I'm missing something.

This is my first time coding anything so I appreciate all of the help with this!

I have also uploaded my .aia file.

Working_Gcc_copy_backup013125_copy.aia (31.0 KB)

Something like this ?

Yes but i can't retreive Mynumbers value if i leave the screen. also i join the name
and a tag for one tag

Do you mean when you switch to another screen? If so, add a tinydb component to that screen and call the tag there.

This app looks familiar.

Have you been pecking away at it on this board recently?

Anyway, let's get down your data structure for what you will need to keep in TinyDB and how to keep it.

I am guess ing from your code that you are keeping track of knitting Projects, each with a unique ProjectName, and each ProjectName has 4 attributes:

  • Total target Rows
  • Total target stitches
  • number of Rows Completed so far
  • number of Stitches completed so far?

If this were in a spreadsheet it would take 5 columns, with project name in column A, followed by 4 more columns for the other attributes?

Once this is settled, we can address how to store and display and update it.

Hi ABG,

Ya I have been working away at this for a bit, there was a lot of helpful stuff in the other topic but I felt a new topic would help focus on this current issue.

Yes I'm looking to have a project name with 4 attributes exactly as you have it here.

  1. ProjectName1
  • Total target Rows
  • Total target stitches
  • number of Rows Completed so far
  • number of Stitches completed so far?
  1. ProjectName2
  • Total target Rows
  • Total target stitches
  • number of Rows Completed so far
  • number of Stitches completed so far?

and so on.

Any help would be greatly appreciated!!!

Here's a very similar project, using Contacts instead of Projects:

Just go through the AI2 Project, and rename all components to say KnittingProject instead of Contact.

Then go into the list of attributes in a text block, and change the Attributes to your 4 attributes (no blanks allowed, use Camel Case)

I did this project to have something reusable.

Edit: Found it

I got most of it changed but I'm missing one thing. I'm trying to modify the components like Name, Address and stuff like that but I'm not sure where to go or how to do that.

I really appreciate all the help with this project!

The Designer has that.

So,

I'm still struggling.

This small detail of storing and loading the current stitch and row counts is literally the only thing keeping me from finishing this project. Is there a quick and easy way to make it work it its current configuration? I have a deadline of Thursday otherwise I would rework everything with the Dictionaries.

I'm sorry for asking so much, and I'm really grateful for the help!

What's that?