OReilly access hacks tips and tools for wrangling your data apr 2005 ISBN 0596009240

633 50 0
  • Loading ...
1/633 trang
Tải xuống

Thông tin tài liệu

Ngày đăng: 26/03/2019, 16:04

AccessHacks ByKenBluttman Publisher:O'Reilly PubDate:April2005 ISBN:0-596-00924-0 Pages:352 TableofContents |Index |Examples |Errata AspartoftheMicrosoftOfficesuite,Accesshasbecometheindustry'sleadingdesktop databasemanagementprogramfororganizing,accessing,andsharinginformation But takingadvantageofthisproducttobuildincreasinglycomplexAccessapplicationsrequires somethingmorethanyourtypicalhow-tobook WhatitcallsforisAccessHacksfrom O'Reilly Thisvaluableguideprovidesdirect,hands-onsolutionsthatcanhelprelievethe frustrationsfeltbyusersstrugglingtomastertheprogram'svariouscomplexities For experiencedusers,AccessHacksoffersauniquecollectionofproventechniquesandtools thatenablethemtotaketheirdatabaseskillsandproductivitytothenextlevel ForAccess beginners,ithelpsthemacquireafirmgraspoftheprogram'smostproductivefeatures A smartcollectionofinsidertipsandtricks,AccessHackscoversalloftheprogram'sfiner points Amongthemultitudeoftopicsaddressed,itshowsusershowto:workwithAccess inmulti-userenvironmentsutilizeSQLqueriesworkwithexternaldataandprograms integrateAccesswiththird-partyproductsJustimagine:alearningprocesswithoutthe angst Well,AccessHacksdeliversitwithease,thankstothesedown-and-dirtytechniques notcollectedtogetheranywhereelse PartofO'Reilly'sbest-sellingHacksseries,Access HacksisbasedonauthorKenBluttman'stwodecadesofreal-worldexperiencein databaseprogrammingandbusinessapplicationbuilding It'sbecauseofhisvast experiencesthatthebookisabletooffersuchadeepunderstandingoftheprogram's expandingpossibilities AccessHacks ByKenBluttman Publisher:O'Reilly PubDate:April2005 ISBN:0-596-00924-0 Pages:352 TableofContents |Index |Examples |Errata Credits AbouttheAuthor Contributors Acknowledgments Preface WhyAccessHacks? HowtoUseThisBook HowThisBookIsOrganized ConventionsUsedinThisBook UsingCodeExamples SafariEnabled HowtoContactUs GotaHack? Chapter1 CoreAccess Section1.1 Hacks112 Hack1 HelpUsersFindtheObjectsTheyNeed Hack2 PersonalizeYourAccessApplication Hack3 WorkFastandAvoidTypos Hack4 OptimizeDataChanges Hack5 TransferDataBetweenVersionsofAccess Hack6 OrganizeandEnhanceYourMacros Hack7 RidYourDatabaseofClutter Hack8 ProtectValuableInformation Hack9 WorkwithAnyAmountofData Hack10 FindDatabaseObjectsinaSnap Hack11 UseaJunctionTable Hack12 StoptheDatabasefromGrowing Chapter2 Tables Section2.1 Hacks1318 Hack13 CreateanAutoNumberFieldwithaCustomValue Hack14 CopyDataBetweenTablesWithoutanAppendQuery Hack15 SteerClearofSystemTables Section16 HideSensitiveInformation Hack17 SimulateTableTriggers Section18 CreateTablesFaster Chapter3 EntryandNavigation Section3.1 Hacks1927 Hack19 HelpUsersNavigateThroughLongForms Hack20 HelpUsersEnterAdditionalText Hack21 LetUsersAddCustomItemstoPredesignedLists Hack22 PopulateandSortListswithFlair Hack23 UseCustomControlsonYourForms Hack24 ConfirmRecordUpdatesBeforeSaving Hack25 PutaClockonaForm Hack26 BeTab-Smart Hack27 HighlighttheActiveControl Chapter4 Presentation Section4.1 Hacks2839 Hack28 SeparateAlphabeticallySortedRecordsintoLetterGroups Hack29 CreateConditionalSubtotals Hack30 UseConditionalFormattingtoPointOutImportantResults Hack31 ProvideaDirectLinktoaReport Hack32 ProtectIntellectualProperty Hack33 CreateaSlideshowinAccess Hack34 PlayVideosinAccessForms Hack35 ViewReportsEmbeddedinForms Hack36 PutLineNumbersonaReport Hack37 ShadeAlternatingLinesonaReport Hack38 SavePaperbyReducingWhitespace Hack39 IncludetheDate,Time,andPageCount Chapter5 QueriesandSQL Section5.1 Hacks4054 Hack40 ReturnaSampleofRecords Hack41 CreateBulletproofInsertOperations Hack42 FindUnmatchedRecordsonMultipleFieldKeys Hack43 PlaceaGrandTotalinaQuery Hack44 SortAnyArbitraryStringofCharacters Hack45 SummarizeComplexData Hack46 GetAllCombinationsofData Hack47 Don'tLetNullsRuinDataSummaries Hack48 UseaCustomFunctioninaQuery Hack49 CreateAccessTableswithSQLServerScripts Hack50 UseWildcardsinQueries Hack51 GetCleanerOr-BasedCriteria Hack52 GetCleanerAnd-BasedCriteria Hack53 CreateanOuterJoin Hack54 UseRegularExpressionsinAccessQueries Chapter6 MultiuserIssues Section6.1 Hacks5558 Hack55 TestforDuplication Hack56 DistributeaSplitDatabasewithPredefinedTableLinks Hack57 BuildaTime-OutFeature Hack58 ImplementUniqueUsernames Chapter7 ExternalProgramsandData Section7.1 Hacks5971 Hack59 ImportNoncontiguousRangesofDatafromExcel Hack60 UseExceltoReorientAccessData Hack61 UseExcelFunctionsInsideAccess Hack62 UseWordtoCompareDatainTwoAccessTables Hack63 ImportVariedXMLDataintoAccess Hack64 ExportXMLDataSanely Hack65 BreakThroughVBA'sTransformationBarrier Hack66 LeverageSQLServerPowerbyCallingStoredProcedures Hack67 ManageWordDocumentsfromAccess Hack68 UseAccessasaFrontEndtoMySQL Hack69 SendAccessDataThroughOutlookAutomatically Hack70 CreateAccessTablesfromOutsideAccess Hack71 WriteVBAwiththeMacroRecorderinWordandExcel Chapter8 Programming Section8.1 Hacks7291 Hack72 StoreInitialControlSelectionsforLaterRecall Hack73 WriteCodeFasterbyTurningOffSyntax-Checking Hack74 SubstituteDomainAggregateFunctionsforSQLAggregateFunctions Hack75 ShrinkYourCodewithSubroutines Hack76 ShrinkYourCodewithOptionalArguments Hack77 ProtectProgrammingCodefromCuriousUsers Hack78 BuildaSecretDeveloperBackdoorintoYourApplications Hack79 HelpUsersDrillDowntoaRecord Hack80 PreventUsersfromDisablingYourStartupOptions Hack81 InformUsersofaLongProcess Hack82 AllowUserstoChooseaBack-EndDatabase Hack83 OverridetheTimeoutInterval Hack84 SaveValuesfromUnboundControlsforLaterRecall Hack85 SortRecordsRandomly Hack86 Bulk-UpdateControlsonaForm Hack87 ProvideCompleteXMLControltoAnyVersionofAccess Hack88 UseCustomEnumerations Hack89 ConvertTexttotheDesiredCase Hack90 CreateaCodeLibrary Hack91 AutomaticallyCheckforDatabaseTableUpdates Chapter9 Third-PartyApplications Section9.1 Hacks9295 Hack92 DocumentYourDatabasewithTotalAccessAnalyzer Hack93 BuildanApplicationShellwithEZApplicationGenerator Hack94 LoadYourDatabasewithTestData Hack95 UseAccessasanXMLDatabase Chapter10 TheInternet Section10.1 Hacks96100 Hack96 ExportaReportasHTML Hack97 UseaBrowserInsideAccess Hack98 PulltheHTMLSourceCodefromaWebSite Hack99 DownloadFilesUsingtheWebBrowserControl Hack100 UseaSmartTagtoOpenaWebPage Colophon Index Credits AbouttheAuthor Contributors Acknowledgments AbouttheAuthor KenBluttmanhasbeenhackingaroundwithAccessforyears HavinghonedhisprogrammingskillsbackwhenthePCwasjust becomingahouseholditem,KenfoundAccessajoytouse, evenbackinearlierversions BesidesAccess,KenexcelsatExcelandtheotherOffice products,aswellasSQLServer,webdevelopment,and VB/VB.NETdevelopment Nowonderherarelysleeps KenisalsotheauthorofDevelopingMicrosoftOfficeSolutions (AddisonWesley)andExcelFormulasandFunctionsfor Dummies(Wiley),aswellasnumerousprintandweb-based articles Onthepersonalside,Kenisamusicianandanaturelover Haveguitar,willtraveltothewoods KenlivesinNewYorkwith hiswife,son,dog,andseveralamphibians VisitKenathiswebsite:http://www.bluttman.com Contributors Thefollowingpeoplecontributedtheirhacks,writing,and inspirationtothisbook: SteveConklinisanindependentsoftwaredeveloperandthe ownerofUltraD.N.T (Development,Networks,and Training)TechnologyConsulting,locatedinQueens,New York HespecializesinAccess,VisualBasic/VB.NET,andMSSQLServerdevelopment,andisreleasingalineofPocketPC applicationsforthemobileprofessional Stevehaswritten severalarticlesforAccess/VB/SQLAdvisormagazineandhe teachesMicrosoftWindowsandOfficecoursesataNew YorkCitycommunitycollege Heisavailablefor developmentworkandcanbereachedat UltraDNT@Hotmail.com SteveHuffhasbeendevelopingAccessdatabase applicationsformorethannineyears Hehasacomputer sciencedegreefromNorthernKentuckyUniversity,where heistakingnightcoursestowardamaster'sdegreein informationsystems HehasbeendevelopingMicrosoft OfficesolutionsasaconsultantworkingforSARCOMfor morethansevenyears StevelivesinKentuckywithhis wife,Melissa Youcanreachhimthroughhiswebsite: http://www.huffs.us KirkLambhasbeendabblingwithAccessformanyyears Althoughhisexpertiseisinboating,heknowsagood databasewhenheseesone Kirkliveswithhiswife,Dill,in Washingtonstate AndreaMossfirstgotinvolvedwithAccesswhenshe designedasystemtotrackinsuranceclaims Sincethen, shehasappliedherartisticskillstodesigninglayoutand colorschemesforvariousGUIs,includingAccessformsand websites Alongtheway,shehaspickedupafewAccess tricksofherown MichaelSchmalzworksinbankingandperformsbusiness andtechnologyconsultinginavarietyofindustries Hehas beenatechnicaleditorforO'ReillyonMicrosoftOffice books MichaelhasadegreeinfinancefromPennState He liveswithhiswifeanddaughterinPennsylvania SimonSt.Laurentisawebdeveloper,networkadministrator, computer-bookauthor,andXMLtroublemakerlivingin Ithaca,NewYork HisbooksincludeXML:APrimer,XML ElementsofStyle,BuildingXMLApplications,Cookies,and SharingBandwidth Heisacontributingeditorto XMLhack.comandanoccasionalcontributortoXML.com MargaretLevineYounghasusedsmallcomputerssincethe 1970s ShegraduatedfromUnixonaPDP-11toAppleDOS onanAppleIItoDOS,Windows,andUnixonavarietyof machines Shehasdoneallkindsofjobsthatinvolve explainingtopeoplethatcomputersaren'tasmysteriousas theymightthink,includingmanagingtheuseofPCsat ColumbiaPictures,teachingscientistsandengineerswhat computersaregoodfor,andwritingandcowritingcomputer manualsandbooks,includingUnderstandingJavelinPLUS, TheCompleteGuidetoPC-File,UNIXforDummies,andThe InternetforDummies Margyhasadegreeincomputer sciencefromYaleUniversityandliveswithherhusbandand twochildreninVermont Acknowledgments Thisbookisacollaborativeeffort Mythanksgotothe contributorsforprovidinggreathacksthatIamsureyouwill enjoyasmuchasIhave Specialthanksandappreciationgotomyeditor,MitchTulloch Mitchhasstuckwithmethroughthethickandthinofgetting thisprojectcompleted Hispatienceandperseverancehave beenawesome MitchwouldliketothankMTSCommunications Inc (http://www.mts.ca)forprovidingInternetservicesfor hostinghiswebsite(http://www.mtit.com) ThankstoMichaelSchmalzfortech-reviewingthematerialand keepingonmybackaboutearlybindingversuslatebindingand otherpertinenttopicsdeartoourprofession ThankstoBrianSawyerandthegreatO'Reillyteam Thanksto allofyou Thankstomyagent,NeilSalkind,andtheStudioBteam Neil calledmeonedaylastyeartoseeifIwouldbeinterestedin writingAccessHacks Ofcourse!Andthat'showImetMitch Tulloch ThankstothestaffatDatabaseCreations,Inc (http://www.databasecreations.com)andFMS,Inc (http://www.fmsinc.com)forprovidingcopiesoftheir outstandingproducts Lastbutnotleast,thankstomywifeGaylaandsonMatthew Workingonabookisalwaysstressful,andtheyhavebeenreal troopersingivingmespaceandtimetocompletethebook It's cutetoseeaseven-year-oldbecomingsuchacomputerpro Often,MatthewwillsitonmylapandwatchwhatIamtyping NowheisanAccessexpertinhisownright Not Optionsdialogbox Or-basedcriteria outerjoins Outlook macros sendingAccessdata Index [SYMBOL][A][B][C][D][E][F][G][H][I][J][K][L][M][N] [O][P][Q][R][S][T][U][V][W][X][Z] PageBreakcontrols pagecount PageDownkey PageUpkey pages pass-throughqueries passwordsincode Paste PasteSpecialTransposefeature(Excel) personalization preferences Pictureproperty plaindatabasewindow populating sorting multiplesourcesand populatinglists2nd3rd4th alphabetically Unionqueryand preferences applying PrefixCharactersproperty printingreportsandclosing processes,length properties CurrentUser hiddenobjectsand LimitToList OnTimer Picture Index [SYMBOL][A][B][C][D][E][F][G][H][I][J][K][L][M][N] [O][P][Q][R][S][T][U][V][W][X][Z] queries Action Crosstab DataDefinition functions pass-through regularexpressionsin Select Unionqueries XMLexportsand querygrid And-basedcriteria Or-basedcriteria sortingonanycharacter2nd3rd4th5th6th7th8th9th10th Index [SYMBOL][A][B][C][D][E][F][G][H][I][J][K][L][M][N] [O][P][Q][R][S][T][U][V][W][X][Z] randomlysortingrecords read-onlycommand-lineswitch records Adminuser grouping locking random separatesorted alphabetically sorting separatealphabetically unmatched updates Records2Go references regularexpressionsinqueries relationships cascadingupdates many-to-many junctiontables remember reports embedded linenumbers lines whitespace Responseargument RIGHTJOIN rightjoin Rndfunction RowSource RowSourceproperty rows RunCodeaction RunningSum RunningSumproperty runningsums Index [SYMBOL][A][B][C][D][E][F][G][H][I][J][K][L][M][N] [O][P][Q][R][S][T][U][V][W][X][Z] samplingrecords scripts scrolling PageDownkey security backdoorbuilding hidingdata useredits usernames Selectqueries SelStart Tag,controldetailsand SelStartproperty sendingAccessdatathroughOutlook2nd3rd4th5th SendKeysstatement separatesortedrecordsalphabetically2nd3rd shadedlinesinreports shortcutkeys shortcuts desktoptodatabases keyboardshortcuts objects simple slideshows smarttags SnapshotViewer SnapshotViewerControl sorting2nd3rd anycharacter2nd Excel'sPastSpecialTransposefeature2nd3rd SortingandGroupingdialogbox sourcecode splitdata workingwith splittingdatabasesdistributingsplit SQLServer aggregatefunctions EnterpriseManager ODBCand scripts storedprocedures startup storage,preferences storedprocedures(SQL) subroutines subtotals2nd sums subtotals syntax-checking systemtables2nd3rd4th Index [SYMBOL][A][B][C][D][E][F][G][H][I][J][K][L][M][N] [O][P][Q][R][S][T][U][V][W][X][Z] tabcontrols taborder tables copyingbetween creating speed MySQL numberof2nd3rd4th updates Tagproperty testing third-partyapplicationsfor2nd text caseconversion length Textfields the third-party applications EZApplicationGenerator third-partyapplications EZApplicationGenerator MSXMLparser softwaretesting TotalAccessAnalyzer tiling time time-outfeature mouseand user-determined timeouts,overridingintervals Timerevent timers toXML exporting queriesand Toppredicate TotalAccessAnalyzer trackingobjectuse triggers formeventsand Index [SYMBOL][A][B][C][D][E][F][G][H][I][J][K][L][M][N] [O][P][Q][R][S][T][U][V][W][X][Z] unboundcontrols UNC(UniversalNamingConvention) renamingcomputer Unionquery listboxpopulation unmatchedrecords unusedobjects updates controls records tables uppercasetext usernames users editingdata processlength USys Index [SYMBOL][A][B][C][D][E][F][G][H][I][J][K][L][M][N] [O][P][Q][R][S][T][U][V][W][X][Z] values custom VBA conditionalformattingand versions video viewing SnapshotViewerControland Index [SYMBOL][A][B][C][D][E][F][G][H][I][J][K][L][M][N] [O][P][Q][R][S][T][U][V][W][X][Z] watermarks Webbrowsers filedownload Webpages whitespaceinreports wildcardsinqueries WindowsMediaPlayer wizards ExportText FindUnmatchedQuery Word documents tablecomparisonand works WorksheetFunctionproperty(Excel) worksheets(Excel) Index [SYMBOL][A][B][C][D][E][F][G][H][I][J][K][L][M][N] [O][P][Q][R][S][T][U][V][W][X][Z] XML exportingto2nd3rd4th5th6th7th8th importingdata2nd3rd MSXMLparserand XSLTtransformation Index [SYMBOL][A][B][C][D][E][F][G][H][I][J][K][L][M][N] [O][P][Q][R][S][T][U][V][W][X][Z] zero-lengthstrings ... bookquestions @oreilly. com Thewebsite for Access Hacks listsexamples,errata, and plans for futureeditions Youcanfindthispageat: http://www .oreilly. com/catalog/accesshks For moreinformationaboutthisbook and others,seethe... Section9.1 Hacks 9295 Hack92 Document Your DatabasewithTotal Access Analyzer Hack93 BuildanApplicationShellwithEZApplicationGenerator Hack94 Load Your DatabasewithTest Data Hack95 Use Access asanXMLDatabase... shehasappliedherartisticskillstodesigninglayout and colorschemes for variousGUIs,including Access forms and websites Alongtheway,shehaspickedupafew Access tricksofherown MichaelSchmalzworksinbanking and performsbusiness
- Xem thêm -

Xem thêm: OReilly access hacks tips and tools for wrangling your data apr 2005 ISBN 0596009240 , OReilly access hacks tips and tools for wrangling your data apr 2005 ISBN 0596009240 , Hack 1. Help Users Find the Objects They Need, Hack 2. Personalize Your Access Application, Hack 3. Work Fast and Avoid Typos, Hack 5. Transfer Data Between Versions of Access, Hack 6. Organize and Enhance Your Macros, Hack 7. Rid Your Database of Clutter, Hack 9. Work with Any Amount of Data, Hack 10. Find Database Objects in a Snap, Hack 11. Use a Junction Table, Hack 12. Stop the Database from Growing, Hack 13. Create an AutoNumber Field with a Custom Value, Hack 14. Copy Data Between Tables Without an Append Query, Hack 15. Steer Clear of System Tables, Section 16.  Hide Sensitive Information, Section 18.  Create Tables Faster, Hack 19. Help Users Navigate Through Long Forms, Hack 20. Help Users Enter Additional Text, Hack 21. Let Users Add Custom Items to Predesigned Lists, Hack 22. Populate and Sort Lists with Flair, Hack 23. Use Custom Controls on Your Forms, Hack 24. Confirm Record Updates Before Saving, Hack 25. Put a Clock on a Form, Hack 27. Highlight the Active Control, Hack 28. Separate Alphabetically Sorted Records into Letter Groups, Hack 30. Use Conditional Formatting to Point Out Important Results, Hack 31. Provide a Direct Link to a Report, Hack 33. Create a Slideshow in Access, Hack 34. Play Videos in Access Forms, Hack 35. View Reports Embedded in Forms, Hack 36. Put Line Numbers on a Report, Hack 37. Shade Alternating Lines on a Report, Hack 38. Save Paper by Reducing Whitespace, Hack 40. Return a Sample of Records, Hack 41. Create Bulletproof Insert Operations, Hack 42. Find Unmatched Records on Multiple Field Keys, Hack 44. Sort Any Arbitrary String of Characters, Hack 46. Get All Combinations of Data, Hack 47. Don't Let Nulls Ruin Data Summaries, Hack 48. Use a Custom Function in a Query, Hack 49. Create Access Tables with SQL Server Scripts, Hack 50. Use Wildcards in Queries, Hack 51. Get Cleaner Or-Based Criteria, Hack 52. Get Cleaner And-Based Criteria, Hack 53. Create an Outer Join, Hack 54. Use Regular Expressions in Access Queries, Hack 56. Distribute a Split Database with Predefined Table Links, Hack 57. Build a Time-Out Feature, Hack 59. Import Noncontiguous Ranges of Data from Excel, Hack 60. Use Excel to Reorient Access Data, Hack 61. Use Excel Functions Inside Access, Hack 62. Use Word to Compare Data in Two Access Tables, Hack 63. Import Varied XML Data into Access, Hack 64. Export XML Data Sanely, Hack 65. Break Through VBA's Transformation Barrier, Hack 66. Leverage SQL Server Power by Calling Stored Procedures, Hack 67. Manage Word Documents from Access, Hack 68. Use Access as a Front End to MySQL, Hack 69. Send Access Data Through Outlook Automatically, Hack 70. Create Access Tables from Outside Access, Hack 71. Write VBA with the Macro Recorder in Word and Excel, Hack 72. Store Initial Control Selections for Later Recall, Hack 73. Write Code Faster by Turning Off Syntax-Checking, Hack 74. Substitute Domain Aggregate Functions for SQL Aggregate Functions, Hack 75. Shrink Your Code with Subroutines, Hack 76. Shrink Your Code with Optional Arguments, Hack 77. Protect Programming Code from Curious Users, Hack 78. Build a Secret Developer Backdoor into Your Applications, Hack 79. Help Users Drill Down to a Record, Hack 80. Prevent Users from Disabling Your Startup Options, Hack 81. Inform Users of a Long Process, Hack 82. Allow Users to Choose a Back-End Database, Hack 84. Save Values from Unbound Controls for Later Recall, Hack 86. Bulk-Update Controls on a Form, Hack 87. Provide Complete XML Control to Any Version of Access, Hack 89. Convert Text to the Desired Case, Hack 90. Create a Code Library, Hack 91. Automatically Check for Database Table Updates, Hack 92. Document Your Database with Total Access Analyzer, Hack 93. Build an Application Shell with EZ Application Generator, Hack 94. Load Your Database with Test Data, Hack 95. Use Access as an XML Database, Hack 96. Export a Report as HTML, Hack 97. Use a Browser Inside Access, Hack 98. Pull the HTML Source Code from a Web Site, Hack 99. Download Files Using the Web Browser Control, Hack 100. Use a Smart Tag to Open a Web Page

Mục lục

Xem thêm

Gợi ý tài liệu liên quan cho bạn