I have an access query that makes a table. One of the fields is selective using the following code:
future_date: IIf([TERMINATION_DATE]>Now()+3,"",[TERMINATION_DATE])
which basically returns blank if a date in the TERMINATION_DATE field is greater than 3 days in advance of today.
I did want to be able to call this field the same title - TERMINATION_DATE, because other queries use this table again, but I get a circular reference error if I do.
Therefore I want to change it after I have made the table with the 'future_date' field in it. I have been trying to incorporate code in to the module like:
ALTER TABLE [tblName] ALTER FIELDNAME [future_date] = [TERMINATION_DATE]
but it won't have it.
Any suggestions?
future_date: IIf([TERMINATION_DATE]>Now()+3,"",[TERMINATION_DATE])
which basically returns blank if a date in the TERMINATION_DATE field is greater than 3 days in advance of today.
I did want to be able to call this field the same title - TERMINATION_DATE, because other queries use this table again, but I get a circular reference error if I do.
Therefore I want to change it after I have made the table with the 'future_date' field in it. I have been trying to incorporate code in to the module like:
ALTER TABLE [tblName] ALTER FIELDNAME [future_date] = [TERMINATION_DATE]
but it won't have it.
Any suggestions?