Can you share a simple reproducible case of this? (I mean attach a database that behaves differently in V2304 vs V2305).holder = Me![Dam]
This is the line that generates the error.
I currently have two builds running side by side on different machines.
On 2304 - 16327.20248, this does not happen.
On 2306 - 16529.20064 this does happen.
Nothing else has changed.
By saying you were 'able to find a work-around', do you mean you think there is a bug? Or was there really a 'data mis-match'?I am working with Build 16.0.16227.20202 (64 bit) and now some of my SELECT DISTINCT queries are thowing a "data mis-match" error. Took me a while to figure it out but I was able to find a work-around.
Gotta LOVE MicroSoft.
Absolutely, thanks for the offer. I'm away from my desk at the moment but I will give some details when I get back to it.By saying you were 'able to find a work-around', do you mean you think there is a bug? Or was there really a 'data mis-match'?
Can you provide an example of what wasn't working that you thought should have worked? Or are you just saying that the error message wasn't helpful?
Shane
By saying you were 'able to find a work-around', do you mean you think there is a bug? Or was there really a 'data mis-match'?
Can you provide an example of what wasn't working that you thought should have worked? Or are you just saying that the error message wasn't helpful?
Shane
SELECT DISTINCT DateSerial(Year([CLIN Due Date]),Month([CLIN Due Date]),1) AS WorkDates
FROM t_CLIN_Data
WHERE (((DateSerial(Year([CLIN Due Date]),Month([CLIN Due Date]),1))>=DLookUp("[DueDate]","[t_OTD_Date]")))
ORDER BY DateSerial(Year([CLIN Due Date]),Month([CLIN Due Date]),1);
SELECT DISTINCT FirstDayOfMonth([CLIN Due Date]) AS WorkDates
FROM t_CLIN_Data
WHERE (((t_CLIN_Data.[CLIN Due Date])>=DLookUp("[DueDate]","[t_OTD_Date]")));
Public Function FirstDayOfMonth(dte As Date) As Date
FirstDayOfMonth = DateSerial(Year(dte), Month(dte), 1)
End Function
Here is the original query:
Code:SELECT DISTINCT DateSerial(Year([CLIN Due Date]),Month([CLIN Due Date]),1) AS WorkDates FROM t_CLIN_Data WHERE (((DateSerial(Year([CLIN Due Date]),Month([CLIN Due Date]),1))>=DLookUp("[DueDate]","[t_OTD_Date]"))) ORDER BY DateSerial(Year([CLIN Due Date]),Month([CLIN Due Date]),1);
Hope this answers your question, if not please ask.
Can you share a simple reproducible case of this? (I mean attach a database that behaves differently in V2304 vs V2305).
It has never been allowed to assign Null to a strong variable in VBA.
Dim x as String
x = Null
will fail in any build, v2304, v2305, v2306 or any older build, this is the behavior that has always existed, so I'm not sure I understand what you are reporting.
Shane
Here you go...I can't reproduce the error using a table with the specified structure, and the query (I also created a t_OTD_Date table with a DueDate Column of type Date/Time to make the query work). Is there any chance you could provide me with a database that shows the problem? Perhaps the problem only occurs with a specific set of data, or I'm not recreating the scenario properly. I understand if you can't share actual data, but if something broke between one version and the next, we'd certainly like to address that.
lol. Shit...moment.@NauticalGent
The DB contain links. To test, need the actual tables
now I have to take back what I said about MS..
@tommyboy
I don't see how anyone can advise with your latest findings as we don't know what happens in your startup code
I can only suggest that something may have changed in one or more of the various settings in Access Options in v2304 to cause this behaviour
I recommend you go through each setting systematically in v2303 & 2304 to determine what the difference(s) are
Suggest you look in
- Access Options (compare settings in the latest version with those in v2303 or earlier)
- Code in the Form Open/Load/Activate/Current events of your startup form (if you have one)
- Code in an autoexec macro (e.g. anything setting startup properties)
HiSuggest you look in
- Access Options (compare settings in the latest version with those in v2303 or earlier)
- Code in the Form Open/Load/Activate/Current/Timer events of your startup form (if you have one)
- Code in an autoexec macro (e.g. anything setting startup properties)