Create a SQL Trace from within Alpha Anywhere
An SQL Trace works to record what Structured Query Language is doing at any given time.
SQL (Structured Query Language) is a language that is used to manage data within a database. An SQL Trace works to record what this SQL is doing at any given time. In other words, it tells you whatever events and data the SQL server/database engine has returned while it is interacting with your database. In order to create an SQL Trace in Alpha Anywhere you will first need to establish a connection string that will connect you to the SQL database by providing the name of the server and the path to get there. The entire process of creating a trace is described below...
Start Alpha Anywhere, open your Alpha Anywhere workspace and then select the Tools menu. Select the cascading menus entitled External Databases and then Alpha DAO Connection Strings. The following dialog will display:
If you have already created a connection, select the connection name you used and click on the Edit button. If you do not yet have a connection, click on the New button. The following dialog will be displayed it will be labeled New or Edit depending on which button you have clicked on:
Click the Build button to create or edit your connection string. The Create SQL Connection String dialog will be displayed. To enable tracing, you will need to click the Trace SQL checkbox. Note that the checkbox is toward the bottom of the dialog:
Save your connection string and run your test using the modified connection string
Once you have reproduced the error:
From the main menu in Alpha Anywhere select View and then Trace Window.
Once the window opens, click on the SQL tab.
Click the button entitled Copy to Clipboard.
Paste the contents into a text file or into an e-mail and forward them to the person who requested the SQL trace file