Am I missing something?
Just use Find and Replace...
Main Topics
Browse All TopicsI have the following query in an Access database
TRANSFORM Sum(FrackMonthlyReport.Amo
SELECT Dealers.DlrNumber, Dealers.DlrName
FROM FrackMonthlyReport INNER JOIN Dealers ON FrackMonthlyReport.DlrNum = Dealers.DlrNumber
WHERE (((FrackMonthlyReport.Mont
GROUP BY Dealers.DlrNumber, Dealers.DlrName
ORDER BY Dealers.DlrNumber, FrackMonthlyReport.MonthYr
PIVOT FrackMonthlyReport.MonthYr
How do I change the "Sep 08" and "Sep 09" values from VB6
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
The 'Sep 09' is a simple text field. I want to use VB6 code to substitute 'Oct 09' at the end of this month. I know how to change Field Names of the individual tables but have not found how to change a SQL string within a query. I am going to use the query to generate an Excel file which will be a report comparing sales data between this year and last year.
But still, using "Sep 09" as a criteria is a Non-standard approach, because the criteria should be from separate Month and Year fields.
In your case you had to have built an extra field in the query to accept this "Value".
In a standard query this would not be needed.
Finally, "Sep", is not the standard abbreviations for September.
The standard abbreviations is "Sept."
See here:
http://library.princeton.e
So in your system, if a person typed the "Correct" abbreviation ("Sept", or even more technically, "Sept."), they would get the incorrect result.
Just FYI
Correct once again.
;-)
I'll clarify:
If a person entered "Sept" or "Sept." because that is what they learned in school or because it was what they saw in a fair amount of Google hits, ...it wouldn't work.
Only "Sep" would work.
These would also fail:
Sep. 09
Sep 2009
Sep09
Sep.09
September 09
September 2009
Complicating things further is the fact that in some circles June and July are not abbreviated at all.
\O-o/
Basically, I was trying to say that the Text Criteria "Sep 09" is nonstandard for many reasons outside of just this one.
;-)
JeffCoachman
Business Accounts
Answer for Membership
by: GRayLPosted on 2009-10-03 at 16:57:49ID: 25487583
Change them to what? BTW, the name of the query please.