Reports: Hello-World / Getting-Started

Build and share your cool customized reports built w/ one sql, Chart.js and Lua (https://github.com/moneymanagerex/general-reports)

Moderator: Renato

Post Reply
bologna
New MMEX User
Posts: 1
Joined: Fri Sep 25, 2020 3:44 pm
Are you a spam bot?: No

Reports: Hello-World / Getting-Started

Post by bologna »

I'm new to mmex, and trying to get reports up and running. Is there a hello-world example of how to make a report?

I seem to be missing some basics, and all the examples that I've found assume some basic knowledge of generating reports. I found the video guide to making reports, but this skips over the basics like how variables work, and there seems to be something very basic that I'm not understanding. When I try the rightclick -> New Sample Report -> Assets, the report has an unpopulated table in the output, so I need a little more explanation to get up and running. Any pointers would be much appreciated!

Thanks!
siowena
MVP MMEX User
Posts: 116
Joined: Tue Jul 17, 2018 8:04 am
Are you a spam bot?: No

Re: Reports: Hello-World / Getting-Started

Post by siowena »

Hi bologna,

Go to github https://github.com/moneymanagerex/gener ... editReport

The easiest to help you understand is creditreport as it's a simple list report.

Create a new blank report in MMEX, give it a useful name.

Copy the contents of the github files into the various elements of the report

Save the report
Run the report

Note: this is slow as the structure of the files in github have changed since I last looked and the grm files have been redone.

It would be good to know you level of comfort with SQL, LUA and HTML?
Post Reply