Thursday, December 10, 2020

Stonefield Query SDK Version 7.6

We are pleased to announce the release of version 7.6 of the Stonefield Query SDK. Here are the new features.

Report Designer

  • You can add a new data source to report on, such as another database or a Microsoft Excel document. Note: you have to be an Administrative user with an Ultimate license to use this feature.
  • Related to the previous item, if there is no relationship between the tables used in a report when you add a field in step 2 of the report wizard, you are now prompted to create one rather than just being given a warning.
  • You can now visually see the relationships for the tables in a SQL statement by clicking the View button in the Customize SQL Statement step of the Customize Wizard.
  • You can now prevent a user running a report from ignoring an ask-at-runtime filter condition.
  • The Reports Explorer now shows how long the last run of a report took. This is also available in Usage Reporting.
  • You can now force all users to log out by choosing Display Logged in Users from the Tools menu and clicking the Shutdown button. Users have three minutes to finish what they're doing and exit the program or it is terminated. This is handy if you need to install a new version or perform some maintenance that requires all users to be out of the program.
  • You can now use Microsoft SQL Server or some other database to host Stonefield Query's data tables, such as Users and Reports, rather than them being DBF files on disk.
  • You no longer get a warning message if the Everyone group doesn't have any data sources selected in the Maintain Users and Groups dialog. That allows you to turn off all data sources for all users and then turn it on group by group.
  • By default, the Login dialog displays the name of the last user who logged in. You can prevent that by adding AutoLoginName=N to Data.ini.
  • Previously, the Login dialog showed a list of data sources available to the system, whether the user who logs in can access them or not. Now, it doesn't display any data sources until the user name is entered and then only shows the data sources that user can access.
  • The Logged In Users menu item is now only available for Administrator users.
  • You can now specify whether you want to support newer email protocols or not (some mail servers require it) in the Options dialog. You can also now turn on email logging, which is helpful if emails cannot be sent for some reason. You can also determine which of several SSL/TLS settings should be used rather than just on or off.
  • You can now customize the subtotals line in the group footer of a report using a template.
  • The new SpelledOut function spells out a numeric value. For example, SpelledOut(5.25) returns "Five dollars and 25 cents".
  • You can now specify whether a cross-tab report with a page field has column totals or not.
  • A message is now displayed if login fails.
  • The Windows account a scheduled report runs under no longer has to have run the application to specify email settings. Instead, the email settings for the user who scheduled the report are used.
  • The image in the Sample page of the Reports Explorer is now scrollable.

Stonefield Query Studio

  • Three new files have to be distributed with Stonefield Query: SMTPLibrary2.dll, Library32.fll, and WinGraphViz.dll. Be sure to update or regenerate your installer script.
  • You can now visually see the relationships for a table by clicking the View Relations button in the Properties pane for a table.
  • ODBCDataSource has a new property: ConnectionFailureMessage, which is the text of any error that occurs when connecting to the database.
  • The new ReportEngine.OnFinishWizard script allows you to execute code when the user clicks the Finish button in a report wizard.
  • The new Quiet property of the Application object allows you to determine when Stonefield Query is running without displaying any user interface, such as when running a scheduled report.
  • The Log method of the Application object can now handle format strings. This saves having to concatenate strings together for more complex log entries.
  • The SaveEmailSettings method of the Application object now accepts Timeout, UseMailKit, and Logging parameters.
  • Field captions are now read from IBM DB2 databases.
  • The Options.Settings script can now access the Options dialog using the OptionsForm object. This allows you, for example, to programmatically remove a page from the Options dialog.
  • The GetReportHeader method of the Report object now accepts a parameter indicating that only the header should be returned, omitting the filter.

0 comments: