Mastering IDEAScript: The Definitive Guide
Improve your audit results and extend your capabilities with Mastering IDEAScript: The Definitive Guide
Run audit programs and data analysis projects with ease. Create a local automated audit system. Meet current audit standards. Do it all with Mastering IDEAScript, the official guide from CaseWare IDEA®.
Designed to help the complete novice develop the skills required to write applications using IDEAScript, this resource starts with simple topics, progressively working up to more complex areas. It helps you understand what automation can help you do and set reasonable goals for working with IDEAScript.
Although basic familiarity with the IDEA® program is helpful in the use of this book's concepts, neither programming skills nor special equipment is required. Here, you'll find plain-English, easy-to-follow explanations for:
Creating your first IDEAScript application
Using the IDEAScript Editor
Writing code quickly and efficiently
Building complete applications without any code at all, using the Macro Recorder
Troubleshooting errors that occur in your application
Performing basic tasks, such as indexing, sorting, and closing your database
Finding information easily within databases
And much more!
Along with a companion website containing all of the scripts found in this book, Mastering IDEAScript: The Definitive Guide is packed with practical techniques and rules of thumb to help you understand the workings of IDEAScript. The days of filling in forms and answering countless questions when running audit programs are over. From now on, let IDEAScript do the work!
IDEA® is a leading provider of data analysis software targeted to auditors to use as a tool for fraud detection and internal control assessment. IDEA® software is used in sixteen languages in more than ninety countries, by major accounting firms, governments, and corporations in all industry sectors, as well as by universities as a teaching tool.
IDEA® is a registered trademark of CaseWare International Inc.
Chapter 1: Introducing IDEAScript.
Understanding How You Use Macros.
Having Things Your Way.
Considering Your Skills.
Chapter 2: Creating Your First IDEAScript Application.
Understanding the Macro Types.
Opening the Visual Script Editor.
Writing a Hello World Application.
Building Your Application.
Chapter 3: Understanding the Basics of the IDEAScript Editor.
Working with Windows.
Hiding and Viewing Windows.
Working with Menus and Toolbars.
Chapter 4: Designing Structured Applications.
Understanding the Parts of an Application.
Methods You Use to Create an Application.
Using the Macro Recorder.
Working with Subs and Functions.
Making Your Code Easy to Read.
Adding Your Application to a Toolbar or Menu.
Chapter 5: Working with Data.
Understanding Variables and Constants.
Choosing a Data Type.
Creating Custom Data Types.
Chapter 6: Using Conditional Statements and Loops.
Making Decisions Using the If…Then…Else Statement.
Choosing between Options Using Select Case.
Performing Tasks a Specific Number of Times with For…Next.
Performing Tasks Using Conditions with Do Loop.
Adding Error Trapping to Your Application.
Redirecting Macro Flow Using GoTo.
Chapter 7: Understanding IDEA Databases.
Considering the Parts of a Database.
An Overview of the IDEA Database System.
Opening a Database for Use.
Checking the Database History.
Obtaining Field Statistics.
Setting Database Criteria.
Indexing a Database.
Sorting a Database.
Modifying Database Comments.
Committing the Database.
Closing a Database.
Chapter 8: Working with Databases.
Adding One Database to Another Using Append Database.
Comparing Two Databases Using CompareDB.
Working with Keys.
Exporting a Database Using ExportDatabase.
Working with Fields Using Field.
Working with Records.
Working with Tables.
Chapter 9: Considering the CaseWare IDEA Object Model.
Considering the IDEA Object Model.
Working with the Task Object Model.
Chapter 10: Performing Mathematical Tasks.
Performing Basic Math.
Using Advanced Math.
Chapter 11: Interacting with Arrays.
Understanding How Arrays Work.
Creating and Using Arrays.
Copying Data between Arrays.
Chapter 12: Creating Interactive Dialog Boxes.
Creating Great Dialog Boxes.
Using the Basic Controls.
Obtaining the Visual Appearance You Want.
Interacting with Dialog Boxes Using Code.
Adding Pictures to Your Dialog Boxes.
Chapter 13: Locating Information in Databases.
Performing Searches Efficiently.
Using the Built-in Search Features.
Creating a Custom Search.
Chapter 14: Importing and Exporting Data.
Considering the Import/Export Features.
Performing Data Extractions.
Managing PDF Data.
Managing Text Data.
Managing Excel Data.
Managing Access Data.
Chapter 15: Working with Files.
Considering the File Format.
Using the File IO Features.
Using External Variables
Chapter 16: Working with Other Applications.
Considering IDEAScript and Visual Basic for Applications (VBA) Differences.
Understanding the Word and Excel Object Models.
Running Word from IDEA.
Running IDEA from Excel.
Chapter 17: Performing Data Analysis Tasks.
Creating a Pivot Table.
Employing Random Record Sampling Using RandomSample.
Performing Gap Detection.
Checking Distribution Using SystematicSample.
Chapter 18: Working with Charts and Graphs.
Choosing the Correct Chart or Graph.
Creating a Basic Graph.
Defining Analytical Charts.
Chapter 19: Defining Reports.
Defining a Report.
Outputting Data in PDF Format.
Outputting Data in Word Format.
Chapter 20: Considering Database Security.
Considering Programmatic Data Security.
Choosing the Correct Data Type.
Protecting Dialog Boxes.
Chapter 21: Debugging Your Application.
Understanding the Kinds of Application Errors.
Running and Stopping the Application.
Stepping through the Application.
Using the Watch Window.
Relying on Message Boxes.
Chapter 22: Performing Project Management Tasks.
Creating a Plan for Your Application.
Keeping Track of Application Files.
Working within a Group.
Documenting Your Application.
Chapter 23: Converting Visual Script to IDEAScript.
Considering the Benefits of Using IDEAScript.
Performing the Conversion.
Making Changes and Saving the Result.
About the Author.
About the Website.
John Paul Mueller is a freelance author and technical editor. He has writing in his blood, having produced eighty-seven books and over 300 articles to date. The topics range from networking to artificial intelligence and from database management to heads-down programming. Some of his current books include a Windows command line reference, books on VBA and Visio 2007, a C# design and development manual, and an IronPython programmer's guide. His technical editing skills have helped over sixty-three authors refine the content of their manuscripts. John has provided technical editing services to both Data Based Advisor and Coast Compute magazines. He's also contributed articles to magazines like DevSource, InformIT, SQL Server Professional, Visual C++ Developer, Hard Core Visual Basic, asp.netPRO, Software Test and Performance, and Visual Basic Developer.