Share this Page URL

Chapter 5. Using Visual Basic to Automat... > Using the Visual Basic Online Help - Pg. 166

Using Visual Basic to Automate Your Database 166 · Auto Syntax Check If you select this option, the syntax of each line of code is checked by Visual Basic after you enter it. You can't enter another line until you've fixed the error that's been de- tected. If you don't have this option enabled, you'll know that the syntax of a line is incorrect because the line appears in red (by default), but you can continue to enter other lines of code. · Auto List Members If you select this option, IntelliSense provides a list of the properties, methods, or other program elements applicable to the statement you're entering. For example, when de- claring variables, the list displays available data types. · Auto Quick Info Similar to Auto List Members, this option displays information about a function and its parameters as you type. · Auto Data Tips When you're working in break mode (you'll learn more about break mode in the section "Handling Errors and Debugging Code," later in this chapter), selecting this option will display a variable's value when you position the mouse pointer over the variable's name. The Editor Format Tab The Editor Format tab lets you choose formats for the font the code is displayed in. You can change the color and other properties for text such as comments. (Comments appear in green by default.) Any changes you make to the default settings here are a matter of personal preference. The General Tab The options in the Form Grid Settings area of the General tab don't apply to Access. They are related to UserForms, which are used in applications such as Microsoft Excel and Microsoft Word. (Access has its own forms.) See the online help for information about the options for error handling and compiling. For the most part, these options can be left at their default values.