Solved

Where I can find ADO Coding conventions?

Posted on 2001-08-29
2
214 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Expert Comment

by:JonFish85
ID: 6437448
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
ID: 6437502
Here check this out:
http://www.xoc.net/standards/rvbanc.asp#ADO

Anthony
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

749 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