Solved

Where I can find ADO Coding conventions?

Posted on 2001-08-29
2
210 Views
Last Modified: 2013-11-23
Can anybody tell me how I can get hold of a coding convention document for ADO objects in the Microsoft site or MSDN Help or Visual Basic help? When a search is done in MSDN Help with the text "Visual Basic Coding Conventsions", I come up with coding coventions for DAO objects under Object Naming Conventions but not ADO.

I need somethig official that people can relate to, not your own coding conventions.

Thanks

0
Comment
Question by:mfarid2
2 Comments
 
LVL 6

Expert Comment

by:JonFish85
Comment Utility
Well, microsoft recommends Hungarian notation for variable names. Basically that is approx. 3 letter prefix to a variable name, ie:

Dim strInfo As String
Dim intCount As String
Dim varMyObject As Variable
Dim objCreate As Object

Based on that, for ADO, I use:

Dim acnConnection As ADODB.Connection
Dim arsRecordset As ADODB.Recordset

(acn = Ado ConnectioN)
(ars = Ado RecordSet)

hope this helps!
0
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 50 total points
Comment Utility
Here check this out:
http://www.xoc.net/standards/rvbanc.asp#ADO

Anthony
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now