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
Dynamic Form Element
simple math programming question
diff between cfgmgr -v and cfgmgr -v fcs0 and fcs1...
WAN SETUP
How can I check for an install new updates for Symantec Backup Exec? I have clicked on the Help drop down menu, but don't see any options for updates
Horizontal RSS Feed News Ticker
How to appear in local search engine in foriegn country without a host there?
Excel (2010) Calculate Working Hours Between DateCreated and DateAssigned
Java Not Working in Internet Explorer or Firefox
SQL Server Update Query