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 / March 2005

Tip: Looking for answers? Try searching our database.

Returning query result in code

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Charles Tam - 29 Mar 2005 23:51 GMT
How do I return the query result in a function to a module code caller?
Dirk Goldgar - 30 Mar 2005 07:07 GMT
> How do I return the query result in a function to a module code
> caller?

If the query returns multiple records, you open a recordset on the
query.  If there is only one value you are interested in, and it's a
stored query you are talking about, you can use DLookup to get it,
specifying the query name as the domain argument.

Signature

Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)

 
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.