Using the Form Designer, you can create a dashboard to show graphs and list key figures for your company.
This tutorial will show you how to create buttons to link to Reports on the form.
You can now write the MaxBasic code to run the report
Sub ONLinkTrialBalance
Dim Form1 as Object
PeriodToUse = CurrentPeriod("AR")
Form1 = CreateObject("Accredo.GLTrialBalanceReport")
Form1.Layout = "Trial Balance"
Form1.Period = PeriodToUse
End Sub
Report |
Code |
AR Trial Balance |
Dim Form1 as Object |
AP Trial Balance |
Dim Form1 as Object |
Cash Flow |
Dim Form1 as Object |
Product Balances |
Dim Form1 as Object Form1.Layout = "Product Balances" |
(Ctrl+S).(Ctrl+R) to test the form.