OK, i am making some progress - created a report that pulls from a mysql db and will print from the studio pro application.
i am a little stuck now, adding that to a method in xojo - getting an error or 2
---'SpecRx is the name of the StudioPro project
---'Report1 is the report i have created inside SpecRx
---'pxdemographics is the db in mysql that contains the table(s) i am querying
---'pid is the column name i am using and s is a variable holding and account number ...ie.. WHERE pid=s
"from method in xojo IDE"
var s as string
s=acctnum.text
dim theReport as VReport
theReport = SpecRx.MakeNewReport( "report1", "pxdemographics" )
theReport.SetParameterValue( "pid",s)
-----------
error like this: Expected class Vreport, but got string
-----------
Thanks for taking a look
John