B
bymarce
I have a catalog of samples that is updated frequently. I would like to
write a macro to output the new entrys to excell every week as a backup. I
made a "make table query" that gets all records from the last week. My macro
currently has 4 lines OpenQuery, Close, Output to, and Set Value. I trying
to use setvalue to set to put todays date in a form. Then I want to use that
date to determine when the macro needs to run (if that date is less than or
equal to todays date -7 run the macro). I can't get the setvalue part of the
macro to work. I used the expression builder for the item line of macro but
it says it can't find that form. The expression is [Forms]![MLOBACKUP Date
Table]![Backup Date]. I first tried it as a table but it couldn't find the
table so I made a form from the table and it still doesn't work. I've seen
sugestions in other posts to use the task scheduler for this type of thing
but the database is on a network and needs to backup independantly of my
computer. Thanks for taking the time to read this whole post.
bymarce
write a macro to output the new entrys to excell every week as a backup. I
made a "make table query" that gets all records from the last week. My macro
currently has 4 lines OpenQuery, Close, Output to, and Set Value. I trying
to use setvalue to set to put todays date in a form. Then I want to use that
date to determine when the macro needs to run (if that date is less than or
equal to todays date -7 run the macro). I can't get the setvalue part of the
macro to work. I used the expression builder for the item line of macro but
it says it can't find that form. The expression is [Forms]![MLOBACKUP Date
Table]![Backup Date]. I first tried it as a table but it couldn't find the
table so I made a form from the table and it still doesn't work. I've seen
sugestions in other posts to use the task scheduler for this type of thing
but the database is on a network and needs to backup independantly of my
computer. Thanks for taking the time to read this whole post.
bymarce