Dan,
Quote:
>I'm just wondering. I see a lot of people using TableDef and QueryDef. I
>almost always use OpenRecordset. What are the advantages/disadvantages of
>using them?
these are completely different types of objects:
- tabledef - the definition of the structure of a table. You can
iterate the fields and properties and so forth. You don't use this to
read and write data, but to get information ABOUT the table
- QueryDef - this is basically just a saved .SQL statement. Can be
used to create recordsets
- Recordset - the actual set of records created by opening a recordset
on a 'table', or a 'query' or a sql statement.
-- Jim Ferguson, FMS
http://www.fmsinc.com