O'Connor, Patricia (OTDA)
Patricia.O'Connor at otda.state.ny.us
Wed Aug 1 12:32:07 CDT 2007
Thought you had to check for both rst.EOF and rst.BOF? I also check rst.Recordcount ************************************************** * Patricia O'Connor * Associate Computer Programmer Analyst * OTDA - BDMA * (W) mailto:Patricia.O'Connor at otda.state.ny.us * (w) mailto:aa1160 at nysemail.state.ny.us ************************************************** > -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Wednesday, August 01, 2007 08:37 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Empty Recordset > > Rocky, > > Before you actually modify the form's recordsource in code, > you'll need to open a recordset to see if rst.EOF = True > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin at Beach Access Software > Sent: Wednesday, August 01, 2007 6:59 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Empty Recordset > > Dear List: > > On a bound form a modifying the Recordsource with WHERE > conditions might result in no records being retrieved. Then > there are lots of things you can do which generate errors. > Is there a way to detect this no record condition in a bound form? > > MTIA > > Rocky > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > >