form data into tables

  • Thread starter Thread starter courtney
  • Start date Start date
C

courtney

Without binding form objects to a table how can you
update a table with the values entered into a form after
the form is complete?
 
Spammastergrand said:
I believe you would use insert into statements. Maybe create
variables for textboxes, like t1, t2, t3

Then buld a statement like qry1 = "Insert Into Tablename Values(" &
t1 & "," & t2 & "," & t3 & ")"

db.execute(qry)
(e-mail address removed)


Alternatively you could open a Recordset for the Table and use the
..Edit and .Update methods.

hth

Hugh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Update Two Tables Using One Form Contents 0
Data entry to table from a form 1
error 2489 1
Data entry for a table from a form 2
Data entry VBA 1
Using an append query in a subform 1
Access Form Refresh 1
Help with form load 5

Back
Top