01_579487 ffirs.qxd 2/3/05 8:22 PM Page iii Beginning InfoPath™ 2003 F. Scott Barker 01_579487 ffirs.qxd 2/3/05 8:22 PM Page ii 01_579487 ffirs.qxd 2/3/05 8:22 PM Page i Beginning InfoPath™ 2003 01_579487 ffirs.qxd 2/3/05 8:22 PM Page ii 01_579487 ffirs.qxd 2/3/05 8:22 PM Page iii Beginning InfoPath™ 2003 F. Scott Barker 01_579487 ffirs.qxd 2/3/05 8:22 PM Page iv Beginning InfoPath™ 2003 Published by Wiley Publishing, Inc. 10475 Crosspoint Boulevard Indianapolis, IN 46256 www.wiley.com Copyright © 2005 by Wiley Publishing, Inc., Indianapolis, Indiana Published simultaneously in Canada ISBN: 0-7645-7948-7 Manufactured in the United States of America 10 9 8 7 6 5 4 3 2 1 1B/ST/QS/QV/IN No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Legal Department, Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, (317) 572-3447, fax (317) 572-4355, e-mail: [email protected]. LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: THE PUBLISHER AND THE AUTHOR MAKE NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THIS WORK AND SPECIFICALLY DISCLAIM ALL WARRANTIES, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR APARTIC- ULAR PURPOSE. NO WARRANTY MAY BE CREATED OR EXTENDED BY SALES OR PROMO- TIONAL MATERIALS. THE ADVICE AND STRATEGIES CONTAINED HEREIN MAY NOT BE SUITABLE FOR EVERYSITUATION. THIS WORK IS SOLD WITH THE UNDERSTANDING THAT THE PUBLISHER IS NOT ENGAGED IN RENDERING LEGAL, ACCOUNTING, OR OTHER PRO- FESSIONAL SERVICES. IF PROFESSIONAL ASSISTANCE IS REQUIRED, THE SERVICES OF A COMPETENT PROFESSIONALPERSON SHOULD BE SOUGHT. NEITHER THE PUBLISHER NOR THE AUTHOR SHALLBE LIABLE FOR DAMAGES ARISING HEREFROM. THE FACT THAT AN ORGANIZATION OR WEBSITE IS REFERRED TO IN THIS WORK AS ACITATION AND/OR A POTENTIALSOURCE OF FURTHER INFORMATION DOES NOT MEAN THAT THE AUTHOR OR THE PUBLISHER ENDORSES THE INFORMATION THE ORGANIZATION OR WEBSITE MAY PROVIDE OR RECOMMENDATIONS IT MAYMAKE. FURTHER, READERS SHOULD BE AWARE THAT INTERNET WEBSITES LISTED IN THIS WORK MAYHAVE CHANGED OR DISAPPEARED BETWEEN WHEN THIS WORK WAS WRITTEN AND WHEN IT IS READ. For general information on our other products and services or to obtain technical support, please con- tact our Customer Care Department within the U.S. at (800) 762-2974, outside the U.S. at (317) 572-3993 or fax (317) 572-4002. Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be available in electronic books. Library of Congress Control Number: 2004029500 Trademarks:Wiley, the Wiley Publishing logo, Wrox, the Wrox logo, Programmer to Programmer, and related trade dress are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affil- iates, in the United States and other countries, and may not be used without written permission. InfoPath is a trademark of Microsoft Corporation in the United States and/or other countries. All other trademarks are the property of their respective owners. Wiley Publishing, Inc., is not associated with any product or vendor mentioned in this book. 01_579487 ffirs.qxd 2/3/05 8:22 PM Page v About the Author F. Scott Barker,a Microsoft MVP, has worked as a developer in the database field for over 16 years, and with Visual Basic, SQLServer, and Microsoft Access for the last 12 years. Scott is currently working on a major InfoPath project for Toyota, converting a largely manual paper form production quality control system to InfoPath forms. Scott worked at Microsoft in the Access and Foxpro teams. Since leaving he has been contracting with Microsoft developing in-house tools used throughout Microsoft. Scott is a writer for a number of VB/Office magazines as well as a columnist for DotNetJunkies.com and is the author of a number of books. 01_579487 ffirs.qxd 2/3/05 8:22 PM Page vi 01_579487 ffirs.qxd 2/3/05 8:22 PM Page vii Credits Acquisitions Editor Project Coordinator Jim Minatel Kristie Rees Development Editor Graphics and Production Specialists Howard A. Jones Carrie A. Foster Lauren Goddard Senior Development Editor Denny Hager Kevin Kent Joyce Haughey Amanda Spagnuolo Production Editor Pamela Hanley Quality Control Technicians Leeann Harney Technical Editor Jessica Kramer Wiley-Dreamtech India Pvt Ltd Susan Moritz Copy Editor Proofreading and Indexing Foxxe Editorial TECHBOOKS Production Services Editorial Manager Mary Beth Wakefield Vice President & Executive Group Publisher Richard Swadley Vice President and Publisher Joseph B. Wikert