I've assembled many Access 2003 db's on Windows XP. They all perform a multitude of If Thens that are used to compare string variables such as strRptNm with "ChargeOffs".
If strRptNm = "ChargeOffs" Then
End if
Converting the db to 2010 is causing the If Then to fail. I can rewrite the code, and use strComp but it seems that this is an odd error. Odd in that not all If Thens fail, for example, using If Then to compare MyDate with Date() works correctly.
Is there something with 2010 that is so different from 2003 that I need to know about?
Compiles without error, and references are OK, I sure dont want to start from scratch on these, nor do I want to pull them apart piece by piece and rebuild them. I'm hoping for a quick fix. Anyone else have a similair issue?
Thank you
If strRptNm = "ChargeOffs" Then
End if
Converting the db to 2010 is causing the If Then to fail. I can rewrite the code, and use strComp but it seems that this is an odd error. Odd in that not all If Thens fail, for example, using If Then to compare MyDate with Date() works correctly.
Is there something with 2010 that is so different from 2003 that I need to know about?
Compiles without error, and references are OK, I sure dont want to start from scratch on these, nor do I want to pull them apart piece by piece and rebuild them. I'm hoping for a quick fix. Anyone else have a similair issue?
Thank you