Hi every1,
I have to create a macro to automate some procedures. I know some bits of it but sometimes I'm just confused.
The macro should:
1. run query (the query will create table tblDatesDifferences)
2. open table tblDatesDifferences
3. add new column
4. rename column for EndDate
5. change the data type for DATE/ TIME
6. delete the vary first record.
7. save changes
8. open table tblWorks
9. copy all data from column EndDate
10. open tblDatesDifferences
11. past data to column EndDate
12. delete vary last record
13. save changes
14. open report (which is based on the qNumberOfDaysBetweenWorks)
and after the report is printed or closed
15. delete table tblDatesDifferences
I tried to do it but I stacked on the renaming the column.
Thanks in advance!
I have to create a macro to automate some procedures. I know some bits of it but sometimes I'm just confused.
The macro should:
1. run query (the query will create table tblDatesDifferences)
2. open table tblDatesDifferences
3. add new column
4. rename column for EndDate
5. change the data type for DATE/ TIME
6. delete the vary first record.
7. save changes
8. open table tblWorks
9. copy all data from column EndDate
10. open tblDatesDifferences
11. past data to column EndDate
12. delete vary last record
13. save changes
14. open report (which is based on the qNumberOfDaysBetweenWorks)
and after the report is printed or closed
15. delete table tblDatesDifferences
I tried to do it but I stacked on the renaming the column.
Thanks in advance!