Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Look up keyword or section
Like this

Table Of Contents

1A Simple SQR Program
Creating and Running an SQR Program
SQR Output
2Headings and Footings
3Selecting Data from the Database
The SQR SELECT Statement
Syntax of the SELECT Statement
Positioning Data
4Column Variables
5Break Logic
Skipping Lines Between Groups
Arranging Multiple Break Columns
Break Processing with Enhancements
Handling Page Breaks
Printing the Date
Obtaining Totals
Hyphens and Underscores
Setting Break Procedures with BEFORE and AFTER
Understanding the Order of Events
Controlling Page Breaks with Multiple ON-BREAK Columns
Saving a Value When a Break Occurs
Using ON-BREAK on a Hidden Column
Restrictions and Limitations of ON-BREAK
7Master/Detail Reports
Correlating Subqueries
8Cross-Tabular Reports
Creating the Array
Grouping by Category
Using Multiple Arrays
9Printing Mailing Labels
Defining Columns and Rows
Running the Program
10Creating Form Letters
Laying Out the Letter
11Exporting Data to Other Applications
12Using Graphics
Adding Graphics
Sharing Images among Reports
Printing Bar Codes
13Business Charts
Creating a Chart
Defining the Chart
Printing the Chart
Passing Data to the Chart
14Changing Fonts
Positioning Text
Using WRAP
15Writing Printer-Independent Reports
Guidelines for Printer-Independent Reports
16Dynamic SQL and Error Checking
• Using variables in SQL
Using Variables in SQL
Dynamic SQL
SQL Error Checking
SQL and Substitution Variables
Argument Passing
18Multiple Reports
19Using DML and DDL SQL Statements
20Working with Dates
Date Arithmetic
Date Formats
String to Date Conversions
Date to String Conversions
Using Dates with the INPUT Command
Date Edit Masks
Declaring Date Variables
21National Language Support
Available Locales
The Default Locale
Switching Locales
Modifying Locale Preferences
Keywords—NUMBER, MONEY, and DATE
Calling SQR from Another Application
Using the SQR API
Extending SQR—UFUNC.C
Adding a User Function
Step 1. Add Function Prototype
Step 2. Add Entry to USERFUNCS Table
Step 3. Add Implementation Code
Step 4. Relink SQR
ufunc on Windows 95 & NT
Implementing New User Functions on Windows 95 & NT
23Testing and Debugging
Using the Test Feature
Using the #DEBUG Command
Using Compiler Directives for Debugging
Common Programming Errors
24Performance and Tuning
SQR Performance and SQL Statements
Using and Sorting Arrays
Using and Sorting Flat Files
Creating Multiple Reports in One Pass
Tuning SQR Numerics
Compiling SQR Programs and Using SQR Execute
Processing Limits
Buffering Fetched Rows
Executing Programs on the Database Server
25Compiling Programs and Using SQR Execute
26Printing Issues
27Using the SQR Command Line
Command-Line Flags
Specifying Command-Line Arguments
How SQR Retrieves the Arguments
Specifying Arguments and Argument Files
Using an Argument File
Passing Command-Line Arguments—Other Approaches
Reserved Characters
Creating an Argument File from a Report
Using Batch Mode
28Working with HTML
SQR Capabilities Available with HTML
Producing HTML Output
HTML Output
Setting HTML Attributes under -PRINTER:EH
"Bursting" and Demand Paging
Setting Attributes with HTML Procedures
Using Additional HTML Procedures
Output File Types
Using HTML Procedures in an SQR Program
How to Use HTML Procedures
Positioning Objects
Table Procedures
Modifying an Existing SQR Program
Publishing the Report
Viewing the Published Report
Publishing Using an Automated Process
Publishing Using a CGI Script
Creating the Fill-Out Form
Creating the CGI Script
Passing Arguments to the SQR Program
29Tables of Contents
0 of .
Results for:
No results containing your search query
P. 1


Ratings: (0)|Views: 46|Likes:
Published by Shashikiran Ganji

More info:

Published by: Shashikiran Ganji on Feb 04, 2011
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





You're Reading a Free Preview
Pages 6 to 57 are not shown in this preview.
You're Reading a Free Preview
Pages 63 to 135 are not shown in this preview.
You're Reading a Free Preview
Pages 141 to 185 are not shown in this preview.
You're Reading a Free Preview
Pages 191 to 239 are not shown in this preview.
You're Reading a Free Preview
Pages 245 to 267 are not shown in this preview.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->