473,498 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Text to ascii values change in summary query

2 New Member
I'm running a simple summary query. Prior to summarizing values in three columns I get the text values (i.e., "Medicare") for column 1. If I summarize I get "䄂˜" in place of the original text values.

Using Access 2003, SP2 under WinXP

The query:
SELECT Qtr_Report_In_County01.Memo, Qtr_Report_In_County01.Program, Qtr_Report_In_County01.Units
FROM Qtr_Report_In_County01
GROUP BY Qtr_Report_In_County01.Memo, Qtr_Report_In_County01.Program, Qtr_Report_In_County01.Units;

Sample rows being summarized:
Memo Program Units
Medicaid Crisis Intervention 2
1st/3rd Party CSP - Child 10


I'd work-around by taking the data out to excel, but my source is > 88k rows and over the 65k limit.

tia for any leads.

Dave Ebert
Nov 14 '06 #1
4 2204
willakawill
1,646 Top Contributor
I'm running a simple summary query. Prior to summarizing values in three columns I get the text values (i.e., "Medicare") for column 1. If I summarize I get "䄂" in place of the original text values.

Using Access 2003, SP2 under WinXP

The query:
SELECT Qtr_Report_In_County01.Memo, Qtr_Report_In_County01.Program, Qtr_Report_In_County01.Units
FROM Qtr_Report_In_County01
GROUP BY Qtr_Report_In_County01.Memo, Qtr_Report_In_County01.Program, Qtr_Report_In_County01.Units;

Sample rows being summarized:
Memo Program Units
Medicaid Crisis Intervention 2
1st/3rd Party CSP - Child 10


I'd work-around by taking the data out to excel, but my source is > 88k rows and over the 65k limit.

tia for any leads.

Dave Ebert
Hi Dave
Try this
SELECT Qtr_Report_In_County01.Memo, Qtr_Report_In_County01.Program, SUM(Qtr_Report_In_County01.Units)
FROM Qtr_Report_In_County01
GROUP BY Qtr_Report_In_County01.Memo, Qtr_Report_In_County01.Program;
Nov 14 '06 #2
MMcCarthy
14,534 Recognized Expert Moderator MVP
Hi Dave

You've called your first field memo. Is it by any chance a memo data type. They often seem to cause problems in queries.

Other than that the main reason that ascii values get returned is because there are characters like carriage returns in the text. If you're not sure take some sample text out to notepad with the word wrap switched off it should all just appear as one line. If not then you will need to remove the line down characters. Find and replace should do it.
Nov 15 '06 #3
debert254
2 New Member
Thanks, it turns out the field was indeed a MEMO type. Changing it to text fixed my problem.

Thanks again.

Hi Dave

You've called your first field memo. Is it by any chance a memo data type. They often seem to cause problems in queries.

Other than that the main reason that ascii values get returned is because there are characters like carriage returns in the text. If you're not sure take some sample text out to notepad with the word wrap switched off it should all just appear as one line. If not then you will need to remove the line down characters. Find and replace should do it.
Nov 15 '06 #4
MMcCarthy
14,534 Recognized Expert Moderator MVP
Thanks, it turns out the field was indeed a MEMO type. Changing it to text fixed my problem.

Thanks again.
You're welcome.
Nov 15 '06 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
3467
by: Tron Thomas | last post by:
What does binary mode for an ofstream object do anyway? Despite which mode the stream uses, operator << writes numeric value as their ASCII representation. I read on the Internet that it is...
9
4741
by: Pam Ammond | last post by:
I need the code to update the database when Save is clicked and a text field has changed. This should be very easy since I used Microsoft's wizards for the OleDBAdapter and OleDBConnection, and...
4
2583
by: Arif imen | last post by:
Hi to everybody, I have chnged a button text in design mode. But After compiling and executing the program the text of the button do not change to new value. Any Ideas? Thaks for helps.
10
3622
by: joelagnel | last post by:
hi friends, i've been having this confusion for about a year, i want to know the exact difference between text and binary files. using the fwrite function in c, i wrote 2 bytes of integers in...
13
14224
by: Martin Herbert Dietze | last post by:
Hi, I need to calculate the physical length of text in a text input. The term "physical" means in this context, that I consider 7bit-Ascii as one-byte-per character. Other characters may be...
17
11748
by: Gregor Kovač | last post by:
Hi! Does DB2 handle extended ASCII table? Example: VALUES(CHR(65)) =A VALUES(CHR(129)) =null, but according to www.asciitable.com should be u with umlaut. Any idea ?
1
1524
by: apotheos | last post by:
So I've got a problem. I've got a database of information that is encoded in Windows/CP1252. What I want to do is dump this to a UTF-8 encoded text file (a RSS feed). While the overall...
7
1748
by: sparks | last post by:
I am working on a database that has a lot of calculated values on the forms. These were never put into the tables. But were tied to unbound fields on the forms. Now 8000 records later they want...
0
2707
by: JamesOo | last post by:
I have the code below, but I need to make it searchable in query table, below code only allowed seach the table which in show mdb only. (i.e. have 3 table, but only can search either one only,...
0
7125
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7002
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
6887
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5462
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...
1
4910
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3085
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1419
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
656
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
291
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.