vba - Create a table from a Form MS Access -


i have continuous form in ms access create table from. of fields populated query, fields user entered , there calculated fields. need create snapshot of data when users clicks button @ given point , save table value of 1 of fields , particular date. best way achieve this?

thank you! -charlie

what want learn how use recordset clones. should reuse table seeing in how there pretty chance you'll want fresh data on each pull.

because isnt code writing service, ill let figure out details, should plenty started.

sub print_field_names()  dim rst recordset, inti integer  dim fld field   dim vbsql string vbsql = "delete * tbl" docmd.runsql vbsql   set rst = me.recordsetclone  each fld in rst.fields      ' print field names.      debug.print fld.name  next  end sub 

in loop through original recordset clone, should try how edit recordset on reusuable table "fill" new table form data. simple , masochist in me wants suffer since didnt try on own first :p


Comments

Popular posts from this blog

How to understand 2 main() functions after using uftrace to profile the C++ program? -

c# - Update a combobox from a presenter (MVP) -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -