Simple problems

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

Guest

How do I copy a whole record from table1 to table2 if table1's field1
contains text "test"?

What is a simpliest way to just write "0" to table1's field1, field2 and
field3.

I'm not so familiar coding with Visual Basic in Access and don't have so
much time with project.

Thanks!
 
How do I copy a whole record from table1 to table2 if table1's field1
contains text "test"?

The reasons for copying a whole record from one table to another are
incredibly rare. The answer to the question is generally, "just don't!"

What is a simpliest way to just write "0" to table1's field1, field2
and field3.

UPDATE MyTable
SET Field1 = 0, Field2 = 0, Field3 = 0
WHERE ReadyToBeZeroed = TRUE

Hope that helps


Tim F
 
Yes, thanks very much. Little modifications and works fine. I have to figure
something else for the copy-operation
 

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

Back
Top