I have a form named: frmSurveyInput
On the form there are two controls.
1. cboTableSelect - select input table
2. cmdQrySurveyInp ut - run qrySurveyInput
cboTableSelect gets it's values from:
and
cmdQrySurveyInp ut runs the query which contains the following:
I would like the [table name] in the query, to be passed to (received from the cboTableSelect) the sql from the cboTableSelect value.
Am I looking in the right direction?
On the form there are two controls.
1. cboTableSelect - select input table
2. cmdQrySurveyInp ut - run qrySurveyInput
cboTableSelect gets it's values from:
Code:
SELECT MSysObjects.Name FROM MSysObjectsWHERE (((MSysObjects.Type=1) AND ((MSysObjects.Name) Like "*tbl*")) OR (((MSysObjects.Type=6) AND ((MSysObjects.Name) Not Like "*~TMPCLP*")) ORDER BY MSysObjects.Name;
cmdQrySurveyInp ut runs the query which contains the following:
Code:
UPDATE [your access table] AS A
Am I looking in the right direction?
Comment