Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

northwind

Status
Not open for further replies.

bronc

Instructor
Aug 28, 2003
145
GB
Is there a description of the operation of the new Northwind sample d/base - in particular the VBA? I notice that there is not much commenting in the code. To save some time I've tried Googling without success as yet. Thanks
 
In the incl. help file you will find lots of comments to the code used in northwind.

Also on M$ web you will be sure to find information regarding the northwind base and the code within.


Herman
Say no to macros
 
well thanks hermanlaksko. The Northwind code is quite instructive - maybe I'm being a bit lazy but I would have liked to see a line by line breakdown - in particular it was a bit of a revelation to see DLoopUp being used to return data from a query. Saves using DAO etc I guess.
 
in particular it was a bit of a revelation to see DLoopUp being used to return data from a query
Really? The domain aggregate functions:
DAvg
DCount
DLookup
DFirst
DLast
DMin
DMax
DStDev
DStDevP
DSum
DVar
DVarP

have been around since at least A95, and are some of the most powerful and useful functions in Access. You just have to be careful of overuse. They are not very optimized, but extremely flexible. In certain cases it is better to use ADO or DAO.

Many of the common Access books use Northwind as the sample and talk through the code.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top