Hi rhadall,
The approach is indeed different.
In general, we recommend using existing reports as a reference and "steel" some code from there.
Most AI engines also do a great job in creating good reports with correct syntax if you provide the correct fields to add and describe with wich conditions.