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

Tip: Looking for answers? Try searching our database.

OpenForm FilterName

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RD - 15 Sep 2005 19:22 GMT
Hi all,

Help says that the FilterName argument is "A string expression that's the valid
name of a query in the current database."

I'm wondering if it *has* to be a named query or can one use an SQL statement
for that argument?

Thanks,
RD
Alex Dybenko - 16 Sep 2005 14:12 GMT
Hi,
yes, this should be a named query.

Signature

Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com

> Hi all,
>
[quoted text clipped - 8 lines]
> Thanks,
> RD
RD - 16 Sep 2005 17:54 GMT
>Hi,
>yes, this should be a named query.

Bummer.  Thanks.
Kevin K. Sullivan - 16 Sep 2005 20:37 GMT
> Hi all,
>
[quoted text clipped - 6 lines]
> Thanks,
> RD

The next argument, WhereCondition, will accept a SQL Where clause
without the "WHERE ".  Can you use this instead?  I often use this
mechanism to filter a form with a criterion that is built at run-time.

HTH,

Kevin
 
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.