Link to home
Start Free TrialLog in
Avatar of rpolley
rpolley

asked on

Updating a table in MSAcess using fields from forms

I'm trying to use the DoCmd.RunSQL to insert a run in a table, using two of the fields on a form.  The table I'm trying to insert in is not associated with the form?  How do I refer to the fields on the form.  One of the fields is from a combo box and is hidden (i.e. primekey)
Avatar of Poddy
Poddy

I would recommend using DAO.

and the execute method of a database object

Is there a reason why you are not?
ASKER CERTIFIED SOLUTION
Avatar of vbWhiz
vbWhiz

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rpolley

ASKER

Thanks