Thelma Lubkin <thelma@alpha2.csd.uwm.edu> wrote in
news:dsacbl$79i$1@uwm.edu:
[color=blue]
> Arno R <arraNOcomSPAM@tiscali.nl> wrote:
>: Private Sub Form_Load()
>: If Me.RecordsetClone.RecordCount = 0 Then
> ^^^^^
> why isn't Recordset itself good enough here?
> --thelma
>: MsgBox "No records.."
>: DoCmd.Close
>: End If
>: End Sub[/color]
For one, Me.Recordset did not exist until Access 2000.
Secondly, it's not the same thing as the RecordsetClone.
Try it and see if there's a difference. My bet is that there *is* a
difference, but not necessarily for this particular task.
You might also want to check out Michael Kaplan's article on
Recordset vs. RecordsetClone:
http://trigeminal.com/usenet/usenet022.asp?1033
Personally, I don't see any utility in the Recordset object of a
form unless you are assigning a recordset to the form in code,
rather than using the form's Recordsource to define the content of
the form.
--
David W. Fenton
http://www.dfenton.com/
usenet at dfenton dot com
http://www.dfenton.com/DFA/