Testing the Generated Code

You can create as complicated a test as you like. We will offer a very simple one. Go to Form1 and add a text box and name the text box txtCategoryName. Add a command button and call it cmdMoveNext with a caption "Move Next". Add a category control onto the form and call it ctlCategories. Add the following code to the form:

Private Sub cmdMoveNext_Click()

ctlCategories.GetCategoriesCollection(e_CategoryID).MoveNext End Sub

Private Sub Form_Load()

txtCategoryName.DataField = "CategoryName" txtCategoryName.DataMember = "CategoryIDEquals" Set txtCategoryName.DataSource =

ctlCategories.GetCategoriesCollection(e_CategoryID) End Sub

Run the generated project. You should see the following:

You can now try the project with other Access databases.

Index

<DIV> elements

DHTML, 298 <OBJECT>, 299 abstraction, 12, 190 Active Data Objects (ADO)

activity diagram for ADO connection, 251 connection object, 310, 312 connection, destroying, 311 OLE-DB, 242 Active X controls deployment phase, 339 activity diagrams, 250 activity, 413 ADO connection, 251 benefits, 258 decision points, 413 defined, 412 deliverables, 21 libraries, 251 physical design stage, 381 retrieve customer, 253 update recordset, 257 actors computers as, 182 defined, 409 design phase, 175 ADOR recordset, 244 aggregations

UML representation, 415 apartment threading, 207 applications deployment, 338 internet, 209 scalability, 209 single tier, 199 test applications, 305 structured, 306 unstructured, 305 three tier, 201

client services, 201 data services, 201 two tier, 200

data conflicts, 200 locks, 200 scalability, 201 web applications, 201 upgrading, 211

As Soon As Possible (ASAP) deactivation

MTS, 247 ASP pages, 240

ASP Request object, 289, 294 ASP Response object, 289, 294 building, 289

protecting from hackers, 296 VB component, building, 290 Visual Basic, 286 with VB component, 286 associations

UML representation, 415 atomicity transaction processing, 204 autocratic managers, 30

problems, 31 beta testing bugs ranking, 335 reproducibility, 336 communication, 333 deployment phase, 331, 333 documentation, 334 error handling, 334 performance, 334 usability testing, 333 bug reports, 308, 389 bugs documentation, 308

General Protection Fault (GPF), 335

Microsoft Transaction Server (MTS), 309

instances XE, 319 non-trivial, 308 Option Explicit, 308 ranking, 335

level 1-4, 335 reproducibility, 336 tracking, 308 procedure, 308 PVCS Tracker, 308 Track/TrackWeb, 308 Visual Intercept, 308 business case vision/scope document, 17 business processes consensus meetings, 132 user training, 336

vision/scope document, 144 business rules, 409

business term, 177 Constraints, 177, 180 Definition, 177 Derivation, 177 design phase, 176 extensions, 180 Facts, 177 OOP, 177 Requirement, 176 UML, 178 business services, 203 bottom class, 272 methods, 274 properties, 272 class diagrams, 234 component design, 235 component reuse, 210, 271 fat clients, 240 instance management, 274 middle class, 274 objects distribution, 239 testing, 305 thin clients, 240 three-tier applications, 201 top class, 276 methods, 276 C++ programmers developers team, 233

Was this article helpful?

0 0
365 Days Of Motivation

365 Days Of Motivation

Stop Wasting Time And Learn How To Stay Motivated. Finally! Discover How To Stop Your Mind From Wandering, And Upgrade Your Motivation. You Can Hack Your Motivation Levels, Allowing You To Take Your Life To The Next Level.

Get My Free Ebook


Post a comment