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 / General 1 / April 2006

Tip: Looking for answers? Try searching our database.

Select in a field

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marco DM - 05 Apr 2006 13:27 GMT
I all, i must to put a value in a textbox that's the results of a query
"select" in the code..
How can i do
Thanks
Ron2005 - 05 Apr 2006 13:54 GMT
IF the results of the query is a single record which contains the
information you wanted:

In the OnCurrent event of the form

me.txtboxname = dLookup ("[XXXXX]", "MyQuery")

where XXXXXX is the field name that contains the desired information
and
MyQuery  is the name of the query that returned the desired
information.

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