Moving records between tables in MS Access

  • Thread starter Thread starter adjacent
  • Start date Start date
Click For Summary
In Microsoft Access, it is possible to automate the transfer of records between two tables based on a specific field value. To move records with the status "Done_s" from table A to table B whenever a change occurs, Visual Basic for Applications (VBA) can be utilized. This involves writing a VBA script that triggers on data changes, checking the status field, and executing an INSERT operation to transfer the relevant records. For beginners, resources such as functionx.com provide valuable tutorials on using VBA in Access, making it easier to learn and implement these functionalities.
adjacent
Gold Member
Messages
1,552
Reaction score
62
I have two tables(a and b) in one access document. And in each table, I have a field[called status](look up field) having the options "Done" and "Done_s".
What I want to do is move the records having the [status] "Done_s" to b. This should be done whenever the change occurs. Is this possible?

I never used access before and google also does not provide an answer to this.
 
Computer science news on Phys.org
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
19
Views
2K
  • · Replies 35 ·
2
Replies
35
Views
5K
  • · Replies 41 ·
2
Replies
41
Views
6K
  • · Replies 5 ·
Replies
5
Views
4K
Replies
17
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
8
Views
3K