Madhuri said:
Hi Dirk
What does a recordsetclone mean ? how could I find similar functions
and help on the functions. Please refer any websites where I could
get a complete look into these functions.
RecordsetClone is a property of the Access Form object, which returns a
"clone" -- essentially a duplicate copy -- of the form's recordset. A
Recordset is a programming object that holds a set of records, such as
might be returned from a table or query. Each bound form has a
recordset behind the scenes, holding the records that have been
extracted from the form's RecordSource for display on the form.
In recent versions of Access, both Recordset and RecordsetClone are
available as properties of a form. The Recordset property gives you a
reference directly to the recordset object being used by the form
itself, while RecordsetClone gives you, as I said, a reference to a
duplicate copy of that recordset. Operations on the form's recordset
itself can be tricky, though you can use it to move the form to a
particular record. It's often better to work with the form's
recordsetclone, though, because you can navigate in that object without
affecting the form itself until you synchronize the bookmarks.
Information like this is available in the Access help files, under the
topic "Programming in Visual Basic" -> "Microsoft Access Visual Basic
Reference". Also, manipulation of recordsets is likely to involve DAO
(Data Access Objects), so you'd also want to read the topic "Microsoft
Data Access Objects 3.60". You may also come across another type of
recordset manipulaton, using ActiveX Data Objects, or ADO. This is
roughly equivalent to DAO in function -- more general, but less
efficient and powerful in dealing specifically with Access databases --
and has its own set of programming objects including a Recordset object.
However, ADO objects and DAO objects are not interchangeable, which ofte
n leads to programming errors.