Changing Data Using VB

  • Thread starter Thread starter jdtyler via AccessMonster.com
  • Start date Start date
J

jdtyler via AccessMonster.com

Hi there,

I need a script to change the data in one field within a table for every
record.

So I can do 'Me.FieldName = "Yes"' to change the current record but can't
seem to get it to do this for all records within the table.

Is this possible?

Thanks
 
I need a script to change the data in one field within a table for every
record.

So I can do 'Me.FieldName = "Yes"' to change the current record but can't
seem to get it to do this for all records within the table.

Is this possible?

Why not just use an Update Query? If you're intent on using code, you'll
have to loop through each record in the file, possibly using MoveNext, and
update the field in question. Yes, it's do-able.

Tom Lake
 

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