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
How can I create a signature capture in iPhone SDK?
Powershell script that can query a OU and get all group name,Members and count of members into a csv/Excel.
EtherChannel on Cisco 2960 switch intermittent dropped packet
VB.NET Setup Installing App Files Without Asking What Folder to Install
How can I get a Buy Now url for PayPal rather than the input button described to use?
PHP SESSION id IN QUERY STRING
Internet shortcut via batch file
PC faxing error
Missing security tab on network shares from NetApp FAS 2020
Need help on rollover buttons in flash in Flash CS4 and AS 3