I have an mac mini (M4 26.5.2) with Valentina studio Pro 15.5.3 (64bit).
I create a report with some values from a mysql database.
Then I create a Xojo (2025 R 3.1) program for a Mac, and use the Print_Valentina.vsp file to create a pdf. (in xojo)
This works perfect.
But as soon as I add two Text Fields named Page Number / Total Pages. The pdf is not created, No errors just not created. And when I remove the two the pdf is created again.
This is how I print the pdf in xojo:
Try
Var Location As New FolderItem(LocationVSP)mProject = New VProject(Location)
mProject.Open()
If mProject <> Nil Then
Var inDataSource As String = "mysql://host='" + Host + "' port='" + Port.ToString() + "' dbname='" + DatabaseName + "' user='" + User + "' password='" + Password + "'"
mReport = mProject.MakeNewReport(Report, inDataSource, "" )
Var f As New folderItem(LocationPDF + "/" + PDFName)
mReport.PrintToDisk( f, EVReportPrintType.kToPDF, 1 )
End If
Exception err As VExceptionMessageBox(err.Message)
End
Can someone help me in this?
Where are the error messages kept/saved?
Thanks in advance,
Brian
