Problems with records in Expense Manager

I am creating an expense management or control app, I have screens that enter Initial Balance, Expenses, Income, but on the movements screen the Expenses and Income are overwritten



APP01.aia (514.6 KB)


It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

This is the first time I publish, the images don't load

I see your problem.

You are using the same tag numbering range for both Ingres and Egres (Income and Expenses?)

So they overlap and one overwrites the other.

Either start using different TinyDB NameSpace for your Ingres and Egres T & N entries, or
extend your tags to distinguish between EgresT and IngresT , as well as EgresN and IngresN tags.

Current (incorrect) code:

recommended changes:

Also, you should never open Screen1, just close the current screen, to avoid filling RAM.

APP01 (1).aia (514.4 KB)