Previous Topic

Next Topic

Automated Snippets

You can insert automated code Snippets into the code editor by:

The Snippet Shortcut key is set up in the Preferences - General tab. The default Snippet Shortcut key is #.

When you insert an automated snippet at the start of a line, the entire code snippet will be inserted, otherwise only the automation name will be inserted.

For example, type:

  ARCustomerData#

The following will be inserted:

  Dim datARCustomer as Object

  datARCustomer = CreateObject("Accredo.ARCustomerData")

Variable Names

The following conventions are used for naming objects in the auto snippets:

Tables and custom tables

tbl & FileName, such as tblARCust.

Data Objects

dat & ObjectName, such as datCBBankingItems.

Form Objects

frm & ObjectName, such as frmINInvoiceEntry.

Object Documentation

With the cursor in an object name, press F1 to display the automated documentation for the object.

See Also

Script Editor

Book Contents

Book Index