home *** CD-ROM | disk | FTP | other *** search
/ Shareware Supreme Volume 6 #1 / swsii.zip / swsii / 450 / ACCESS01.ZIP / Q88999.TXT < prev    next >
Encoding:
Text File  |  1992-11-01  |  1.7 KB  |  41 lines

  1. Deciding When to use Macros and When to use Access Basic
  2.  
  3. Summary:
  4.  
  5. Because Access provides two forms of programming, macros and Access
  6. Basic, there is the potential for confusion as to when you should use
  7. one form of programming rather than the other. This article discusses
  8. some tips on how to choose between macro programming and Access Basic
  9. programming.
  10.  
  11. More Information:
  12.  
  13. Access has a very effective user interface that is powerful enough to
  14. accommodate most needs. However, like many other database products,
  15. Access provides the user with the ability to develop his or her own
  16. way to manipulate the power of the product.
  17.  
  18. One distinct advantage of Access over other products is that the user
  19. has a choice of two levels of programming: macros and Access Basic.
  20. These two programming languages are designed to complement each other.
  21.  
  22. As a rule, you should write your applications using macros and then
  23. supplement the application with SUB and FUNCTION procedures when you
  24. encounter a programming situation that a macro cannot easily
  25. accommodate.
  26.  
  27. Wizards are an example of a program you can write that is beyond the
  28. capability of a macro. Wizards require functionality that cannot be
  29. duplicated by a series of macro actions. Having to resort to Access
  30. Basic should not be a common occurrence for most mainstream database
  31. applications, however.
  32.  
  33. Knowing when to use modules instead of macros is easier when you
  34. understand how Access works. If you understand and are familiar with
  35. Access, you will find that it is easier to determine when modules are
  36. required to accomplish a specific task.
  37.  
  38. New users of Access will likely be surprised at the ease, power, and
  39. versatility that Access macros can provide.
  40.  
  41.