709-218-7927

The Landfall Garden House

60 Canon Bayley Road

CANADA A0C 1B0

CPRGreaves@gmail.com

Home

Christopher Greaves

Access is different

The Access Object Model, we are told, is “different” from Word, Excel and PowerPoint.

From time to time you will run across things that don’t make sense to you. It may be that the “Object Model is Different”, or it may just be that we don’t yet understand what’s going on.

Here is an example. Most times when we want to delete an item in a collection, we specify the item, then tap the period key and select Delete. With this you’d expect to be generating this:

dbs.TableDefs(strCourse).Delete 

However in Access you need to produce this:

dbs.TableDefs.Delete strCourse

Go, as they say, Figure!

7092187927 CPRGreaves@gmail.com

Bonavista, Friday, December 04, 2020 5:51 PM

Copyright © 1996-2020 Chris Greaves. All Rights Reserved.