Skip to Content
Access Database Design and Programming, Second Edition
book

Access Database Design and Programming, Second Edition

by Steven Roman PhD
July 1999
Intermediate to advanced
432 pages
13h 10m
English
O'Reilly Media, Inc.
Content preview from Access Database Design and Programming, Second Edition

Chapter 12. Built-in Functions and Statements

VBA has a large number of built-in functions and statements. For possible reference, Table 12.1 shows the VBA functions, and Table 12.2 shows the statements. We will take a look at a few of the more commonly used functions and statements in this chapter and the next.

Table 12-1. VBA Functions

Abs

DDB

IsError

RightB

Array

Dir

IsMissing

Rnd

Asc

DoEvents

IsNull

RTrim

AscB

Environ

IsNumeric

Second

AscW

EOF

IsObject

Seek

Atn

Error

Lbound

Sgn

CBool

Exp

Lcase

Shell

CByte

FileAttr

Left

Sin

CCur

FileDateTime

LeftB

SLN

CDate

FileLen

Len

Space

CDbl

Fix

LenB

Spc

CDec

Format

LoadPicture

Sqr

Choose

FreeFile

Loc

Str

Chr

FV

LOF

StrComp

ChrB

GetAllSettings

Log

StrConv

ChrW

GetAttr

Ltrim

String

CInt

GetAutoServerSettings

Mid

Switch

CLng

GetObject

MidB

SYD

Command

GetSetting

Minute

Tab

Cos

Hex

MIRR

Tan

CreateObject

Hour

Month

Time

CSng

Iif

MsgBox

Timer

CStr

IMEStatus

Now

TimeSerial

CurDir

Input

Nper

TimeValue

Cvar

InputB

NPV

Trim

CVDate

InputBox

Oct

TypeName

CVErr

InStr

Partition

UBound

Date

InStrB

Pmt

UCase

DateAdd

Int

PPmt

Val

DateDiff

Ipmt

PV

VarType

DatePart

IRR

QBColor

Weekday

DateSerial

IsArray

Rate

Year

DateValue

IsDate

RGB

 

Day

IsEmpty

Right

 

Table 12-2. VBA Statements

AppActivate

Do...Loop

Mid

Reset

Beep

End

MidB

Resume

Call

Enum

MkDir

Return

ChDir

Erase

Name

RmDir

ChDrive

Error

On Error

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Access Database Design & Programming, 3rd Edition

Access Database Design & Programming, 3rd Edition

Steven Roman

Publisher Resources

ISBN: 1565926269Catalog PageErrata