473,403 Members | 2,338 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Recordset Type: Snapshot question

110 100+
All,

As I'm working through an odd locking issue (separate post), I'm wondering if it is best (or at all beneficial) to employ snapshot RecordSet types (on forms) - specifically where I would never need to update information.

The Scenario:

I have a search form where the search criteria fields are contained on the parent form and the results of the search are contained on a continuous subform. From my reading, I understand that setting the subform (in this instance) recordset type to Snapshot is ideal where the data will not need to be updated (perfect for a search form).

Aside from holding less in memory, (the snapshot is just that - a snapshot of the data at a given point in time), I'm wondering if this might possibly alleviate another problem I have where RunSQL statements are encountering a locked record issue.

I'd love to hear your thoughts and experiences with using the Snapshot RecordSet Type on forms. Reasons, Do's, Don'ts, and strategies.

Thanks!

Gunner
Apr 3 '14 #1

✓ answered by jimatqsi

Using snapshot recordsets helps greatly to speed up some data access. It's never helpful to lock records unnecessarily. So long as you don't need the rs to be update-able you should use it.

One caveat is that you should be sure to limit the rs with appropriate where clause because the entire rs will be pulled when you open it.

Jim

4 2479
jimatqsi
1,271 Expert 1GB
Using snapshot recordsets helps greatly to speed up some data access. It's never helpful to lock records unnecessarily. So long as you don't need the rs to be update-able you should use it.

One caveat is that you should be sure to limit the rs with appropriate where clause because the entire rs will be pulled when you open it.

Jim
Apr 3 '14 #2
dgunner71
110 100+
Thanks, Jimatqsi for the direction.

I am planning to have the default form filter set to show the last 25 or 50 records created. This will be cleared when the user enters any searchable data in the parent form.

I will accomplish this through, showing records > (dmax([myID]) - 25). I have never had any luck using the 'Top 25' setting in the query properties. This doesn't seem to work properly with my search forms.

At any rate, thanks again.

Gunner
Apr 3 '14 #3
jimatqsi
1,271 Expert 1GB
Perhaps you should post an example of your top 25 problem sometime. I use that sometimes without any problem.

Jim
Apr 3 '14 #4
dgunner71
110 100+
Jim,

Thanks for your offer to assist - I'll post this under a new topic (Query Top Values).

Thanks -

Gunner
Apr 3 '14 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Richard Lee | last post by:
Hi, I have a question when I do a data type cast. the common way when we do a cast, is we know the type we want to cast to, i.e. we want to cast object to string, object xyz = "question";...
1
by: Norm | last post by:
Hi, I've got a VBA Access application, and I want to remove the "Type a question for help" box from the menubar? How can I do this? Thanks, Norm
19
by: Randy Yates | last post by:
Consider the following code: #include "dsptypes.h" /* definitions */ #define VECTOR_LENGTH 64 /* local variables */
9
by: Lauren Quantrell | last post by:
Does changing the Recordset Type property for a form in an Access ADP have any effect on possible record locking? I have a continuous form that is bound to a table but I don't want it editable,...
7
by: Madhu Gopinathan | last post by:
Hi, I hope this is the right forum for this question. I am extending ICollection to create a Collection Type (say MyCollection) wherein I can control the types of objects being added to the...
3
by: Support | last post by:
Hello: I have a stored procedure that returns two record sets: the first recordset returns two columns that have to do with internal error handling processes the second recordset returns a...
1
by: frogsteaks | last post by:
In one (actualy several) of my databases I create custom menus. However on all of these menus, the "Type a question heer for help" combo box appears to the right side. Can anyone here point me to...
1
by: bobh | last post by:
Hi All, One of a queries properities is 'recordset type' and it defaults to 'dynaset'. If I have a query which is just a select query is there any advantage to setting that property to snapshot?...
3
by: william.david.anderson | last post by:
Hi there, I have a newbie question about backing up our database on our Solaris system. I was reading the "Data Recovery and High Availability Guide and Reference", but didn't see any...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.