JessicaVdb
Registered User.
- Local time
- Tomorrow, 00:07
- Joined
- Jul 4, 2017
- Messages
- 32
Thought I may as well upload where I've got to.
As I said previously, when I gave up last night I had the names on the report but not the values.
I've made one further change - remember I said to use the same SQL for the report record source - I've changed it to a crosstab query & I now get names & values AND no parameter messages. Hooray.
However its not filtered so you get blank rows.
When I filtered the source query, it failed again
Also to repeat what I said originally, you do NOT need to use the PARAMETERS line in strSQL statement.
I realise I'm saying the EXACT opposite of Minty here
In fact if you do include it, you'll get another error
My code includes various versions of strSQL statment - all had issues....
I've been using dynamic crosstab queries for many years - many far more complex than this one - and I've never had this issue before.
So you 'just' need to sort the filtering and you're done
Sorry I can't quite fix the problem - hopefully you will be able to do so
(or perhaps someone else may join in the fun and games....)
My gut feeling is that your source data is the problem
Thank you!
I'm realy greatfull you found this already.