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
Maps for my Delphi Nav200
Running netlogon script
Craniosacral therapy risks
Clients not connecting to WSUS
Remote Web Workplace - Windows Server 2008
rpmlib(PayloadIsLzma) <= 4.4.6-1 is needed.
Columns cannot convert between unicode and non-unicode string data types.
Filemaker Pro Summary Report - Obtraining Fractions from Summary Field
office 2007 settings not saved in user profile in terminal server
Backup Exec 2010 on VMWare server backing up iSCSI targets - looking to improve throughput