D
Dustin B
I have a linked table that I pull info from. The problem is that he source
is not something I can control (.CSV file downloaded from a vendor). The
date from the vendor's CSV file is just mm/dd. What I did to get past this
is to make the field properties for this field text and then concantinate
this text file with Format(Date(), "YY"). This works but now I can't do any
calculations on the date say add three to it. I have tried using CVDate in
the below and in a query of the new event date. I am either not using
something properly or the way I am going about this is wrong. Any help would
be appreciated.
Field in a query to add yy to the end of the bad date that only has mm/dd:
New Event Date: IIf([Trace Results]![EVENT DATE]<>"",[Trace Results]![EVENT
DATE] & Format(Date(),"/yy"),"")
Attempts to add days to the result of the above field resulting in type
mismatch:
ETA: CVDate([qryMakeTraceDateFormat]![Event Date])+[tblTransits]![Transit]
[tblTransits]![Transit] = 1-12
ETA: [qryMakeTraceDateFormat]![Event Date]+10
ETA: CVDate([qryMakeTraceDateFormat]![Event Date])+10
is not something I can control (.CSV file downloaded from a vendor). The
date from the vendor's CSV file is just mm/dd. What I did to get past this
is to make the field properties for this field text and then concantinate
this text file with Format(Date(), "YY"). This works but now I can't do any
calculations on the date say add three to it. I have tried using CVDate in
the below and in a query of the new event date. I am either not using
something properly or the way I am going about this is wrong. Any help would
be appreciated.
Field in a query to add yy to the end of the bad date that only has mm/dd:
New Event Date: IIf([Trace Results]![EVENT DATE]<>"",[Trace Results]![EVENT
DATE] & Format(Date(),"/yy"),"")
Attempts to add days to the result of the above field resulting in type
mismatch:
ETA: CVDate([qryMakeTraceDateFormat]![Event Date])+[tblTransits]![Transit]
[tblTransits]![Transit] = 1-12
ETA: [qryMakeTraceDateFormat]![Event Date]+10
ETA: CVDate([qryMakeTraceDateFormat]![Event Date])+10