Populate table through VB on a click event

B

Brad

I want to populate a field in my table using a click event. How do I reference my table through VB?? Is it Table!Field or something like that. Thanks in advance. Brad
 
M

Mike Painter

Brad said:
I want to populate a field in my table using a click event. How do I
reference my table through VB?? Is it Table!Field or something like that.
Thanks in advance. Brad

If it is the table or query bound to the form it is Me!Field or
Forms!YourFormName!Field
If not you must either open the table or use INSERT INTO in a query.
 

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

Top