Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 8th, 2004, 06:14 PM
Authorized User
 
Join Date: Jul 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default "ac"

Does anyone know what the "ac" in, for instance, "acform" means?
Is it an abbreviation for "Access?"

I know it is a relatively trivial question but not knowing for sure what it means and being unable to find its definition in Access documentation and from googling flusters me.

Thanks.

 
Old July 8th, 2004, 09:22 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,093
Thanks: 1
Thanked 12 Times in 11 Posts
Default

The "ac" prefix indicates an Access intrinsic constant, where as the "Ac" prefix indicates an Access intrinsic enumeration (of constants).

An Access intrinsic constant is simply a predeclared, symbolic constant defined in the Microsoft Access x.0 Object Library, using code like:


Const acColorIndexAqua = 14


They are primarily used as arguments for the DoCmd.ActionName statements. To display the complete list of them, open the Oject Browser (F2), select Access in the Project/Library list and select Globals in the classes list (or simply place your cursor anywhere in a standard module and press Ctrl-J.)

Each of the default object libraries referenced by an Access application has its own distinguishing intrinsic constant prefix, so you'll also see:

"vb" - Visual Basic For Applications Object Library

"db" - Microsoft DAO 3.6 Object Library

"ad" - Microsoft ActiveX Data Objects 2.x Library

HTH,

Bob


 
Old July 8th, 2004, 11:05 PM
Authorized User
 
Join Date: Jul 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks a lot, Bob!

:)

 
Old July 8th, 2004, 11:48 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,093
Thanks: 1
Thanked 12 Times in 11 Posts
Default

You're welcome! And welcome to the forum.

Bob






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to insert the items from DataGridView to Ms Ac Mangore VB How-To 0 October 25th, 2008 04:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.