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
Coookie not storing information
VB.NET - Databinding and Combo UserControl
Stolen Laptop Remote Desktop
I want to put a small instruction in the middle of my SharePoint survey. I want to say "If you answered "No" to any of the questions above then please answer the questions below. How?
OpenOffice 3.2 GPO Install Problem
OCS 2007 R2 and Cisco call manager
Terminal server 2008 R2 Pinned Taskbar Links
Automatically Adding Text to Cells
Registry, Winlogon, KEY_WOW64_64KEY errors
Help using .delay