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 / May 2007

Tip: Looking for answers? Try searching our database.

Put a query value in a textbox controlsource

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dsperry101 - 10 May 2007 20:03 GMT
Hey everyone,
   I want to put a value from a query into the control source property of a
text box in a form. The value is "fldToday" and is a count of today's work
orders counted in query named "qryToday". The form already has a record
source assigned to another query and the field is in the contol source of
another text box. The help says I can use a value in a query but can't seem
to get the right string to get it to work . The query works when I run it and
returns the correct values.

Thanks ahead of time !!

Dan S

Signature

Danny C. Sperry

fredg - 10 May 2007 20:43 GMT
> Hey everyone,
>     I want to put a value from a query into the control source property of a
[quoted text clipped - 8 lines]
>
> Dan S

The query returns just the 1 value?
Use an unbound text control.

=DLookUp("[fldToday]","qryToday")
Signature

Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail

 
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



©2009 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.