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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hello Apologies if the answer to this question is blindingly obvio

Status
Not open for further replies.

wekkew

Programmer
Sep 28, 1998
123
GB
Hello

Apologies if the answer to this question is blindingly obvious question but I can't get my head around it at all.

Just started on recordets/vb/access and I'm trying to grasp the difference between table-type recordsets and dynasets. As I understand it, a dynaset recordset is merely a list of pointers (in primary key order if one is present) to records returned from a query or table(s). Surely Jet accesses data through pointers anyway, so does the dynaset consist of a COPY of those pointers held on the same workspace as the project?

As I understand it, a table-type recordset works on the actual table. If a table-type recordset is talking direct to the table why have a refresh property? Surely there should be nothing to refresh if Jet is managing and updating the table. I've also read that when using a table-type recordset VB caches the pointers, well if that's the case, you're not talking direct to the table are you? Is that what happens - the pointers are cached and issuing a refresh simply refreshes those cached pointers. If that is the case - how does this differ from a dynaset!

Very confused

Any recommended sites/books/medical treatments that would help me?

Kate.
p.s. YES - I do have to understand else it keeps me awake at night….


[sig][/sig]
 
Hi Kate,
I see your point and no its not a blindly obvious answer. In fact I'm not altogether sure on the caching part myself but I do know of one major difference between table-type and dynaset - you can only use the "seek" method with a table-type recordset which is a real pain. If you need to use ODBC, you can't use table-type then and the very fast "seek" method is not avilable to you. Don't know if this piece of info is of any use to you or not.

John B [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top