Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / June 2006

Tip: Looking for answers? Try searching our database.

No match in recordset

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Cyberwolf - 30 Jun 2006 17:04 GMT
In access 97, there is a nomatch method that allows you to handle a seek that
does not contain a matching record.  What would be the equivalent in
Access2000?
Signature

James Gaylord
Finder of Paths, Hunter of Prey
Ghost of the Night, Shadow of Day
The Wolf

Marshall Barton - 30 Jun 2006 17:44 GMT
>In access 97, there is a nomatch method that allows you to handle a seek that
>does not contain a matching record.  What would be the equivalent in
>Access2000?

That has not changed in any version of Access.  What prompts
you to ask if it has changed?

Signature

Marsh
MVP [MS Access]

Cyberwolf - 30 Jun 2006 17:55 GMT
I get the error msg "Method or Data Member not found" when Icompile my code.

I bet it has something to do with my references but I don't know which one
it is.
Signature

James Gaylord
Finder of Paths, Hunter of Prey
Ghost of the Night, Shadow of Day
The Wolf

> >In access 97, there is a nomatch method that allows you to handle a seek that
> >does not contain a matching record.  What would be the equivalent in
> >Access2000?
>
> That has not changed in any version of Access.  What prompts
> you to ask if it has changed?
Marshall Barton - 30 Jun 2006 19:17 GMT
>I get the error msg "Method or Data Member not found" when Icompile my code.
>
>I bet it has something to do with my references but I don't know which one
>it is.

Hard to tell without seeing the code, but MoMatch is a DAO
property.  Are you sure the recordset was declared as a DAO
recordset?

Signature

Marsh
MVP [MS Access]

Douglas J. Steele - 30 Jun 2006 19:12 GMT
The default in Access 2000 is ADO. Unless you explicitly added a reference
to DAO, you're doubtlessly using ADO. The ADO Seek method positions the row
at EOF if a match isn't found.

See
http://msdn.microsoft.com/library/en-us/ado270/htm/mdmthseek.asp?frame=true
and http://msdn.microsoft.com/library/en-us/ado270/htm/mdmthseek.asp for
details and an example.

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)

> In access 97, there is a nomatch method that allows you to handle a seek
> that
> does not contain a matching record.  What would be the equivalent in
> Access2000?
Cyberwolf - 30 Jun 2006 19:21 GMT
THanks Doug,

I will look at this more closely when I get back from Vacation.
Signature

James Gaylord
Finder of Paths, Hunter of Prey
Ghost of the Night, Shadow of Day
The Wolf

> The default in Access 2000 is ADO. Unless you explicitly added a reference
> to DAO, you're doubtlessly using ADO. The ADO Seek method positions the row
[quoted text clipped - 9 lines]
> > does not contain a matching record.  What would be the equivalent in
> > Access2000?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.