G
Guest
I am very new to MS-Access and have what may be a simple question..
I have two tables both contain records with account numbers and service dates. Records may have duplicate account numbers but when that happens the service date field in each record will differ. Both tables should have records with the same account numbers and service dates as each other. For example, if Table A contains account number 100005678 with service date 10/10/2002 then Table B will have one record with the same account number and service date
My problem is that the service date fields include both a date and a time but the time part does not alway match between the two tables. The time is not important and I need to be able to either ignore the time or strip it from both tables altogether if that is possible. The account number and service date combination are the only data elements in the records that can be used together in order to find an exact match between the records in each table. I haven't been able to make this work though because the time difference causes my queries to not find the matching records when the time differs. The query sees those fields as not being in agreement with one another
Is there an easy way for me to compare only on the date without worrying about the time difference
Thanks
David
I have two tables both contain records with account numbers and service dates. Records may have duplicate account numbers but when that happens the service date field in each record will differ. Both tables should have records with the same account numbers and service dates as each other. For example, if Table A contains account number 100005678 with service date 10/10/2002 then Table B will have one record with the same account number and service date
My problem is that the service date fields include both a date and a time but the time part does not alway match between the two tables. The time is not important and I need to be able to either ignore the time or strip it from both tables altogether if that is possible. The account number and service date combination are the only data elements in the records that can be used together in order to find an exact match between the records in each table. I haven't been able to make this work though because the time difference causes my queries to not find the matching records when the time differs. The query sees those fields as not being in agreement with one another
Is there an easy way for me to compare only on the date without worrying about the time difference
Thanks
David