Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem adding record with data from form

Status
Not open for further replies.

gamesman

Programmer
Oct 8, 2001
223
US
I have an access form that gathers data from multiple tables and funtions. Each control is unbound. I want to use a command button to then store the values into a table. (If the controls are bound then I get validation errors during the loading of the form as the control values are not setting to the fields validation requirements.)

I want to use a command button to add the values in the controls into a single table. Since the controls are unbound, I can't just use the acMenuEdit, AcSave route. I've tried the DoCmd.RunQuery (Insert Into table (field,,,) values (me.control1, me.control2,,,) and that didn't work.

I'm trying to stay away from ADO/DAO due to network environment restrictions.

I would appreciate any suggestions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top