Re: .BOF and .EOF are lying!
- From: "david epsom dot com dot au" <david@epsomdotcomdotau>
- Date: Wed, 17 Aug 2005 16:43:27 +1000
Use .recordcount > 0 to check if the recordset is empty.
Then use move or find if you want to position at a record.
Remember that by definition .RecordsetClone is a recordset
with different record pointers than those used by the form.
Ignore whatever the help files say about .bof and .eof
for recordset clones: The help was never correct.
(david)
"Laurel" <FakeMail@xxxxxxxxxxx> wrote in message
news:OISvtztoFHA.2580@xxxxxxxxxxxxxxxxxxxxxxx
> Are there steps one should take before requerying a form with different
> retrieval arguments? If I reetrieve the data in the form and there are
> rows, and then I change the values that are used as arguments to something
> that would return no rows .EOF and .BOF are both false.
>
> If the arguemtns that would return no rows are used first, .bof and .eof
> are true as one would expect.
>
> Any suggestions?
>
.
- Follow-Ups:
- Re: .BOF and .EOF are lying!
- From: Laurel
- Re: .BOF and .EOF are lying!
- References:
- .BOF and .EOF are lying!
- From: Laurel
- .BOF and .EOF are lying!
- Prev by Date: Determine keystage using date of birth.
- Next by Date: Re: Search Key not found in any record - error message
- Previous by thread: Re: .BOF and .EOF are lying!
- Next by thread: Re: .BOF and .EOF are lying!
- Index(es):
Relevant Pages
|
Loading