Sei sulla pagina 1di 532
User Guide
User Guide
User Guide

User Guide

Copyright © 1999 COREL CORPORATION and COREL CORPORATION LIMITED. All rights reserved.

For more complete copyright information please refer to the About section in the Help menu of the software.

TABLE OF CONTENTS

Chapter 1

Welcome to Paradox 9

 

1

Installing Paradox 9

2

Using Paradox documentation

Exploring the work area

.

.

 

.

.

.

.

.

.

.

.

.

.

.

.

.

6

13

Technical Support and Services .

.

.

.

.

.

.

.

.

.

.

.

.

.

18

Chapter 2 Getting started

. Introduction to database systems

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

25

25

 

Understanding relational databases

.

.

.

.

.

.

.

.

.

.

.

.

.

26

Understanding Paradox objects .

.

.

.

.

.

.

.

.

.

.

.

.

.

33

Setting desktop and system preferences

.

 

.

.

.

.

.

.

.

.

.

.

.

.

38

Setting ObjectPAL preferences

.

.

.

.

.

.

.

.

.

.

.

.

40

Organizing your database projects

.

.

.

.

.

.

.

.

.

.

.

.

42

Project Viewer

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

42

Directories.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

45

Aliases

. Printing, saving, closing and exiting .

.

.

.

.

.

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

46

49

Chapter 3

Tables

.

.

.

.

.

.

.

.

.

.

.

.

.

51

Creating tables

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

52

Indexes

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

58

Maintaining data integrity .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

62

Validity checks .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

63

Table lookups

.

.

.

.

.

.

.

.

.

.

.

.

.

.

69

Passwords . Referential integrity

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

73

77

Visual Database Designer

.

.

.

.

.

.

.

.

.

.

.

.

.

.

81

Navigating and Viewing tables .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

85

Filtering tables

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

91

. Restructuring tables .

Sorting tables

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

100

103

Restructuring and referential integrity . Changing field types . Repairing tables

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

107

109

111

 

Changing the appearance of tables .

.

.

.

.

.

.

.

.

.

.

.

.

113

 

.

.

.

.

.

.

.

.

.

.

.

.

113

 

Rearranging fields, columns, and rows . Changing table properties .

.

.

.

.

.

.

.

. Adding, moving, and subtracting table records

Data formats

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

115

125

130

Copying, renaming, emptying, and deleting tables .

 

.

.

.

.

.

.

.

.

.

135

Locking tables

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

139

Chapter 4

Entering and editing table data

 

.

.

.

.

.

.

.

143

Data entry basics

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

143

Inserting, posting, and deleting records

.

.

.

.

.

.

.

.

.

.

.

.

148

Cutting, copying, and pasting data .

.

.

.

.

.

.

.

.

.

.

.

.

151

Spell checking your data .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

155

Working with graphic data

.

.

.

.

.

.

.

.

.

.

.

.

159

Finding and replacing data

.

.

.

.

.

.

.

.

.

.

.

.

161

Wildcard characters .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

165

Entering data using table lookups .

.

.

.

.

.

.

.

.

.

.

.

.

167

Locking records .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

167

Chapter 5 Forms and reports

.

.

.

.

.

.

.

.

.

.

169

 

Creating data models .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

171

Creating and opening a data model

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

172

Linking tables in a data model Viewing data models . Using table aliases

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

174

179

181

Saving and printing a data model

.

.

.

.

.

.

.

.

.

.

.

.

182

Laying out forms and reports .

.

.

.

.

.

.

.

.

.

.

.

.

.

183

.

.

.

.

.

.

.

.

.

.

.

.

.

.

183

Specifying an initial layout. Multi-table layouts

.

.

.

.

.

Using the form and report design window

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

189

192

Design Window toolbars

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

193

Design Window rulers

.

.

.

.

.

.

.

.

.

.

.

.

195

Using the Design Window grid

.

.

.

.

.

.

.

.

.

.

.

.

199

Setting Designer preferences Style sheets Saving a design

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

200

203

206

Using design objects in forms and reports Selecting design objects .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

206

207

Placing, grouping, and stacking design objects Viewing design objects Moving and aligning design objects Sizing and shaping design objects Containing design objects . Naming design objects Placing scroll bars on design objects Changing design object properties Attaching methods to design objects

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

208

211

212

215

217

220

221

224

226

Designing forms .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

227

Creating and opening a form

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

227

Page size and layout (forms)

.

.

.

.

.

.

.

.

.

.

.

229

Working with multi-page forms .

.

.

.

.

.

.

.

.

.

.

.

231

Specifying the form window style Moving around a form Delivering a form Form and page properties

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

234

236

240

240

Using forms

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

241

Running forms . Viewing the Form window . Printing a form

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

241

243

245

Designing reports

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

246

Creating and opening a report

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

246

Page size and layout (reports)

.

.

.

.

.

.

.

.

.

.

.

249

Bands . Page breaks Expanded and pushed objects

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

251

267

268

Delivering a report Report and band properties

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

276

276

Using reports

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

277

Previewing reports Using a report with a different table Printing reports Publishing reports

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

277

278

280

282

Chapter 6 Charts and crosstabs

.

.

.

.

.

.

.

.

.

285

Working with charts .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

285

Chart basics Defining a chart Modifying a chart Changing the appearance of a chart

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

286

289

291

296

Working with crosstabs

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

299

Crosstab basics.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

300

Defining a crosstab .

.

.

.

.

.

.

.

.

.

304

Modifying a crosstab .

.

.

.

.

.

.

.

.

.

307

Chapter 7 Querying your database .

.

.

.

.

.

.

.

.

309

Creating a QBE query.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

311

QBE Query operators .

Choosing tables for a QBE query

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

313

318

Selecting fields to display in a QBE query

.

.

.

.

.

.

.

.

.

.

.

322

Viewing query results

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

324

The Answer table

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

324

Live query views

.

.

.

.

.

.

.

.

.

328

Specifying query selection conditions

.

.

.

.

.

.

.

.

.

.

.

.

331

Understanding selection conditions

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

331

Using Arithmetic operators in QBE queries

.

.

.

.

.

.

.

.

.

332

Specifying matches in selection conditions

.

.

.

.

.

.

.

.

.

333

Using AND in selection conditions

.

.

.

.

.

.

.

.

.

340

Using OR in selection conditions

.

.

.

.

.

.

.

.

.

342

Using example elements in QBE queries

.

.

.

.

.

.

.

.