• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 26. Writing Visual Basic for App... > Writing Your Own Functions and Proce...

Writing Your Own Functions and Procedures

You do not need to be an Access VBA expert to write a user-defined function. The information you learned about operators and expressions in Chapter 9, "Understanding Operators and Expressions in Access," as well as the introduction to Access VBA statements presented in this chapter, allow you to create UDFs that supplement Access VBA's repertoire of standard functions.

After you master user-defined functions, you can try your hand at writing procedures to be executed as the result of an event. Access VBA procedures offer flexibility in manipulating database and control objects but require more knowledge of programming techniques than is needed to create UDFs. This section describes how you write a simple user-defined function.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint