This action might not be possible to undo. Are you sure you want to continue?
Alpha Five® Version 8 makes the development of powerful SQL-based database applications and reports fast and easy. Secure web applications with full read/write and reporting capabilities can be built quickly against backend databases such as Microsoft SQL Server®, DB2®, MySQL®, Cache®, Sybase®, Oracle® and even Microsoft Access®, Microsoft Excel® and Quickbooks®. The efficiency and usability that developers experience in using Alpha Five Version 8 is achieved through the use of highly productive reusable components whenever possible - and the use of Xbasic whenever necessary for any custom part of the application. In addition to a wide array of visual tools for working with SQL data, Alpha Five Version 8 introduces “Data Access Objects” (Alpha DAO) which integrate tightly with the development environment and application server to give you virtually unlimited control over your SQL data. This document covers the ways in which Alpha Five version can work with data in a variety of remote backend databases.
Using Remote (SQL) Data Sources and Backends in Alpha Five
Using Remote (SQL) Data Sources and Backends in Alpha Five 2 .Database Explorer The Database Explorer is a new tool in Version 8. Count table rows in a backend SQL database table. label. It lets you see your tables. Create a report. their structure. and explore the data as well. Create a passive-link table based on a backend SQL database table. From the Database Explorer you can: Add a database to the Database Explorer list. or letter layout for a backend SQL database table.
or you can type in the SQL and the Genie will “translate” that into the visual display. It operates as a two-way tool.DBF table with the data from a backend SQL database table. 10g Using Remote (SQL) Data Sources and Backends in Alpha Five 3 . Display a column's data from a backend SQL database table.Create an SQL expression by calling the SQL Command Window or SQL Genie. Remove a database from the Database Explorer listing. Alpha Five supports the following databases: FlexQuarters® QODBC IBM® DB2 InterSystems® Cache Microsoft Access Microsoft Excel Microsoft SQL Server MySQL Oracle XE. Generate SQL syntax for a backend SQL database table. Create an Alpha Five . View the structure of any Alpha Five set View the properties of any table field. SQL Genie The SQL Genie helps you create sophisticated multi-table SQL statements through a point and click interface. Display data from a backend SQL database table. You visually can build your query and see the SQL that is automatically generated. and save SQL statements that will retrieve data from SQL backend databases. Open an Alpha Five layout for any Alpha Five table or set. 9i. test. You can create. Remove tables or views from the Database Explorer listing.
The following screenshots shows the SQL Genie in action. you select the fields you want to include Using Remote (SQL) Data Sources and Backends in Alpha Five 4 .Oracle Lite (9i. Orders and Shippers table have been joined together on the Tables tab of the genie. In this first screen. the Customers. On the Columns tab. even if the database doesn't appear in the list above. you can use database for which you have an ODBC driver installed. 10g) Quantel® Sybase Adaptive Server Enterprise Sybase SQLAnywhere® In addition.
You use the filter to select the records you want to include. Using Remote (SQL) Data Sources and Backends in Alpha Five 5 . As you point and click. Alpha Five creates the SQL statement for you in the lower pane.
9i. SQL Query Genie with Portable SQL Allows you to define highly sophisticated SQL statements by pointing and clicking. MySQL. Microsoft Excel. MySQL) into your reports. Microsoft Access. Excel. Oracle Lite (9i. The SQL that is produced is automatically adapted so that it works with the backend database engine you are using.SQL Report Builder The report builder lets you publish reports as PDF files or on the web or in print on a printer. InterSystems Cache. Oracle XE. You can build reports against a backend data source for which a . 10g). Microsoft SQL Server. MS SQL Server. Plus you can combine data from multiple sources (like Access. This means you don’t have to be connected to the database (or even a network) to modify your report design. Using Remote (SQL) Data Sources and Backends in Alpha Five 6 . Alpha Five can keep a cached copy of data that you can use to design your reports. IBM DB2. Sybase SQLAnywhere as well as DBF files and data sources for which you have an ODBC driver installed. including: FlexQuarters QODBC. 10g. Disconnected Table Caching As long as you have connected once to your data source. This is great for notebook and laptop users. who don’t always have constant connectivity. Quantel. The report builder creates Alpha Five Reports. Sybase Adaptive Server Enterprise. labels and mail-merges using live data from remote databases.
Forget about tedious coding to build web applications against SQL databases. and order statements and parameter values. Passive-linked tables allow you to create reports that combine data from different data sources. Using Remote (SQL) Data Sources and Backends in Alpha Five 7 . which is ideal for reporting or analysis applications on remote data. Web Component Builder Generate and customize sophisticated web pages and reusable components based on the data from your queries. Passive-Linked Tables Alpha Five lets you create tables using data from remote database sources.Automate Using Xbasic Xbasic commands allow you to automate all aspects of printing your enterprise reports. you could create a P&L report that uses sales data from a SQL Server database and expense data from an Excel spreadsheet. You can refresh data at any time by right clicking on the table or via Action-Scripting. Through an innovative point and Click approach. you define a series of reuseable components to rapidly Generate and customize sophisticated web pages and applications and reusable components based on the data from your queries. including supplying runtime filter. For example.
The Security Framework allows you to easily add robust security to your web application.Complete Web Security Framework Define and manage access to your application by user. It creates log in pages for users to log into the application and it lets you specify security for each page in your application. Using Remote (SQL) Data Sources and Backends in Alpha Five 8 . group and web page.
you have Xbasic program access to SQL databases. that make it possible to read from and write to SQL backend databases. Data Access Objects (Alpha DAO) Alpha DAO is a high level family of objects (each with properties and methods). then the Application Server tests every page and file request and handles all of the security internally. and Login Component genies. Each object has properties and methods. Yet it still gives you enormous control over setting up security for your applications. and import and export data all with a few lines of code. Execute queries with named arguments. Page Security Assignment. You may grant access to a page to one or more groups. A user may belong to one or more groups. Security settings are unique to each project. ensuring that only authorized people are viewing or editing the data. You may enable or disable security with a single setting in the Application Server Control Panel. manage result sets. With Version 8. This functionality extends familiar Alpha Five database features that previously supported only . AlphaDAO provides the following SQL objects.Web Application Security Components Given the importance of security for your Internet or intranet applications. You set your security parameters with the Security Settings. Whether or not a user belongs to a group depends on whether it is important to selectively provide access to specific pages. Scripting SQL was never this easy. Using Remote (SQL) Data Sources and Backends in Alpha Five 9 .DBF files. Version 8 comes with a complete web security framework that does not require any coding.
SQL::Argument SQL::Arguments SQL::CallResult SQL::Connection SQL::DataTypeInfo SQL::IndexColumnInfo SQL::IndexInfo SQL::ResultSet SQL::Row SQL::Schema SQL::TableInfo The screen below is a desktop example using AlphaDAO to write to a SQL Database. Alpha Five Version 8 web components take advantage of AlphaDAO. Using Remote (SQL) Data Sources and Backends in Alpha Five 10 .
Named argument support works with native SQL syntax too. Using Remote (SQL) Data Sources and Backends in Alpha Five 11 . naming formats named arguments. Includes literal values. you will see results early and maintain your site easily. With tools like these. portable functions. Alpha Five has the depth. power and extensibility to continue meeting your needs. As the complexity of your web site grows.Portable SQL Lets you create SQL that is automatically converted to the syntax of the database you connect to at run-time: The benefit of Portable SQL is that your applications become easily transportable across multiple SQL back end databases.
For details see: support. This is the same syntax used in MySQL (shown in the lower picture). DB2 is selected as the backend database and so concatenate() is replaced with ||. The SQL you create is portable. You'll see that in Portable SQL.alphasoftware. With Alpha Five. the Concatenate() function is used.htm Portable SQL in Action Below shows a simple Portable SQL statement in which the FIRSTNAME field is added to the LASTNAME field to create a new field alias called Name. you don't need to learn different SQL for different backends. Using Remote (SQL) Data Sources and Backends in Alpha Five 12 .com/alphafivehelpVersion 8/AlphaDAO/Portability_Functions. But in the upper picture. which is the correct Syntax for DB2.
Display up to 100 rows of data stored in a SQL::ResultSet object. Display the SQL Genie to help you define a SQL SELECT statement.DBF tables from a backend database. Copy a local .Xbasic New functions for working with SQL Backends Create multiple passive-link tables based on data in a SQL backend database. Using Remote (SQL) Data Sources and Backends in Alpha Five 13 . Import multiple standard Alpha Five . Display up to 100 rows from a SQL::ResultSet. Create a new layout based on a DataSource definition.DBF table to a backend database. Import the data specified by a Data Source name to an Alpha Five table. Update the data in a 'Passive-Link' table.
Create a local table from an SQL::TableInfo object.Create an SQL::TableInfo object from a local . Using Remote (SQL) Data Sources and Backends in Alpha Five 14 .DBF table.
This action might not be possible to undo. Are you sure you want to continue?
We've moved you to where you read on your other device.
Get the full title to continue reading from where you left off, or restart the preview.