[AccessD] Naming Conventions

Gustav Brock gustav at cactus.dk
Fri Aug 6 09:15:06 CDT 2004


Hi Max

> Access doesn't have to do any figuring. It just pops the stack.
> My take is that if it is a small coded loop, then I don't add the loopname,
> otherwise I do, 'cos
> 1-It aids readability,
> 2-It helps me keep track of where I am as I am adding the,
> 3-It also helps with the 'Elseifs' (Yep, I put them there as well),
> 4-It saves having to comment if the loopname is sufficiently descriptive.

I like that no. 4 argument:

  lngTables = .TableDefs.Count
  For lngTable = 0 To lngTables - 1
    ' Do table stuff.
  Next lngTable

/gustav




More information about the AccessD mailing list