ms access - Encoutering problems with .RunSQL -


i have create report compare values different years. record source report set on query return value each company latest selected year user selects on form. other years, created different queries run , try assign values other columns.

first of all, why can't use runsql command on select query? had change don't think need.

docmd.openquery "auditptechangesquery1" docmd.openquery "auditptechangesquery2" docmd.openquery "auditptechangesquery3" docmd.openquery "auditptechangesquery4" 

second, not let me assign query values report columns (i 80020009 error)

any suggestions on how solve problem appriciated.

thank in advance.

runsql action queries. select query has nothing run. if wish display data in report tables or queries other bound recordset, can use recordset , vba, subreport, domain aggregate function or can refer open form.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -