L
loucappozzoli
I have a database to keep track of our clients with 2 tables.
1st table is current clients
2nd table is expired clients
Both share the same fields names ect to make cut and pasting easier.
I want to run a macro that I can press a button, it'll open up the 1st
table in datasheet view, edit mode, then check the expiration date
fields against the current date and show only those client records
that are expired. Then I wish the macro to cut the record from the
current table to the expired table thereby deleting it from current
and moving it to expired.
I have the first part set up as
Action Argument
OpenTable 1stTable, Datasheet, Table
ApplyFilter 1stTable!EXP DATE <Date()
and that's where I get stuck. It'll open the 1st table and show the
records I want to cut and paste and I cannot for the life of me figure
out how to start the cut and paste process. Can anyone help me with
this? Thanks in advance.
1st table is current clients
2nd table is expired clients
Both share the same fields names ect to make cut and pasting easier.
I want to run a macro that I can press a button, it'll open up the 1st
table in datasheet view, edit mode, then check the expiration date
fields against the current date and show only those client records
that are expired. Then I wish the macro to cut the record from the
current table to the expired table thereby deleting it from current
and moving it to expired.
I have the first part set up as
Action Argument
OpenTable 1stTable, Datasheet, Table
ApplyFilter 1stTable!EXP DATE <Date()
and that's where I get stuck. It'll open the 1st table and show the
records I want to cut and paste and I cannot for the life of me figure
out how to start the cut and paste process. Can anyone help me with
this? Thanks in advance.