I'm new to Ignition and I have an issue with reporting.
I have a report with Basic SQL Query as Data source:
SELECT audit_events.
FROM audit_events
WHERE AUDIT_EVENTS_ID = :idValue
In project I choose idValue using Spinner component and pass it to a Button with a script attached to actionPerformed Event Handler to generate the report:
For query source, you use a ? for the variable place holder, not the named query style :intValue. After you put in a question mark, a window will appear to choose the parameter to substitute into the query.
Just to clarify, it does not need to be empty. If you supply a value in the report, it will be the default value if an overriding parameter is not used in the report execute function.