TableDef Vs. Dynaset 
Author Message
 TableDef Vs. Dynaset

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?



Sun, 09 Jul 2000 03:00:00 GMT  
 TableDef Vs. Dynaset

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



Mon, 10 Jul 2000 03:00:00 GMT  
 TableDef Vs. Dynaset

They are all different objects and methods.  A TableDef is an actual table
in a Database, and a QueryDef is an actual Query in a database.  The
OpenRecordset is a method to open the Table or Query.  Now, back in the
Access 2.0 and Jet 2.0 days, you had the OpenTable method and the
OpenQuerydef methods, which are both obsolete now and have been replaced by
the  OpenRecordset Method.

By the way.... the OpenRecordSet Method does have options to open a Table,
Dynaset or Snapshot.

Jason Cragun



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?



Thu, 13 Jul 2000 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. SQL Create table vs Creating TableDef Object in VBA

2. Query vs. Dynaset in VB4.0 32bit

3. Dynaset vs Table

4. VB3 vs. VB4 - Dynaset / Recordset methods

5. Access; Dynaset vs Table

6. multiple table dynaset vs multiple table recordsets

7. SELECT DISTINCT vs DISTINCTROW with dynaset

8. TABLE vs DYNASET Searching with one .mdb database

9. Basic question, Table-Type vs. Dynaset Recordsets

10. Dynaset vs. Table recordsets

11. Crystal VS. Actuate Comparisons VS. BusinessObjects

12. Speed of snapshot vs. dynaset vs. forwardonly

 

 
Powered by phpBB® Forum Software