index
DESCRIPTION
IndexTRANSCRIPT
-
I n d e x 313
MASTER CDDOCUMENT
LISTClick in this box to see the list of all P3documents on the CD.
TABLE OFCONTENTS FORTHIS MANUAL
Click in this box to see the Tableof Contents for this manual.
AAbs function 247Access See databasesActiveTitle$() function 192AddGroup method 223AddMenu command 194AddSort method 224AddSummary method 225AddTable method 225aliases
column aliases 19field aliases in crosstabs 127
aligningAlign Toolbox 87characters 71objects 8793text 9394
AllDataBases$ property 241AllOwners$ property 241AllTables$ property 241application events 185188arguments See macrosAsc function 248Assert statement 248assigning column aliases 19Atn function 248Avery label styles 67
BBASIC conventions
application data types 184arrays 183conversions 184dialog box records 184numbers 182records 183strings 183trappable errors 185
Beep statement 249Best Fit feature 72bitmaps (.BMP files) 102borders See formattingBtrieve See databasesbuilding a report
addinggraphs 103tables 15
without using a join 17choosing
columns 17assigning aliases 19
Indexvisually 19with a dialog box 18
report styles 11report types 11
creating crosstabs 112entering text 76formatting 61100grouping 29
after loading data 29on the server 31
joining tables 15using dialog boxes 16visual joins 15
linking to a macro 139report query, description
of 13sorting 28using
direct SQL 19Report Query dialog
boxes 13the ribbon 28the toolbar 28
with direct SQL 22ButtonGroup statement 251
C$CStrings metacommand 259Call statement 251calling applications from
ReportSmith 173CancelButton statement 252Caption statement 253CDbl function 253character sizing 70ChDir statement 254ChDrive statement 254CheckBox statement 254choosing
columnsfor use in query only 19value only 19
defined connections 15parts of a report 61records 35
CInt function 255CLng function 256Close statement 256CloseReport command 194CloseRS command 195columns
adjusting width 72
choosing 17column mode 62, 72excluding automatically 18form mode 62including automatically 18inverting in crosstabs 126moving 62, 72
using Best Fit 72selecting 62
blocks of 18fields in 63multiple 63visually 19
ComboBox statement 257Commit method 226Connect command 195connections
creating 6defined 5deleting 6saving 5, 6storing 166to graphics files 166
Const statement 257converting
a columnar report to a graph 103
to SQL 21copying data between
applications 178Cos function 258CreateDdeItem statement 196CreateDdeTopic statement 197crosstabs
aliases 127based on a columnar
report 113calculating fields 126columns 119creating by selecting
columns 113creating from scratch 112dates 123deleting items 124field aliases 127grouping 123inverting rows and columns 126manipulating data 123modifying 115
values 118parts of 108positioning 114
-
314 U s e r s G u i d e
reports 120resizing rows and
columns 120123rows 117selecting items in 115sorting 124styles 130types of 108111values 118
CSng function 258CurDir$ function 259Current command 197CurrentPage Function
command 198customizing ReportSmith 163
alphabetically listing items 166
connection file 166Dynamic Data Access 164fonts 166menu and toolbar 167picture file search path 166rulers 165start-up options 165
Ddata
bringing into a report 13copying 178grouping 29manipulating in a report 27sorting 28
DataBase$ property 241databases
Access 3Btrieve 3connecting to 3DB2 3dBASE 3defining connections 15deleting connections 6Excel 3FoxPro 3Informix 3INGRES 3InterBase 3ODBC drivers 3ORACLE 3Paradox 3Raima 3README.TXT 3saving
connection information 5connections to 6
SQLBase 3SQLServer 3storing connections 166Sybase 3Teradata 3
Unify 3used with ReportSmith 3Watcom SQL 3
DataSet control 149methods 150properties 150scope 149
date formats 74Date$ function 260Date2Str command 198DateField command 198dates
creating custom 76formats for 74formatting columns 74in crosstabs 123
DB2 See databasesdBASE See databasesDDE See Dynamic Data
ExchangeDdeExecute command 199DdePoke command 200DdeRequest command 200Declare statement 260defining connections 15Deftype statement 262deleting graphs 104derived fields
creating 43macro-derived fields 43SQL-derived fields 43uses for 43
DerivedField command 201Dialog statement 263Dim statement 263Dir$ function 265Disconnect method 227Do...While statement 266DoEvents command 201drawing objects 95Dynamic Data Access
options 164Dynamic Data Exchange
(DDE) 171application names 172conversations 172items 173synchronization 174topics 173
EEnableIcon command 201EnableMenu command 202EnableRMenu command 202entering text 76Environ$ function 267Eof function 268Erl function 268
Err function 269Err statement 269Error statement 269Error$ function 270Error$ property 242events See macrosExcel See databasesExecSQL command 204ExecuteMenu command 203Exit statement 270Exp function 271
Ffield labels 82
formatting 73Field$ command 204Field$ method 228FieldFont command 205fields
calculating in crosstabs 126creating 43, 47data fields, inserting 80derived fields, inserting 80form mode 62inserting 79inserting labels for 82macro-derived 43moving 62numeric 75report variables 81resizing field height 84selecting 63
field labels 61SQL-derived 43summary fields 82suppressing in groups 31system fields 81
FieldText command 206FileAttr function 271Fix function 272For...Next statement 272formatting
adding borders 77bitmaps 102
for background, list of 68characters 70creating styles 98crosstabs 129133dates 74, 76default report styles 98drawing objects 95extracting styles 100field labels 73fonts 70inserting fields 79labels 67margins 66modifying styles 99
-
I n d e x 315
null values 76numbers 74numeric fields 75orientation 66paginating 86patterns 78point size 70report styles 97resizing objects 64ribbon 71setting
margins 65paper size 66
shadow borders 78techniques 70time formats 75using
page setup 65the grid 69the ribbon 28
wallpaper 68FoxPro See databasesFreeFile function 274Function...End Function
statement 274
GGetAllField$ method 229GetAllFields$ method 206GetColumnAlias$ method 229GetDataSources$ method 206,
230GetDdeItem function 207GetField$ function 275GetFieldList$ method 230GetFieldName$ function 207GetGroup$ method 230GetIncludePath$ command 207GetNext command 208GetPrevious command 208GetRandom command 208GetRecordLimit function 209GetRepVar command 209GetSort$ method 231GetSQL command 209GetSQL$ method 232GetSummary$ method 231GetTable$ method 232GetTableAlias$ method 232GetTableLink$ method 233Global statement 275GoTo statement 276graphics
bitmaps (.BMP files) 102pointing to files 166
graphsconverting a columnar
report 103
creating 103deleting 104modifying 104positioning 104
grid 69GroupBox statement 277grouping 29
after loading data 29crosstabs 123database grouping 31inserting a header or
footer 33on the server 31report grouping 29suppressing fields 31
Hheaders and footers
inserting 33list of types 83placing items in 83
Hex$ function 277hiding a report section 86hWin_Active() function 210hWin_RS() function 210
I$Include metacommand 278icons, running reports from 169Id property 242If...Then...Else statement 278IncludeFields$ method 233Informix See databasesINGRES See databasesInput # statement 279Input$ function 279InputBox$ function 280InStr function 281Int function 281InterBase See databasesIsMenuChecked command 210IsMenuEnabled command 211
Jjoining tables 15
before loading into a report 16
linking fields 15modifying links 16removing a join 17visually 15
KKill statement 282KillMenu command 212
Llabels
Avery label codes 67choosing a report type 8field 73setting up 67
LastLoaded$() function 213LBound function 282LCase$ function 283Left$ function 283Len function 284Let Assignment statement 284Line Input # statement 285linking
macros to events 139objects to a report 177removing a join 17tables 15, 17
ListBox statement 285Load method 233loading a report through
PowerBuilder 174LoadReport command 213Lof function 286Log function 286LTrim$ function 287
Mmacros 181
advanced concepts 142150application events 181, 185
188arguments 143command reference 191DataSet control 148functions and statements 142linking to an event 139loading 141object reference 181report events 188sample macros 150157saving as a .MAC file 140scoping 137uses for 136using Dynamic Data
Exchange 145margins
setting 65, 66master/detail report 9menus, customizing 167methods See DataSet controlMid statement 287Mid$ function 288MkDir statement 288modes
column 62form 62
-
316 U s e r s G u i d e
movingcolumns 62, 72
column mode 72data using the grid 69objects 6164, 179
Msgbox function 289Msgbox statement 290
N$NoCStrings
metacommand 291Name statement 291Name$ property 242null values 76number formats 74
Oobjects
canceling links 178creating 176drawing 95editing links 177embedding 176linking and embedding 175linking to a report 177moving 179OLE 2.0 175
Oct$ function 291ODBC drivers See databasesOKButton statement 292OLE objects 175On Error statement 292Open statement 293Option Base statement 294OptionButton statement 294OptionGroup statement 294options
choosing font lists 166customizing 163data access options 164for columns 18listing items
alphabetically 166pointing to graphics 166printer 160selecting measurements 165start-up options 165storing connections 166
ORACLE See databasesOwner$ property 242
Ppage numbers, inserting 86page setup 65paginating a report 86
repaginate button 85
paper size, setting 66Paradox See databasesparts of a report 27point size 70PowerBuilder, loading a
report 174Print statement 295printing
canceling 161choosing a printer 160current page only 160entire report 161options 160paginating a report 86paper size 66range of pages 161setting up the printer 159
PrintReport command 213properties See DataSet control
RRaima See databasesRandomize statement 296Recalc method 234Recalc statement 214Record property 243RecordCount command 214RecordCount property 243records, choosing 35ReDim statement 296reference macro objects See
macrosRem statement 297RemoveGroup method 234RemoveSort method 234RemoveSummary method 235RemoveTable method 235RemoveTableLink method 236repaginate button 85ReplaceTable method 236report events 188report query 13
Report Query dialog boxes 13
Report Query Files (.RQF) 59report styles
applying 97creating 98default 98deleting 99extracting 100modifying 99using 97
report typeschoosing 11columnar 7crosstabs 8custom 9
form 8labels 8master/detail 9summary-only 10
report variableschanging values 51creating 48data types used in 49entry types used in 49inserting 81modifying 51samples of 5154
ReportBasicdefinition of 136uses for 136
Reset statement 297resizing
crosstab rows and columns 123
field and record height 84objects 64
Resume statement 297ResumeEvent command 215Rgb command 215ribbon 28, 71Right$ function 298RmDir statement 298Rnd function 299rows
form mode 62in crosstabs 117inverting in crosstabs 126selecting 63
RTrim$ function 299rulers 165RunMacro command 144, 216running a report from an
icon 169
SSave method 237SBL See Softbridgescoping macros 137Seek function 300Seek statement 300Select Case statement 301selecting
a printer 160a report body 64blocks of columns 18field labels 61headers and footers 64multiple columns 63rows 63text 64
selection criteria 35selection criteria, specifying 35Selection$ property 243
-
I n d e x 317
SelectReport statement 217sending menu commands 174SetColumnAlias method 237SetDataFilter statement 216SetDdeItem statement 217SetField$ function 302SetFromActive method 237SetFromLoading method 238SetIncludePath command 218SetRecordLimit statement 218SetRepVar command 217SetSQL command 219SetTableAlias method 238SetTableLink method 239setting
margins 65paper size 66
SetUserSQL method 239Sgn function 302Shell function 303ShowRS command 219Sin function 303Softbridge Basic Language
(SBL) 135sorting data
in crosstabs 124in reports 28
Space$ function 304SQL
browsing tables and columns 24
clearing the Browser 24converting to 21definition of 20entering formulas 23restrictions for entry 25testing statements 22using
direct SQL entry 20list boxes 25
viewing SQL text 21
SQLBASE See databasesSQL-derived fields 44SQLServer See databasesSqr function 304Stop statement 304Str$ function 305Str2Date command 220String$ function 305style extractor 100styles
crosstab 130report 97
Sub...End Sub statement 305SumField command 221summary fields
creating 47inserting 82
suppressing a report area 86Sybase See databasessynchronization of DDE 174system fields 81
TTable$ property 243table-driven values 54tables
adding 15creating temporary tables 58joining 15number of links between 16
Tan function 306temporary tables 5859Teradata See databasesTestSelection$ method 240text
editing 76entering and formatting 76selecting 64
Text statement 307TextBox statement 307
time 75Time$ function 308Timer function 308toolbar 28
customizing 167displaying 28
topics in this guide 1TotalPages function 222trappable errors See BASIC
conventionsType statement 308
UUBound function 309UCase$ function 310Unify See databases
VVal function 310values in crosstabs 118Visual BASIC examples
open and print 174visual joins 15
WWatcom SQL See databasesWhile...Wend syntax 310width, adjusting columns 72Write statement 311
Zzero values 76
-
318 U s e r s G u i d e
New Features in P3 1.1Planning and Control GuideReference GuideReportSmith--Getting StartedReportSmith--User's Guide