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 / Forms / February 2005

Tip: Looking for answers? Try searching our database.

search form help please

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Karen - 25 Feb 2005 17:18 GMT
I have created a search form that uses a query for the datasource.  In the
form header I have an unbound text box with the name of entercode and a
button that has code behind it that does a requery.  In the query I have the
criteria for the code field as [forms]![frmsrchbycode]![entercode]. In the
details of the form I have the description fields and a upc number field
(all are flds in the query).  When I view the form in formview I only see
the form header until I enter something in the entercode textbox and click
on search.
Is there a way to see the details section of the form when it first opens
without having to enter something?

Thanks in advance...

Karen
Ken Snell [MVP] - 25 Feb 2005 18:04 GMT
No. There are no data to be displayed until you select a value in the
unbound text box, as the query needs a value there in order to return any
records. And if there are no records to display, the form will not display
the controls that are bound to those fields * unless * the form is allowing
data entry to occur (AllowAdditions is set to Yes).

Signature

       Ken Snell
<MS ACCESS MVP>

>I have created a search form that uses a query for the datasource.  In the
> form header I have an unbound text box with the name of entercode and a
[quoted text clipped - 11 lines]
>
> Karen
 
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.