I am building a member management and personal finance tracker app using MIT App Inventor.
I have stored member data in TinyDB with the prefix "Mem_". Currently, the total member count displays correctly on my summary dashboard (e.g., showing "2জন"). However, the financial balances (Total Balance, Bank Balance, Cash Balance, etc.) on the dashboard are not updating or adding up when a new entry is made.
Could someone please check my logic or guide me on how to properly sync the global variables and TinyDB stored values with the dashboard summary labels whenever a new member/income entry is saved?
Any advice or example blocks would be greatly appreciated. Thank you!
Sorry for the confusion! Here is the AIA file and relevant blocks for my project. Please have a look and guide me on how to fix the dashboard calculation issue.
Sorry for the confusion! Here is the AIA file and relevant blocks for my project. Please have a look and guide me on how to fix the dashboard calculation issue.
This URL allows you to open AI2 to the Project List, without opening any project. http://ai2a.appinventor.mit.edu/?autoload=false
From that list, you can request Exports of Projects without trying to open them.
If you require repair assistance, upload the aia file here.
You didn't show us the data model, how you keep details about each transfer of money to support later summarization by each dimension (member, type, datetime)
Title: Need help with MIT App Inventor blocks for Monthly Summary (Income, Expense, Balance) & Member Entry with TinyDB
Hello Everyone,
I am building a Personal Finance / Accounting app using virtual screens (VerticalArrangement containers and dynamic tab navigation).
I need assistance with creating the logic/blocks for the following features using TinyDB:
Current Month's Summary Dashboard:
Calculate and display Total Income of the Current Month (CurrentIncome).
Calculate and display Total Expense of the Current Month (CurrentExpense).
Automatically update the Remaining Balance (CurrentRemaining = CurrentIncome - CurrentExpense).
Note: The data should automatically filter or reset based on the active month.
Member Entry & Storage Logic (MemberSection):
Save new member details (Date, Name, Address, Amount/Rate) into TinyDB as a list.
Fetch and display the list of members dynamically in a ListView or dynamic layout.
If anyone could share an example block setup, procedure logic, or a sample AIA snippet for storing and filtering monthly finance transactions with TinyDB, it would be greatly appreciated!