unbound form question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am thinking about restructuring my database, and making an bound form
unbound form.

the from contains following fields:
combobox: Country
combobox: Agency
textfield: Date
memofield: Details
8 checkboxex

so I assume the code would start something like:
dim rs as recordset
dim db as database
rs=db.mydatabase

now how do I tell the command button to populate table with the information
I have entered above.

thanks

Senad
 
with rs
rs.addnew
rs.fields("Country") = me.cboCountry.value
etc
rs.update
end with

Check that you know whether you are using ado or dao recordsets
(tools|references) as the syntax varies somewhat
 
Back
Top