Microsoft
Software
Hardware
Network
Question : I have a query, now how to use the result?
My simple query always generates one result:
SELECT PresetSituations.[ID], PresetSituations.[DefaultN
otes]
FROM PresetSituations
WHERE (((PresetSituations.[ID])=
[Forms]![S
ession_Ses
sions]![Pr
eset situation]));
Now I have my query, how do I programatically run it and stick the contents of the DefaultNotes column into a textbox.
I guess I'd use Me.Query(queryname)... and then set the textbox.value property to the result, but not sure how to do select the result in access...
Answer : I have a query, now how to use the result?
you will not get any error if you use this and no need to open the query as recordset
me.txtboxName=dlookup("Def
aultNotes"
,"QueryNam
e")
Random Solutions
Accessing an FTP server internally that is on a different subnet.
SMTP Sending on behalf of
Display a form within a Panel. How to hide caption bar?
C# delete empty rows in excel
Need Excel User Function to Convert Tuesday, June 08, 2010 3:16 PM to mm/dd/yy
VMWare 4 Error parsing the servers clients.xml file
storing multiple image in one field
Excellent uninstall script from Zoofan. Need a way to speed it up or run multiple machines at the same time.
Count consecutive values in MS SQL Server 2005
can't find Printer Setup Utility in Mac OS X 10.5.8