1. Trang chủ
  2. » Công Nghệ Thông Tin

InfoMaker using an Adaptive Server pot

828 3.2K 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Cấu trúc

  • User’s Guide

    • About This Book

    • CHAPTER 1 Working with InfoMaker

      • About InfoMaker

      • What you can do using InfoMaker

        • Reports

        • Queries

        • Forms

        • Data pipelines

        • Applications

        • Database management

      • The InfoMaker environment

        • About the PowerBar

        • About wizards

      • Working with libraries

        • Setting the current library

      • Working with objects

        • Creating new objects

        • Opening existing objects

        • Running or previewing objects

      • Working in painters

        • Opening painters

        • Painter summary

        • Using views in painters

          • Displaying the title bar

          • Moving and resizing panes and views

          • Floating and docking views

          • Adding and removing views

          • Saving a layout

        • Using pop-up menus

        • Defining colors

      • Working with tools

      • Using property pages

      • Using toolbars

        • Toolbar basics

        • Drop-down toolbars

        • Controlling the display of toolbars

        • Moving toolbars using the mouse

          • Docking toolbars

        • Customizing toolbars

          • Modifying a custom button

        • Creating new toolbars

      • Using report wizards

      • Using the To-Do List

      • Using online Help

        • About links from Help to book content

        • About the Sybooks CD and Web site

      • Customizing keyboard shortcuts

      • Using the file editor

        • Setting file editing properties

        • Editing activities

      • Changing fonts

      • Accessing shared queries stored on a network

      • Defining libraries for user-defined form styles

      • Using the Query Governor

        • Accessing the Query Governor

        • Using the Query Governor

      • How your InfoMaker environment is managed

        • About the registry

        • About the initialization file

      • Starting InfoMaker from the command line

    • CHAPTER 2 Working with Libraries

      • About libraries

      • About InfoMaker libraries and special files

      • Creating new libraries

      • About the Library painter

      • Working with libraries

        • Displaying libraries and objects

        • Using the pop-up menu

        • Controlling columns that display in the List view

        • Selecting objects

        • Filtering the display of objects

        • Filtering the display of libraries and folders

        • Working in the current library

        • Changing the current library

        • Opening and previewing objects

        • Copying, moving, and deleting objects

        • Setting the root

        • Moving back, forward, and up one level

        • Modifying comments

        • Deleting libraries

      • Optimizing libraries

      • Regenerating library entries

        • Rebuilding libraries

        • Migrating libraries

      • Creating a library directory report

    • CHAPTER 3 Managing the Database

      • Working with database components

      • Managing databases

      • Using the Database painter

        • Modifying database preferences

        • Logging your work

      • Creating and deleting an Adaptive Server Anywhere database

      • Working with tables

        • Creating a new table from scratch

        • Creating a new table from an existing table

        • Specifying column definitions

        • Specifying table and column properties

          • Specifying table properties

          • Specifying column extended attributes

          • Specifying additional properties for character columns

        • Altering a table

        • Cutting, copying, and pasting columns

        • Closing a table

        • Dropping a table

        • Viewing pending SQL changes

        • Printing the table definition

        • Exporting table syntax

        • About system tables

        • Creating and editing Sybase Adaptive Server temporary tables

      • Working with keys

      • Working with indexes

      • Working with database views

      • Manipulating data

        • Retrieving data

        • Modifying data

        • Sorting rows

        • Filtering rows

        • Viewing row information

        • Importing data

        • Printing data

        • Saving data

      • Creating and executing SQL statements

        • Building and executing SQL statements

          • Creating stored procedures

          • Controlling comments

          • Entering SQL

          • Explaining SQL

          • Executing SQL

        • Customizing the editor

      • Controlling access to the current database

    • CHAPTER 4 Working with Data Pipelines

      • About data pipelines

        • Defining a data pipeline

        • Piping extended attributes

      • Creating a data pipeline

      • Modifying the data pipeline definition

        • Choosing a pipeline operation

        • Dependency of modifications on pipeline operation

        • When execution stops

          • Whether rows are committed

        • Piping blob data

        • Changing the destination and source databases

      • Correcting pipeline errors

      • Saving a pipeline

      • Using an existing pipeline

      • Pipeline examples

    • CHAPTER 5 Defining Reports

      • About reports

      • Choosing a presentation style

        • Using the Tabular style

        • Using the Freeform style

        • Using the Grid style

        • Using the Label style

        • Using the N-Up style

        • Using the Group style

        • Using the Composite style

        • Using the Graph and Crosstab styles

        • Using the OLE 2.0 style

        • Using the RichText style

        • Using the TreeView style

      • Building a report

      • Selecting a data source

      • Using Quick Select

        • Selecting a table

        • Selecting columns

        • Specifying sorting criteria

        • Specifying selection criteria

          • SQL expression examples

      • Using SQL Select

        • Selecting tables and views

        • Selecting columns

        • Displaying the underlying SQL statement

        • Joining tables

          • Using ANSI outer joins

        • Using retrieval arguments

        • Referencing retrieval arguments

        • Specifying selection, sorting, and grouping criteria

      • Using Query

      • Using External

      • Using Stored Procedure

      • Choosing report-wide options

      • Generating and saving a report

        • About the extended attribute system tables and reports

        • Saving the report

          • Naming the report

        • Modifying an existing report

      • Defining queries

        • Previewing the query

        • Saving the query

        • Modifying a query

      • What's next

    • CHAPTER 6 Enhancing Reports

      • Working in the Report painter

        • Understanding the Report painter Design view

          • The header band

          • The detail band

          • The summary and footer bands

        • Using the Report painter toolbars

        • Using the Properties view in the Report painter

        • Selecting controls in the Report painter

        • Resizing bands in the Report painter Design view

        • Using zoom in the Report painter

        • Undoing changes in the Report painter

      • Using the Preview view of a report

        • Retrieving data

        • Modifying data

        • Importing data into a report

        • Using print preview

        • Printing data

        • Working in a grid report

      • Saving data in an external file

        • Saving the data as PDF

          • Saving as PDF using the distill method

          • Saving as PDF using XSL-FO

          • Saving as XSL-FO

          • System requirements for XSL-FO

        • Saving the data in HTML Table format

        • Working with PSR files

          • DataWindow Web control for ActiveX

          • DataWindow plug-in

      • Modifying general report properties

        • Changing the report style

        • Setting colors in a report

        • Specifying properties of a grid report

        • Specifying pointers for a report

        • Defining print specifications for a report

          • Printing with newspaper-style columns

        • Modifying text in a report

        • Naming controls in a report

        • Using borders in a report

        • Specifying variable-height bands in a report

        • Modifying the data source of a report

          • Modifying SQL SELECT statements

          • Modifying the result set

      • Storing data in a report using the Data view

        • What happens at runtime

      • Retrieving data

        • Prompting for retrieval criteria in a report

        • Retrieving rows as needed

        • Saving retrieved rows to disk

    • CHAPTER 7 Working with Controls in Reports

      • Adding controls to a report

        • Adding columns to a report

        • Adding text to a report

        • Adding drawing controls to a report

        • Adding a group box to a report

        • Adding pictures to a report

        • Adding computed fields to a report

          • Computed columns versus computed fields

          • Defining a computed field in the Report painter Design view

        • Adding buttons to a report

          • Controlling the display of buttons in print preview and on printed output

          • Actions assignable to buttons in reports

        • Adding graphs to a report

        • Adding InkPicture controls to a report

        • Adding OLE controls to a report

        • Adding reports to a report

      • Reorganizing controls in a report

        • Displaying boundaries for controls in a report

        • Using the grid and the ruler in a report

        • Deleting controls in a report

        • Moving controls in a report

        • Copying controls in a report

        • Resizing controls in a report

        • Aligning controls in a report

        • Equalizing the space between controls in a report

        • Equalizing the size of controls in a report

        • Sliding controls to remove blank space in a report

      • Positioning controls in a report

      • Rotating controls in a report

    • CHAPTER 8 Displaying and Validating Data

      • About displaying and validating data

        • Presenting the data

        • Validating data

      • About display formats

      • Working with display formats

        • Working with display formats in the Database painter

        • Working with display formats in the Report painter and Form painter

      • Defining display formats

        • Number display formats

        • String display formats

        • Date display formats

        • Time display formats

      • About edit styles

      • Working with edit styles

        • Working with edit styles in the Database painter

        • Working with edit styles in the Form or Report painter

      • Defining edit styles

        • The Edit edit style

        • The DropDownListBox edit style

        • The CheckBox edit style

        • The RadioButtons edit style

        • The EditMask edit style

        • The DropDownDataWindow edit style

        • The InkEdit edit style

      • Defining a code table

        • How code tables are implemented

        • How code tables are processed

        • Validating user input

      • About validation rules

        • Understanding validation rules

      • Working with validation rules

      • Defining validation rules

        • Defining a validation rule in the Database painter

          • Defining the expression

          • Using match values for character columns

          • Customizing the error message

          • Specifying initial values

        • Defining a validation rule in the Form painter

          • Specifying the expression

          • Examples

      • How to maintain extended attributes

    • CHAPTER 9 Filtering, Sorting, and Grouping Rows

      • Filtering rows

      • Sorting rows

        • Suppressing repeating values

      • Grouping rows

        • Using the Group presentation style

        • Defining groups in an existing report

          • Specifying the grouping columns

          • Sorting the rows

          • Rearranging the report

          • Adding summary statistics

          • Sorting the groups

    • CHAPTER 10 Highlighting Information in Reports and Forms

      • Highlighting information

        • Modifying properties when designing

        • Modifying properties at runtime

      • Modifying properties conditionally at runtime

        • Example 1: creating a gray bar effect

        • Example 2: rotating controls

        • Example 3: highlighting rows of data

        • Example 4: changing the size and location of controls

      • Supplying property values

        • Background.Color

        • Border

        • Brush.Color

        • Brush.Hatch

        • Color

        • Font.Escapement (for rotating controls)

        • Font.Height

        • Font.Italic

        • Font.Strikethrough

        • Font.Underline

        • Font.Weight

        • Format

        • Height

        • Pen.Color

        • Pen.Style

        • Pen.Width

        • Pointer

        • Protect

        • Timer_Interval

        • Visible

        • Width

        • X

        • X1, X2

        • Y

        • Y1, Y2

      • Specifying colors

    • CHAPTER 11 Using Nested Reports

      • About nested reports

      • Creating a report using the Composite presentation style

      • Placing a nested report in another report

        • Placing a related nested report in another report

        • Placing an unrelated nested report in another report

      • Working with nested reports

        • Adjusting nested report width and height

        • Changing a nested report from one report to another

        • Modifying the definition of a nested report

        • Adding another nested report to a composite report

        • Supplying retrieval arguments to relate a nested report to its base report

        • Specifying criteria to relate a nested report to its base report

        • Using options for nested reports

    • CHAPTER 12 Exporting and Importing XML Data

      • About XML

        • Valid and well-formed XML documents

        • XML syntax

        • XML parsing

      • XML support in the Report painter

      • The Export/Import Template view for XML

        • Creating templates

        • Saving templates

        • Header and Detail sections

          • Header section

          • Detail section

      • Editing XML templates

        • XML declaration

        • Document type declaration

        • Root element

        • Controls

        • InfoMaker expressions

        • Attributes

        • Composite and nested reports

        • CDATA sections

        • Comments

        • Processing instructions

      • Exporting to XML

        • Setting properties on the Data Export page

          • The Use Template property

          • Generating group headers

          • Formatting the exported XML

          • Exporting metadata

      • Importing XML

        • Importing with a template

          • Example

        • Default data import

          • Example with no empty elements

          • Example with empty elements

        • Tracing import

    • CHAPTER 13 Working with Graphs

      • About graphs

        • Parts of a graph

          • How data is represented

          • Organization of a graph

        • Types of graphs

          • Area, bar, column, and line graphs

          • Pie graphs

          • Scatter graphs

          • Three-dimensional graphs

          • Stacked graphs

      • Using graphs in reports

        • Placing a graph in a report

        • Using the graph's Properties view

        • Changing a graph's position and size

        • Associating data with a graph

          • Specifying which rows to include in a graph

          • Specifying the categories

          • Specifying the values

          • Specifying the series

          • Examples

        • Using overlays

          • Examples

      • Using the Graph presentation style

      • Defining a graph's properties

        • Using the General property page in the graph's Properties view

        • Sorting data for series and categories

        • Specifying text properties for titles, labels, axes, and legends

        • Specifying overlap and spacing

        • Specifying axis properties

        • Specifying a pointer

    • CHAPTER 14 Working with Crosstabs

      • About crosstabs

        • Two types of crosstabs

      • Creating crosstabs

      • Associating data with a crosstab

        • Specifying the information

        • Viewing the crosstab

        • Specifying more than one row or column

      • Previewing crosstabs

      • Enhancing crosstabs

        • Specifying basic properties

        • Modifying the data associated with the crosstab

        • Changing the names used for the columns and rows

        • Defining summary statistics

          • Using crosstab functions

        • Cross-tabulating ranges of values

        • Creating static crosstabs

        • Using property conditional expressions

    • CHAPTER 15 Working with TreeViews

      • TreeView presentation style

      • Creating a new TreeView report

        • TreeView creation process

        • Creating a TreeView report

      • Adding and deleting TreeView levels

      • Selecting a tree node and navigating the tree

      • Sorting rows in a TreeView Report

      • TreeView report Design view

      • Setting properties for the TreeView report

        • Setting general TreeView properties

        • Setting TreeView level properties

        • Setting detail band properties

    • CHAPTER 16 Working with Rich Text

      • About rich text

      • Using the RichText presentation style

        • Creating the report

        • Formatting for RichText objects within the report

          • The whole RichText object

          • Selected text and paragraphs

          • Input fields

          • Pictures

        • Previewing and printing

      • Formatting keys and toolbars

    • CHAPTER 17 Using OLE in a Report

      • About using OLE in reports

      • OLE objects and the OLE presentation style

        • Adding an OLE object to a report

        • Using the OLE presentation style

        • Defining the OLE object

        • Specifying data for the OLE object

        • Previewing the report

        • Activating and editing the OLE object

        • Changing the object in the control

      • Using OLE columns in a report

        • Creating an OLE column

    • CHAPTER 18 Defining Forms

      • About forms

        • Creating new forms

        • Freeform forms

        • Grid forms

          • Working in a grid form

        • Master/Detail One-To-Many forms

        • Master/Detail Many-To-One forms

      • Creating and saving forms

        • Creating basic forms

        • Creating a master/detail form

        • Defining data so that a form can update a database

        • Generating and saving forms

          • About the extended attribute system tables and forms

          • Saving the form

      • Working with forms

        • Running forms

        • Limiting the retrieved data

        • Importing data into a form

        • Saving data in an external file

        • Printing forms

        • Actions in forms

        • Accessing and deleting forms

    • CHAPTER 19 Controlling Updates in Reports

      • About controlling updates

        • What you can do

      • Specifying the table to update

      • Specifying the unique key columns

      • Specifying an identity column

      • Specifying updatable columns

      • Specifying the WHERE clause for update/delete

      • Specifying update when key is modified

    • CHAPTER 20 Enhancing Forms

      • About enhancing forms

      • Working in the Form painter Layout view

        • Using the Form painter toolbars

          • About the PainterBars

          • About the StyleBar

        • Using the pop-up menus in the Form painter

        • Using the Properties view in the Form painter

        • Selecting controls in the Form painter

          • Displaying information about selected controls in a form

        • Defining default colors and borders in the Form painter

        • Printing the form definition

      • Reorganizing controls in the form

        • Using the grid in the Form painter

        • Deleting controls in the Form painter

        • Moving controls in the Form painter

        • Copying and pasting controls in the Form painter

        • Resizing controls in the Form painter

        • Aligning controls in the Form painter

        • Equalizing the space between controls in the Form painter

        • Equalizing the size of controls in the Form painter

        • Undoing changes in the Form painter

        • Sliding controls in a form

      • Modifying general form properties

        • Specifying a title for a form

        • Setting colors for a form

          • Defining your own colors

        • Specifying the display of scrollbars for a form

        • Specifying pointers for a form

        • Modifying text in a form

        • Defining the tab order in a form

        • Using borders in a form

        • Prompting for retrieval criteria in a form

        • Modifying the data source of a form

      • Adding controls to the form

        • Adding columns to a form

        • Adding text to a form

        • Adding computed fields to a form

          • About defining computed columns and computed fields

          • Defining a computed field

        • Adding pictures to a form

        • Adding command buttons to a form

          • Making the command button work

          • Specifying default and cancel buttons

        • Adding picture buttons to a form

        • Adding reports to a form

        • Adding drawing controls to a form

      • Highlighting information in a form

      • Displaying and validating data in a form

    • CHAPTER 21 Working with Applications

      • About applications

      • Creating an application

      • Reusing an application

      • Running an application

        • Identifying your application

        • Running a report, form, or pipeline

        • Managing the toolbar

        • Managing the open reports, forms, and pipelines

        • Using the query governor in an application

      • Using a pipeline in an application

        • Executing pipelines

        • Modifying the pipeline object’s definition

      • Starting an application from the command line

    • CHAPTER 22 Deploying Your Application

      • About deploying applications

      • Installing InfoMaker runtime files

      • Making the data source available

        • Installing native database interfaces

        • Installing ODBC and system files

        • Configuring an ODBC driver

        • Deploying the Adaptive Server Anywhere Desktop Runtime System

        • OLE DB database providers

        • JDBC database interface

          • Java support

        • Save as PDF and XSL-FO

          • Using the GNU Ghostscript distiller

          • Using the Apache FO processor

      • Installing the executable application and supporting files

        • Modifying the application’s initialization file

        • Deploying ActiveX controls

      • Starting the deployed application

    • CHAPTER 23 Operators and Expressions

      • Where you use expressions

      • Operators used in InfoMaker expressions

        • Arithmetic operators in InfoMaker expressions

        • Relational operators in InfoMaker expressions

          • Comparing strings in InfoMaker expressions

        • Logical operators in InfoMaker expressions

        • Concatenation operator in InfoMaker expressions

      • Operator precedence in InfoMaker expressions

      • Matching text patterns

    • CHAPTER 24 DataWindow Expression and InfoMaker Functions

      • Using DataWindow expression and InfoMaker functions

      • Four examples

        • Example 1: counting null values in a column

        • Example 2: counting male and female employees

        • Example 3: creating a row indicator

        • Example 4: displaying all data when a column allows nulls

        • Other examples

      • Alphabetical list of DataWindow expression and InfoMaker functions

      • Abs

      • ACos

      • Asc

      • AscA

      • ASin

      • ATan

      • Avg

      • Bitmap

      • Case

      • Ceiling

      • Char

      • CharA

      • Cos

      • Count

      • CrosstabAvg

      • CrosstabAvgDec

      • CrosstabCount

      • CrosstabMax

      • CrosstabMaxDec

      • CrosstabMin

      • CrosstabMinDec

      • CrosstabSum

      • CrosstabSumDec

      • CumulativePercent

      • CumulativeSum

      • CurrentRow

      • Date

      • DateTime

      • Day

      • DayName

      • DayNumber

      • DaysAfter

      • Dec

      • Describe

      • Exp

      • Fact

      • Fill

      • FillA

      • First

      • GetRow

      • GetText

      • Hour

      • If

      • Int

      • Integer

      • IsDate

      • IsExpanded

      • IsNull

      • IsNumber

      • IsRowModified

      • IsRowNew

      • IsSelected

      • IsTime

      • Large

      • Last

      • LastPos

      • Left

      • LeftA

      • LeftTrim

      • Len

      • LenA

      • Log

      • LogTen

      • Long

      • LookUpDisplay

      • Lower

      • Match

      • Max

      • Median

      • Mid

      • MidA

      • Min

      • Minute

      • Mod

      • Mode

      • Month

      • Now

      • Number

      • Page

      • PageAbs

      • PageAcross

      • PageCount

      • PageCountAcross

      • Percent

      • Pi

      • Pos

      • PosA

      • ProfileInt

      • ProfileString

      • Rand

      • Real

      • RelativeDate

      • RelativeTime

      • Replace

      • ReplaceA

      • RGB

      • Right

      • RightA

      • RightTrim

      • Round

      • RowCount

      • RowHeight

      • Second

      • SecondsAfter

      • Sign

      • Sin

      • Small

      • Space

      • Sqrt

      • StDev

      • StDevP

      • String

      • Sum

      • Tan

      • Time

      • Today

      • Trim

      • Truncate

      • Upper

      • Var

      • VarP

      • WordCap

      • Year

    • APPENDIX A Identifiers

      • Rules

      • Reserved words

    • APPENDIX B The Extended Attribute System Tables

      • About the extended attribute system tables

      • The extended attribute system tables

      • Edit style types for the PBCatEdt table

        • CheckBox edit style (code 85)

        • RadioButton edit style (code 86)

        • DropDownListBox edit style (code 87)

        • DropDownDataWindow edit style (code 88)

        • Edit edit style (code 89)

        • Edit Mask edit style (code 90)

    • Index

Nội dung

InfoMaker using an Adaptive Server DOCUMENT ID: DC37789-01-1050-01 LAST REVISED: March 2006 Copyright © 1991-2006 by Sybase, Inc. All rights reserved. This publication pertains to Sybase software and to any subsequent release until otherwise indicated in new editions or technical notes. Information in this document is subject to change without notice. The software described herein is furnished under a license agreement, and it may be used or copied only in accordance with the terms of that agreement. To order additional documents, U.S. and Canadian customers should call Customer Fulfillment at (800) 685-8225, fax (617) 229-9845. Customers in other countries with a U.S. license agreement may contact Customer Fulfillment via the above fax number. All other international customers should contact their Sybase subsidiary or local distributor. Upgrades are provided only at regularly scheduled software release dates. No part of this publication may be reproduced, transmitted, or translated in any form or by any means, electronic, mechanical, manual, optical, or otherwise, without the prior written permission of Sybase, Inc. Sybase, the Sybase logo, ADA Workbench, Adaptable Windowing Environment, Adaptive Component Architecture, Adaptive Server, Adaptive Server Anywhere, Adaptive Server Enterprise, Adaptive Server Enterprise Monitor, Adaptive Server Enterprise Replication, Adaptive Server Everywhere, Adaptive Warehouse, Afaria, Answers Anywhere, Anywhere Studio, Application Manager, AppModeler, APT Workbench, APT-Build, APT-Edit, APT-Execute, APT-Translator, APT-Library, AvantGo Mobile Delivery, AvantGo Mobile Inspection, AvantGo Mobile Marketing Channel, AvantGo Mobile Pharma, AvantGo Mobile Sales, AvantGo Pylon, AvantGo Pylon Application Server, AvantGo Pylon Conduit, AvantGo Pylon PIM Server, AvantGo Pylon Pro, Backup Server, BizTracker, ClearConnect, Client-Library, Client Services, Convoy/DM, Copernicus, Data Pipeline, Data Workbench, DataArchitect, Database Analyzer, DataExpress, DataServer, DataWindow, DataWindow .NET, DB-Library, dbQueue, Developers Workbench, DirectConnect, DirectConnect Anywhere, Distribution Director, e-ADK, E-Anywhere, e-Biz Impact, e-Biz Integrator, E-Whatever, EC Gateway, ECMAP, ECRTP, eFulfillment Accelerator, Embedded SQL, EMS, Enterprise Application Studio, Enterprise Client/Server, Enterprise Connect, Enterprise Data Studio, Enterprise Manager, Enterprise SQL Server Manager, Enterprise Work Architecture, Enterprise Work Designer, Enterprise Work Modeler, eProcurement Accelerator, EWA, Financial Fusion, Financial Fusion Server, Gateway Manager, GlobalFIX, iAnywhere, iAnywhere Solutions, ImpactNow, Industry Warehouse Studio, InfoMaker, Information Anywhere, Information Everywhere, InformationConnect, InternetBuilder, iScript, Jaguar CTS, jConnect for JDBC, M2M Anywhere, Mach Desktop, Mail Anywhere Studio, Mainframe Connect, Maintenance Express, Manage Anywhere Studio, M-Business Anywhere, M-Business Channel, M-Business Network, M-Business Suite, MDI Access Server, MDI Database Gateway, media.splash, MetaWorks, mFolio, Mirror Activator, MySupport, Net-Gateway, Net-Library, New Era of Networks, ObjectConnect, ObjectCycle, OmniConnect, OmniSQL Access Module, OmniSQL Toolkit, Open Biz, Open Client, Open ClientConnect, Open Client/Server, Open Client/Server Interfaces, Open Gateway, Open Server, Open ServerConnect, Open Solutions, Optima++, PB-Gen, PC APT Execute, PC DB-Net, PC Net Library, Pharma Anywhere, PocketBuilder, Pocket PowerBuilder, Power++, power.stop, PowerAMC, PowerBuilder, PowerBuilder Foundation Class Library, PowerDesigner, PowerDimensions, PowerDynamo, PowerScript, PowerSite, PowerSocket, Powersoft, PowerStage, PowerStudio, PowerTips, Powersoft Portfolio, Powersoft Professional, PowerWare Desktop, PowerWare Enterprise, ProcessAnalyst, QAnywhere, Rapport, RemoteWare, RepConnector, Replication Agent, Replication Driver, Replication Server, Replication Server Manager, Replication Toolkit, Report-Execute, Report Workbench, Resource Manager, RFID Anywhere, RW-DisplayLib, RW-Library, Sales Anywhere, SDF, Search Anywhere, Secure SQL Server, Secure SQL Toolset, Security Guardian, SKILS, smart.partners, smart.parts, smart.script, SOA Anywhere, SQL Advantage, SQL Anywhere, SQL Anywhere Studio, SQL Code Checker, SQL Debug, SQL Edit, SQL Edit/TPU, SQL Everywhere, SQL Modeler, SQL Remote, SQL Server, SQL Server Manager, SQL SMART, SQL Toolset, SQL Server/CFT, SQL Server/DBM, SQL Server SNMP SubAgent, SQL Station, SQLJ, STEP, SupportNow, S.W.I.F.T. Message Format Libraries, Sybase Central, Sybase Client/Server Interfaces, Sybase Financial Server, Sybase Gateways, Sybase IQ, Sybase MPP, Sybase SQL Desktop, Sybase SQL Lifecycle, Sybase SQL Workgroup, Sybase User Workbench, SybaseWare, Syber Financial, SyberAssist, SybFlex, SyBooks, System 10, System 11, System XI (logo), SystemTools, Tabular Data Stream, TradeForce, Transact-SQL, Translation Toolkit, UltraLite, UltraLite.NET, UNIBOM, Unilib, Uninull, Unisep, Unistring, URK Runtime Kit for UniCode, VisualWriter, VQL, WarehouseArchitect, Warehouse Control Center, Warehouse Studio, Warehouse WORKS, Watcom, Watcom SQL, Watcom SQL Server, Web Deployment Kit, Web.PB, Web.SQL, WebSights, WebViewer, WorkGroup SQL Server, XA- Library, XA-Server, XcelleNet, and XP Server are trademarks of Sybase, Inc. 10/05 Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. All other company and product names used herein may be trademarks or registered trademarks of their respective companies. Use, duplication, or disclosure by the government is subject to the restrictions set forth in subparagraph (c)(1)(ii) of DFARS 52.227-7013 for the DOD and as set forth in FAR 52.227-19(a)-(d) for civilian agencies. Sybase, Inc., One Sybase Drive, Dublin, CA 94568. Contents User’s Guide iii About This Book xxi PART 1 THE INFOMAKER ENVIRONMENT CHAPTER 1 Working with InfoMaker 3 About InfoMaker 4 What you can do using InfoMaker 5 Reports 5 Queries 8 Forms 9 Data pipelines 10 Applications 11 Database management 11 The InfoMaker environment 12 About the PowerBar 13 About wizards 14 Working with libraries 14 Setting the current library 14 Working with objects 16 Creating new objects 16 Opening existing objects 17 Running or previewing objects 18 Working in painters 18 Opening painters 19 Painter summary 19 Using views in painters 19 Using pop-up menus 24 Defining colors 25 Working with tools 26 Using property pages 27 Using toolbars 29 Toolbar basics 29 Drop-down toolbars 29 Contents iv InfoMaker Controlling the display of toolbars 30 Moving toolbars using the mouse 31 Customizing toolbars 31 Creating new toolbars 36 Using report wizards 37 Using the To-Do List 38 Using online Help 39 About links from Help to book content 40 About the Sybooks CD and Web site 40 Customizing keyboard shortcuts 41 Using the file editor 42 Setting file editing properties 43 Editing activities 43 Changing fonts 44 Accessing shared queries stored on a network 44 Defining libraries for user-defined form styles 45 Using the Query Governor 46 Accessing the Query Governor 47 Using the Query Governor 48 How your InfoMaker environment is managed 49 About the registry 49 About the initialization file 49 Starting InfoMaker from the command line 51 CHAPTER 2 Working with Libraries 53 About libraries 53 About InfoMaker libraries and special files 54 Creating new libraries 55 About the Library painter 56 Working with libraries 57 Displaying libraries and objects 57 Using the pop-up menu 58 Controlling columns that display in the List view 58 Selecting objects 58 Filtering the display of objects 59 Filtering the display of libraries and folders 60 Working in the current library 60 Changing the current library 60 Opening and previewing objects 61 Copying, moving, and deleting objects 61 Setting the root 62 Moving back, forward, and up one level 63 Modifying comments 63 Deleting libraries 64 Contents User’s Guide v Optimizing libraries 65 Regenerating library entries 65 Rebuilding libraries 66 Migrating libraries 67 Creating a library directory report 67 PART 2 WORKING WITH DATABASES CHAPTER 3 Managing the Database 71 Working with database components 71 Managing databases 74 Using the Database painter 76 Modifying database preferences 78 Logging your work 79 Creating and deleting an Adaptive Server Anywhere database 80 Working with tables 82 Creating a new table from scratch 82 Creating a new table from an existing table 83 Specifying column definitions 84 Specifying table and column properties 84 Altering a table 88 Cutting, copying, and pasting columns 89 Closing a table 90 Dropping a table 90 Viewing pending SQL changes 91 Printing the table definition 92 Exporting table syntax 92 About system tables 93 Creating and editing Sybase Adaptive Server temporary tables 94 Working with keys 95 Working with indexes 99 Working with database views 101 Manipulating data 106 Retrieving data 106 Modifying data 107 Sorting rows 107 Filtering rows 109 Viewing row information 110 Importing data 110 Printing data 111 Saving data 111 Contents vi InfoMaker Creating and executing SQL statements 112 Building and executing SQL statements 112 Customizing the editor 116 Controlling access to the current database 116 CHAPTER 4 Working with Data Pipelines 117 About data pipelines 117 Defining a data pipeline 118 Piping extended attributes 119 Creating a data pipeline 120 Modifying the data pipeline definition 123 Choosing a pipeline operation 125 Dependency of modifications on pipeline operation 126 When execution stops 127 Piping blob data 129 Changing the destination and source databases 131 Correcting pipeline errors 132 Saving a pipeline 133 Using an existing pipeline 134 Pipeline examples 134 PART 3 REPORTS CHAPTER 5 Defining Reports 139 About reports 139 Choosing a presentation style 140 Using the Tabular style 141 Using the Freeform style 141 Using the Grid style 142 Using the Label style 142 Using the N-Up style 144 Using the Group style 145 Using the Composite style 146 Using the Graph and Crosstab styles 147 Using the OLE 2.0 style 147 Using the RichText style 147 Using the TreeView style 148 Building a report 148 Selecting a data source 149 Using Quick Select 151 Selecting a table 152 Selecting columns 153 Contents User’s Guide vii Specifying sorting criteria 154 Specifying selection criteria 154 Using SQL Select 159 Selecting tables and views 161 Selecting columns 162 Displaying the underlying SQL statement 164 Joining tables 165 Using retrieval arguments 168 Referencing retrieval arguments 169 Specifying selection, sorting, and grouping criteria 170 Using Query 175 Using External 175 Using Stored Procedure 177 Choosing report-wide options 179 Generating and saving a report 180 About the extended attribute system tables and reports 180 Saving the report 182 Modifying an existing report 182 Defining queries 183 Previewing the query 183 Saving the query 184 Modifying a query 184 What's next 185 CHAPTER 6 Enhancing Reports 187 Working in the Report painter 188 Understanding the Report painter Design view 189 Using the Report painter toolbars 192 Using the Properties view in the Report painter 192 Selecting controls in the Report painter 193 Resizing bands in the Report painter Design view 195 Using zoom in the Report painter 195 Undoing changes in the Report painter 195 Using the Preview view of a report 196 Retrieving data 196 Modifying data 198 Importing data into a report 199 Using print preview 200 Printing data 202 Working in a grid report 203 Saving data in an external file 204 Saving the data as PDF 205 Saving the data in HTML Table format 209 Working with PSR files 209 Contents viii InfoMaker Modifying general report properties 215 Changing the report style 215 Setting colors in a report 216 Specifying properties of a grid report 217 Specifying pointers for a report 218 Defining print specifications for a report 218 Modifying text in a report 222 Naming controls in a report 222 Using borders in a report 223 Specifying variable-height bands in a report 223 Modifying the data source of a report 225 Storing data in a report using the Data view 226 What happens at runtime 228 Retrieving data 228 Prompting for retrieval criteria in a report 228 Retrieving rows as needed 229 Saving retrieved rows to disk 230 CHAPTER 7 Working with Controls in Reports 231 Adding controls to a report 231 Adding columns to a report 231 Adding text to a report 232 Adding drawing controls to a report 232 Adding a group box to a report 233 Adding pictures to a report 234 Adding computed fields to a report 235 Adding buttons to a report 239 Adding graphs to a report 241 Adding InkPicture controls to a report 241 Adding OLE controls to a report 241 Adding reports to a report 242 Reorganizing controls in a report 242 Displaying boundaries for controls in a report 242 Using the grid and the ruler in a report 242 Deleting controls in a report 243 Moving controls in a report 243 Copying controls in a report 244 Resizing controls in a report 244 Aligning controls in a report 245 Equalizing the space between controls in a report 246 Equalizing the size of controls in a report 246 Sliding controls to remove blank space in a report 247 Positioning controls in a report 248 Rotating controls in a report 249 Contents User’s Guide ix CHAPTER 8 Displaying and Validating Data 253 About displaying and validating data 253 Presenting the data 254 Validating data 255 About display formats 255 Working with display formats 256 Working with display formats in the Database painter 257 Working with display formats in the Report painter and Form painter 258 Defining display formats 259 Number display formats 261 String display formats 263 Date display formats 264 Time display formats 265 About edit styles 266 Working with edit styles 268 Working with edit styles in the Database painter 269 Working with edit styles in the Form or Report painter 270 Defining edit styles 271 The Edit edit style 271 The DropDownListBox edit style 272 The CheckBox edit style 272 The RadioButtons edit style 273 The EditMask edit style 274 The DropDownDataWindow edit style 277 The InkEdit edit style 279 Defining a code table 279 How code tables are implemented 279 How code tables are processed 281 Validating user input 281 About validation rules 282 Understanding validation rules 283 Working with validation rules 283 Defining validation rules 284 Defining a validation rule in the Database painter 284 Defining a validation rule in the Form painter 287 How to maintain extended attributes 290 CHAPTER 9 Filtering, Sorting, and Grouping Rows 291 Filtering rows 291 Sorting rows 293 Suppressing repeating values 295 Contents x InfoMaker Grouping rows 296 Using the Group presentation style 298 Defining groups in an existing report 301 CHAPTER 10 Highlighting Information in Reports and Forms 309 Highlighting information 309 Modifying properties when designing 310 Modifying properties at runtime 310 Modifying properties conditionally at runtime 313 Example 1: creating a gray bar effect 314 Example 2: rotating controls 315 Example 3: highlighting rows of data 316 Example 4: changing the size and location of controls 318 Supplying property values 319 Background.Color 321 Border 322 Brush.Color 323 Brush.Hatch 323 Color 324 Font.Escapement (for rotating controls) 325 Font.Height 326 Font.Italic 327 Font.Strikethrough 328 Font.Underline 329 Font.Weight 329 Format 330 Height 330 Pen.Color 331 Pen.Style 331 Pen.Width 333 Pointer 333 Protect 334 Timer_Interval 334 Visible 334 Width 335 X 335 X1, X2 336 Y 336 Y1, Y2 337 Specifying colors 337 [...]... programming required InfoMaker provides built-in connectivity to a broad range of desktop and server- based databases Some versions of InfoMaker also include the powerful Adaptive Server Anywhere database management system (DBMS) that enables you to create your own databases and use the built-in EAS Demo DB (a Sybase Adaptive Server Anywhere database) to create reports and other InfoMaker objects For... 779 xx InfoMaker About This Book Audience This book is for anyone who is using InfoMaker to work with data Although the book does not assume you have knowledge about any particular topic, having some familiarity with relational databases and SQL is helpful Consult books on these topics as needed InfoMaker works with many DBMSs This book describes how to use InfoMaker using an Adaptive Server Anywhere... form styles Using the Query Governor 45 46 How your InfoMaker environment is managed Starting InfoMaker from the command line User’s Guide Page 4 What you can do using InfoMaker The InfoMaker environment Before you begin Topic About InfoMaker 49 51 If you are new to InfoMaker, you should first do the tutorial in Getting Started The tutorial guides you through the process of building an InfoMaker application... within the InfoMaker environment; you can also bundle them in a fully functional databasemaintenance and reporting application that can be used outside the InfoMaker environment You create an application by using the Library painter to create an executable file You can use the application yourself; you can also distribute the executable file and some additional files to other users, who can then run... installing and starting SyBooks • The Sybase Product Manuals Web site is an online version of the SyBooks CD that you can access using a standard Web browser In addition to product manuals, you will find links to EBFs/Maintenance, Technical Documents, Case Management, Solved Cases, newsgroups, and the Sybase Developer Network To access the Sybase Product Manuals Web site, go to Product Manuals at http://www.sybase.com/support/manuals/... Database When you work in InfoMaker, you work in a graphical environment—and working with data in this environment means you do not need to understand SQL, the standard programming language for talking to databases InfoMaker creates all SQL statements behind the scenes as you build your reports and other objects graphically What you create in InfoMaker In InfoMaker, you can create the following objects:... view and change data • Queries to automatically retrieve data for reports or forms • Pipelines to pipe data from one database (or DBMS) to another • Applications to bundle reports and forms and distribute them to users You can see many examples of the objects you create in InfoMaker in this chapter Painters 4 In InfoMaker, you do your work in painters A painter is an object editor you use to create and... without redefining the data Here is a sample query: 8 InfoMaker CHAPTER 1 Working with InfoMaker Forms In InfoMaker, you use the Form painter to create and run interactive forms to view and change data InfoMaker provides four form styles: Freeform Master/Detail One-To-Many Grid Master/Detail Many-To-One PowerBuilder developers in your organization can create custom form styles for you to use Here are... application 3 About InfoMaker About InfoMaker InfoMaker is a reporting tool InfoMaker is a powerful and easy-to-use reporting tool that lets you query databases and create sophisticated and effective custom reports of data When optional painters are installed, it also lets you work with data in a database InfoMaker is a personal data assistant InfoMaker lets you work with data in many ways—always with... PowerBar and use the library wizard on the Library tab page If you have used InfoMaker before You can also select an existing library by clicking the Select Library button on the PowerBar and using the Browse or Recent tab pages If you select a library that you used in an earlier version of InfoMaker, InfoMaker prompts you to migrate the library to this version When InfoMaker starts When InfoMaker . Environment, Adaptive Component Architecture, Adaptive Server, Adaptive Server Anywhere, Adaptive Server Enterprise, Adaptive Server Enterprise Monitor, Adaptive Server Enterprise Replication, Adaptive. APT-Library, AvantGo Mobile Delivery, AvantGo Mobile Inspection, AvantGo Mobile Marketing Channel, AvantGo Mobile Pharma, AvantGo Mobile Sales, AvantGo Pylon, AvantGo Pylon Application Server, AvantGo. Accelerator, EWA, Financial Fusion, Financial Fusion Server, Gateway Manager, GlobalFIX, iAnywhere, iAnywhere Solutions, ImpactNow, Industry Warehouse Studio, InfoMaker, Information Anywhere, Information

Ngày đăng: 02/07/2014, 22:21

TỪ KHÓA LIÊN QUAN